Is there a tool or script that can unalign a bam file and output the unaligned bam? Thank you :)
• 1 views
•
link
Have a look at samtools bam2fq
As said, convert the bam to fastq and re-align with whatever tool you are interested in. Keep in mind about Paired-End, soft/hard clipping etc while converting to fastq.
Or tell what is meant by unaligned bam? Do you mean to say extract unaligned reads from bam?
Log in to answer this question.