This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Mapping to a single Chromosome Tophat

I have a data set which relates to all the chromosomes which has been mapped to a whole genome using Tophat so this eventually produces mapped reads, but for all the chromosomes,

from these mapped reads output from tophat how do I obtain, the reads mapped to only one chromosome say chromomosome 1 only?

galaxy rna-seq tophat

2 answers

This has been asked and answered before, use samtools.

See e.g.,

How to generate a .sam/.bam file of a particular chromosome or even a particular region?

Since you used the Galaxy tag, I'll assume that you're doing this in Galaxy. In that case, you can use the "Filter SAM or BAM, output SAM or BAM" tool.

Log in to answer this question.