View Single Post
Old 07-05-2013, 07:37 AM   #1
nickschurch
Junior Member
 
Location: Aberdeen

Join Date: Jul 2012
Posts: 6
Default Switch strands of a bam file...

I have a bam file where the strand information has been unintentionally reversed. Is there an easy command in samtools for switching the strand information for every read? If not, what is the best way to do this? I guess I could loop though each read in python and switching the bit flag, but I really don't want to have to code this myself if there is a better (read faster) solution...
nickschurch is offline   Reply With Quote