Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paolo.kunder
    Member
    • Aug 2011
    • 93

    #1

    how to filter a bam file

    Dear All,
    I am facing a problem with huge rRNA and globin RNA contamination in my SOLiD data (colour space format csfasta)
    I would like now to get rid of this reads in my csfasta files or in my bam file ( I used tophat to align).
    I s there a way to delete those reads from either the files?
    Any suggestions will be appreciated,
    Paolo
  • arvid
    Senior Member
    • Jul 2011
    • 156

    #2
    I like to do it with BEDTools; I use "intersectBed -v" to remove the reads mapping to rRNA regions (given in a GFF file).

    First get the GFF with rRNA regions:
    Code:
    grep -P "\trRNA\t" annotation.gff > rRNAs.gff
    You might need to adapt the matching pattern here, works fine with e.g. Arabidopsis TAIR10 GFF3.

    Then get all reads not intersecting with these regions:
    Code:
    intersectBed -v -abam tophat_aligned_reads.bam -b rRNAs.gff > tophat_aligned_reads_no_rRNAs.bam
    Last edited by arvid; 01-19-2012, 02:24 AM. Reason: esthetic

    Comment

    • paolo.kunder
      Member
      • Aug 2011
      • 93

      #3
      thanks for your help I get rid of my junk sequences!

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...