extract all the cigar sequences
1
0
Entering edit mode
6.7 years ago
KVC_bioinfo ▴ 600

hello all,

I want to extract all the cigar sequences from bam file and write them in a text file. Is anyone aware of any way to do this?

TIA

cigar • 3.0k views
ADD COMMENT
3
Entering edit mode
6.7 years ago
cschu181 ★ 2.8k
samtools view your_bamfile.bam | cut -f 6 > your_textfile.txt
ADD COMMENT
0
Entering edit mode

works perfectly. Thank you so much

ADD REPLY

Login before adding your answer.

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