using samtools view without a chromosome
0
0
Entering edit mode
3.3 years ago
mayalkaul • 0

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 • 645 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2226 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6