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
                  Exploring the Dynamics of the Tumor Microenvironment
                  by seqadmin




                  The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
                  07-08-2024, 03:19 PM
                • seqadmin
                  Exploring Human Diversity Through Large-Scale Omics
                  by seqadmin


                  In 2003, researchers from the Human Genome Project (HGP) announced the most comprehensive genome to date1. Although the genome wasn’t fully completed until nearly 20 years later2, numerous large-scale projects, such as the International HapMap Project and 1000 Genomes Project, continued the HGP's work, capturing extensive variation and genomic diversity within humans. Recently, newer initiatives have significantly increased in scale and expanded beyond genomics, offering a more detailed...
                  06-25-2024, 06:43 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by seqadmin, 07-19-2024, 07:20 AM
                0 responses
                32 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 07-16-2024, 05:49 AM
                0 responses
                42 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 07-15-2024, 06:53 AM
                0 responses
                52 views
                0 likes
                Last Post seqadmin  
                Started by seqadmin, 07-10-2024, 07:30 AM
                0 responses
                43 views
                0 likes
                Last Post seqadmin  
                Working...
                X