This is a test version of Biostars. For the public version, visit https://www.biostars.org.
remove low number of reads from BAM file

Dear All,

I want to remove low number of reads from alignment BAM file. How can I do that?

alignment rna-seq genome gene

Please elaborate what you mean by "low number of reads". Are these reads with low mapping quality ?

Hi, I am looking my alignment file on Artemis. I have seen low mapping quality (low number of reads per an exon). I don't know how to explain this. For example, There is only one read per an exon, which affects my gene statistics obtained by using RNAseq hints. I used Augustus for gene prediction.

Hi again, I want to remove low coverage maps from BAM file. How can I do that?

1 answer

  • Use GATK DepthofCoverage to get the coverage of the bam
  • Get a BED file of the high-cov regions
  • Use samtools view to extract the reads overlapping the BED file.

Log in to answer this question.