-
Notifications
You must be signed in to change notification settings - Fork 6
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
Supplementary reads not processed - aligned_bam_to_cpg_scores #46
Comments
Thanks @Audald - I suppose this must be from supplementary reads with hard-clipping? If so, the bam spec doesn't provide much on how hard-clip and methylation tags should interact. By my reading, once hard-clipping is introduced there's no way the MM/ML tags could be interpretable unless they were clipped as well. Can I ask what read mapper and settings you're using for this case? |
More discussion on this topic here: Looks like to avoid this issue you need to add the |
Thanks @ctsa for looking into this. The |
Sounds good. Updated readme: https://github.com/PacificBiosciences/pb-CpG-tools#input-alignment-file Closing this issue as explained. |
CRAM/BAM files with supplementary reads cannot be processed by
aligned_bam_to_cpg_scores
(both for version2.2
and2.3
). The job is immediately stopped with the errorthread '<unnamed>' panicked at 'Read sequence is too short for MM tag in record: {qname}'
.The BED and BigWig files are successfully generated if the secondary and supplementary alignments are filtered out from the CRAM/BAM files with
-F 2308
.I am reporting this issue in case you want to consider filtering as a user option.
The text was updated successfully, but these errors were encountered: