Subject: [Seqan-dev] problem to use BamRecordToAlignment
Hello,
I think I have a basic question, sorry in advance. I don't understand what is suppose to contain "references" of a record from the methods BamRecordToAlignment().
Reference is suppose to contain : "The string with the reference that record lies on."
if (record.rID != BamAlignmentRecord::INVALID_REFID) bamRecordToAlignment(align, references[record.rID], record); }
I try a lot of think for the variable "references", this is my last try. Because references is of type Dna5String. I try a lot of things (most of time absurd things) and I obtain always this error : seqan-src/include/seqan/sequence/string_base.h:429 Assertion failed : static_cast<TStringPos>(pos) < static_cast<TStringPos>(length(me)) was: 1 >= 1 (Trying to access an element behind the last one!) Aborted (core dumped)
I think the problem come from my variable references, could you explain me what is it suppose to contain ?