Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

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

    Why do you say you have contaminants?

    Comment


    • #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


      • #4
        Hi hanshart,

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

        Comment


        • #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


          • #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


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

              Comment


              • #8
                Thank you all. Were of great help!

                Comment

                Latest Articles

                Collapse

                • seqadmin
                  Current Approaches to Protein Sequencing
                  by seqadmin


                  Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                  04-04-2024, 04:25 PM
                • seqadmin
                  Strategies for Sequencing Challenging Samples
                  by seqadmin


                  Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                  03-22-2024, 06:39 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by seqadmin, 04-11-2024, 12:08 PM
                0 responses
                30 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 04-10-2024, 10:19 PM
                0 responses
                32 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 04-10-2024, 09:21 AM
                0 responses
                28 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 04-04-2024, 09:00 AM
                0 responses
                53 views
                0 likes
                Last Post seqadmin  
                Working...
                X