Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Filtering rRNA out using Bowtie2

    Hello experienced colleagues,
    I'm trying to filter out ribosome-related reads from my Illumina (Casava 1.8) pair-read (100 bp) data. The data was pre-filtered with Trimmomatic (adapters and low quality reads were removed). Now all this stuff exists in 3 files: “left.fq”, “right.fq” and “unpaired.fq”. Ribosome sequences are stored in the bowtie2-build “rRNA” base.

    The simplest story about Bowtie2 syntax is in case of unpaired reads:
    bowtie2 -p 8 --un /output/filt_unpaired.fq rRNA /input/unpaired.fq
    It works.

    But, more dramatic situation arises if I want to get filtered pair-reads in 2 separate files and additionally reads from broken during filtration pairs in a 3-d file.
    I'm trying to do the following:
    bowtie2 -p 8 -X 430 --un-conc /output/filt_pairs.fq rRNA -1 /input/left.fq -2 /input/right.fq
    But, bowtie2 outputs just concordant pairs in 2 files... broken pairs are lost.
    How to get them?

  • #2
    did you find a solution to this problem? I'm going to attempt to trim with trimmomatic and then filter rRNA reads with bowtie2. Were you able to keep both the paired and unpaired reads?

    Comment


    • #3
      Have a look at RiboPicker:



      You can download the tool and rRNA databases. It uses a modified version of bwa-sw for alignment against a rRNA database and splits your (paired) reads into rRNA and non-rRNA.

      Boetsie

      Comment


      • #4
        Hello everyone. The --un-conc option outputs unconcordantly aligned pairs in two separate files, as you mention. The correct option for broken pairs is --un as before. include both flags in your statement


        Code:
        bowtie2 -p 8 -X 430 --un-conc /output/filt_pairs.fq --un /output/filt_single.fq rRNA -1 /input/left.fq -2 /input/right.fq
        will output the filtered pairs in /output/filt_pairs.fq.1 and /output/filt_pairs.fq.2

        and the single reads will be in /output/filt_single.fq

        Hope this helps.
        Cheers

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Recent Developments in Metagenomics
          by seqadmin





          Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
          09-23-2024, 06:35 AM
        • seqadmin
          Understanding Genetic Influence on Infectious Disease
          by seqadmin




          During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

          Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
          09-09-2024, 10:59 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-01-2024, 07:10 AM
        0 responses
        21 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-30-2024, 08:33 AM
        0 responses
        25 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-26-2024, 12:57 PM
        0 responses
        18 views
        0 likes
        Last Post seqadmin  
        Working...
        X