Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Guigra
    Member
    • Apr 2013
    • 17

    How to remove reads contaminants?

    I'm working with a genome of plant origin. By aligning with the genome sequences of chloroplast and mitochondrial realized that there are contaminants in sequencing.
    How to remove them?
  • jimmybee
    Senior Member
    • Sep 2010
    • 119

    #2
    What are you trying to do? Do you just want the cp and mtDNA?

    Why do you say you have contaminants?

    Comment

    • hanshart
      Member
      • Nov 2011
      • 27

      #3
      Originally posted by Guigra View Post
      ... realized that there are contaminants in sequencing. How to remove them?
      Hi Guigra,
      without deeply understanding of your problem: If you know the type of contaminant you can always build an index of its corresponding genome/identifier sequences and map all reads to this index at first. The unmapped reads can than be used for the mapping against the genome. But I'm not sure if this is the answer you were looking for.

      Comment

      • Guigra
        Member
        • Apr 2013
        • 17

        #4
        Hi hanshart,

        Is exactly what I want. How do I do that?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Making an index of the contaminats should be straightforward. Once you have the BAM files from those alignments you can recover the unmapped reads following the suggestions in these threads: http://seqanswers.com/forums/showthread.php?t=12283 and http://seqanswers.com/forums/showthread.php?t=30528

          Comment

          • hanshart
            Member
            • Nov 2011
            • 27

            #6
            An example for Bowtie:

            1. Determine the sequences of your contaminants and write them to a FASTA file like

            >seq1
            ACGT...
            >seq2
            GCAG...
            (or directly use an available FASTA describing your contaminants)

            2. Build a bowtie-index of this FASTA file in a folder called IDX or so:
            bowtie-build FASTA IDX/contaminants_idx
            3. Map your reads (READFILE) against this contaminants reference and extract unmapped reads (=non-contaminants) to a fastq file (NO_CONTAMINANTS.fastq) directly with the --un flag:
            bowtie --un NO_CONTAMINANTS.fastq IDX/contaminants_idx READFILE OUTPUTFILE
            The reads in NO_CONTAMINANTS.fastq can finally be mapped against the reference of interest

            A non-Bowtie way would be the same: 1. build index for contaminants, 2. map against this index, 3. extract unmapped reads from alignment file to a new fastq file and 4. use only those reads in the new file for the mapping against your reference.

            Comment

            • westerman
              Rick Westerman
              • Jun 2008
              • 1104

              #7
              As hanshart says, using bowtie (I actually use bowtie2) is a good -- and easy -- method.

              Comment

              • Guigra
                Member
                • Apr 2013
                • 17

                #8
                Thank you all. Were of great help!

                Comment

                Latest Articles

                Collapse

                • seqadmin
                  Pathogen Surveillance with Advanced Genomic Tools
                  by seqadmin




                  The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
                  03-24-2025, 11:48 AM
                • seqadmin
                  New Genomics Tools and Methods Shared at AGBT 2025
                  by seqadmin


                  This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                  The Headliner
                  The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                  03-03-2025, 01:39 PM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by seqadmin, 03-20-2025, 05:03 AM
                0 responses
                41 views
                0 reactions
                Last Post seqadmin  
                Started by seqadmin, 03-19-2025, 07:27 AM
                0 responses
                49 views
                0 reactions
                Last Post seqadmin  
                Started by seqadmin, 03-18-2025, 12:50 PM
                0 responses
                36 views
                0 reactions
                Last Post seqadmin  
                Started by seqadmin, 03-03-2025, 01:15 PM
                0 responses
                192 views
                0 reactions
                Last Post seqadmin  
                Working...