This is a test version of Biostars. For the public version, visit https://www.biostars.org.
using samtools view without a chromosome

Hi,

I'm trying to view the reads that overlap specific regions of a fasta file. I have a sorted bam file, and I want to use samtools view -r chr:start-stop to get the reads that overlap that area, but I do not have this organized in terms of chromosomes.

For a while I was using samtools view -r *:start-stop but the asterisk seems to make it ignore the specified stop/start, and it returns all the reads, instead of just the overlapping ones.

Thank you so much!

samtools reads alignment

So it used to work and stopped working just now? Is there a difference in the versions?

0 answers

No answers yet.

Log in to answer this question.