This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to convert a bam file into tsv file format?

Hi everyone

I just want to convert a bam file into tsv (tab separated value) file format.

I new to bioinformatics.

bam

Please do not repost a closed question because you didn't like the comments you got.

Hello malikbashirkhan2!

We believe that this post does not fit the main topic of this site.

as I said... use samtools

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

1 answer

BED is tab-delimited. You could use bam2bed:

$ bam2bed < reads.bam > reads.bed

I have tried a lot but can't successful then I started to take help.

Log in to answer this question.