-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Parse error with PacBio long reads #311
Comments
Is this the last line in your file? |
Sorry. Can you please clarify your question? |
I mean, is the offending line the last line in your file? It seems that the line you gave me is not complete. |
Ahh...I see what you meant. This is generated using: Thank you so much for your quick response. |
Could you send me the read and the reference genome? This is probably a bug. Thanks. |
I uploaded the reads: 4SQ1235_reads_fasta.tar.gz and the reference: cns_p_ctg.fasta here FYI, the error is not specific to this read as I tried different PacBio read file and it still generated the same error. Thanks. |
Thanks a lot. I have downloaded the data. Will have a look today or in the next couple of days. |
I failed to reproduce the issue. In my SAM, I see a CIGAR I still believe this is a bug, but I need the input from others to nail it down. For the moment, you may filter out that offending line. @armintoepfer have you seen a similar issue? |
@olechnwin did you run the following command line as it is? minimap2 -ax map-pb cns_p_ctg.fasta 4SQ1235_reads_fasta.tar.gz > 4SQ1235_reads_fasta.sam Note that your input reads are not gzip'd. It is tar -zvxf 4SQ1235_reads_fasta.tar.gz
minimap2 -ax map-pb cns_p_ctg.fasta reads.fasta | gzip -1 > output.sam.gz I will consider to improve error checking at some point. @armintoepfer problem solved. Sorry for the false alarm. |
@lh3 Thanks for looking into this. |
Thanks, @olechnwin. Let me know if you see similar issues. |
@lh3 sorry for the delay. I just want to let you know that everything works after extracting the filles. Thank you so much for your help. |
Thanks for the confirmation. |
Hello,
I am using minimap2 for mapping PacBio long reads.
Here is the command I ran:
minimap2 -ax map-pb cns_p_ctg.fasta 4SQ1235_reads_fasta.tar.gz > 4SQ1235_reads_fasta.sam
minimap ran to completion and produced a sam.
However, that sam file generated the following error when I ran samtools:
The samtools command I ran:
samtools view -hSF 256 4SQ1235_reads_fasta.sam > 4SQ1235_reads_fasta_priAlign.sam
Versions:
At first this error appear to be the same as issue #231. However, using the latest minimap seems to fix issue #231 but it didn't fix this error.
The offending line is attached:
error_sam.txt
Thank you!
The text was updated successfully, but these errors were encountered: