extract region from the bam file
0
0
Entering edit mode
5.4 years ago
9521ljh ▴ 50

i have sorted *.bam file and i want to extract particular regions mapping

i have .bed file

chr2 179390716 179695529
chr3 89825161 90460254
chr8 144939497 144952632



samtools view -b -L .bed *.bam > output

the output file have only NNNNNNNN, there's no reads. what is the problem? i already check if there position have reads or not.

assembly sequencing genome • 1.5k views
ADD COMMENT
0
Entering edit mode

.bed *.bam

These are your actual filenames?

ADD REPLY
0
Entering edit mode

Beside WouterDeCoster 's question: How have you checked the output?

ADD REPLY
0
Entering edit mode

Yes. the output just enumerate All NNNNNNNNNNNNNNNNNNNNNNN

ADD REPLY
0
Entering edit mode

I have asked for the command you used for checking the content and not how the content looks like :)

Also, please answer the question by Wouter.

ADD REPLY
0
Entering edit mode

And another question: how did you get this bam file?

You'll need to share more information, we cannot guess what happened and cannot see your screen.

ADD REPLY

Login before adding your answer.

Traffic: 1641 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