This is a test version of Biostars. For the public version, visit https://www.biostars.org.
converting Accepted_hits.bam to txt or bed

Sorry friends,

How can I convert the accepted_hits.bam produced by tophat to txt and bed?

Thank you

bam bed

2 answers

Sorry the accepted_hits.bam produced by tophat is the same normal bam which can be converted by bedtools to bed file?

Honestly speaking I have never tried it but I see no reason why it won't work with bedtools.

thank you Ashutos

Another option is BEDOPS bam2bed:

http://bedops.readthedocs.org/en/latest/content/reference/file-management/conversion/bam2bed.html

Log in to answer this question.