Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension alignments longer than 2000 bp #170

Open
marcelm opened this issue Dec 5, 2022 · 0 comments
Open

Extension alignments longer than 2000 bp #170

marcelm opened this issue Dec 5, 2022 · 0 comments

Comments

@marcelm
Copy link
Collaborator

marcelm commented Dec 5, 2022

Sometimes ssw_align() is asked to compute an alignment for a reference sequence longer than 2000 bp here:

strobealign/src/aln.cpp

Lines 35 to 43 in 8d3ef7e

if (ref.length() > 2000){
// std::cerr << "ALIGNMENT TO REF LONGER THAN 2000bp - REPORT TO DEVELOPER. Happened for read: " << query << " ref len:" << ref.length() << std::endl;
aln.global_ed = 100000;
aln.ed = 100000;
aln.ref_offset = 0;
aln.cigar = "*";
aln.sw_score = -1000000;
return aln;
}

This gets triggered in the Drosophila test dataset for read @SRR6055476.50009. The chunk needs to start a couple of reads earlier. Putting reads @SRR6055476.50004 to @SRR6055476.50009 (paired end) in paired-end FASTQ files reproduces it reliably.

As discussed in #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant