You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if others have had this issue, but the naming convention of fused reads in whale_merge.py can be problematic for htslib/samtools.
Samtools throws the error:
[E::sam_parse1] query name too long
[W::sam_read1] Parse error at line 281431
[main_samview] truncated file.
This also affects other tools that rely on samtools.
This seems to occur when multiple reads are fused together and are named with XX|YY|ZZ... and the length of the query exceeds 251 characters as described here: pysam-developers/pysam#447
A possible solution would be to slice the FASTQ name to 250 characters or fewer.
Thanks,
dave
The text was updated successfully, but these errors were encountered:
Hi there,
I'm not sure if others have had this issue, but the naming convention of fused reads in whale_merge.py can be problematic for htslib/samtools.
Samtools throws the error:
This also affects other tools that rely on samtools.
This seems to occur when multiple reads are fused together and are named with XX|YY|ZZ... and the length of the query exceeds 251 characters as described here: pysam-developers/pysam#447
A possible solution would be to slice the FASTQ name to 250 characters or fewer.
Thanks,
dave
The text was updated successfully, but these errors were encountered: