-
Notifications
You must be signed in to change notification settings - Fork 4
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
SAM format screwup #9
Comments
added +1 to coordinates, now I still have the same warning. and also this: [E::sam_parse1] CIGAR and query sequence are of different length |
Thank you for reporting. |
this is probably related; the location is reported to be INT_MAX: 611456 0 32008 4294967294 50 .... many more occurrences of INT_MAX like this. |
use this: https://genome.sph.umich.edu/wiki/BamUtil:_validate many occurrences of: Record 15831 also 3 CIGAR fails according to the summary: Number of records read = 4614502 Error Counts: |
Could you try the latest version on master and check if the problem persists? |
CIGAR error is gone but this one is still here: Record 953384 Record 1002084 |
Hi Can, This issue should be fixed now. Can you confirm? |
after generating SAM with lordfast, trying to convert to BAM:
[W::sam_parse1] mapped query cannot have zero coordinate; treated as unmapped
....
25479 272 22816 0 50 54M * 0 0 TATATCGATATCTACACTCTAGATGCTCATGCTAGTCTCACAGCGACAGCTCAT * AS:i:0
12838 272 47754 0 50 60M * 0 0 CGAGTGATATGCAGTGAGCGAGATCACGCACTGCACAGCTGAGCAGAGCAGACTCATCTC * AS:i:0
and so on. Are you reporting map location 0-based? SAM defines it as 1-based; BAM as 0-based
The text was updated successfully, but these errors were encountered: