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

missing quality values stop certain tools #799

Closed
tolot27 opened this issue Dec 4, 2019 · 1 comment · Fixed by #800
Closed

missing quality values stop certain tools #799

tolot27 opened this issue Dec 4, 2019 · 1 comment · Fixed by #800

Comments

@tolot27
Copy link
Contributor

tolot27 commented Dec 4, 2019

If a sam/bam file contains alignments without quality values (column 11 = *), certain tools (i. e. bamtofastq) stop at those alignments and do not produce any futher output. No error message is reported.

A typical sam/bam file without quality values can be produced by mapping fasta sequences to a reference instead of fastq sequences.

@tolot27
Copy link
Contributor Author

tolot27 commented Dec 4, 2019

The root cause of the issue is https://github.com/arq5x/bedtools2/blob/master/src/utils/BamTools/include/BamAlignment.hpp#L182 where an invalid quality score is assigned to each position during loading of the alignment.

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

Successfully merging a pull request may close this issue.

1 participant