filter bam file by locus/region/chromosome Sort bam file Index bam file Filter by region: samtools view -b tophat_out/accepted_hits_sorted.bam 22 > tophat_out/accepted_hits_chr22.bam Reference genome was Ensembl GRCh37, therefore chromosome identifier is just ’22’. Share it