This is a test version of Biostars. For the public version, visit https://www.biostars.org.
samtools query name length error

Does anyone know how to get around the query name too long error of samtools ? The reads in my header files are long and it causes this error when trying to use samtools view to convert sam to bam.

samtools sequencing alignment software error

Thanks! Do you know what the solution is? The reads were generated by the BBTools simulator randomreads.sh) and for some reason it generates reads with names that aren't compatible with samtools.

Is there some way to get around this in samtools?

Or a quick fix to shorten the read names without losing the info in them?

Hello dp!

Questions similar to yours can already be found at:

We have closed your question to allow us to keep similar content in the same thread.

If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.

Cheers!

PS: Next time please wait for a response rather then posting a new question on the same problem.

0 answers

No answers yet.

Log in to answer this question.