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
samtools view your_bamfile.bam | cut -f 6 > your_textfile.txt
works perfectly. Thank you so much
Log in to answer this question.