Skip to content

Commit

Permalink
resolve queryspan assert
Browse files Browse the repository at this point in the history
  • Loading branch information
MBoemo committed May 9, 2024
1 parent 8df2a83 commit 286d5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ std::shared_ptr<AlignedRead> eventalign( read &r, unsigned int totalWindowLength
ar -> stdout += ">" + r.readID + " " + r.referenceMappedTo + " " + std::to_string(r.refStart) + " " + std::to_string(r.refEnd) + " " + strand + "\n";

unsigned int posOnRef = 0;
while ( posOnRef < r.referenceSeqMappedTo.size() ){
while ( posOnRef < r.referenceSeqMappedTo.size() - k + 1){

//adjust so we can get the last bit of the read if it doesn't line up with the windows nicely
unsigned int basesToEnd = r.referenceSeqMappedTo.size() - posOnRef ;
Expand Down

0 comments on commit 286d5ff

Please sign in to comment.