Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • megster
    Junior Member
    • Mar 2014
    • 2

    #1

    Very high coverage w/Ion Torrent

    Hi, just want to say that I'm a total newb so bear with me!

    I have some bacterial WGS data from Ion Torrent system, and my lab has Geneious software which I'm using to do de novo assembly (among other things). I downloaded the new MIRA plugin for Geneious, and ran it with my reads but it quit on me because it detected very high coverage (>80x). Also the Geneious default assembler is taking muuuuch longer than usual to assemble it. I looked back at the data and this strain had a lot more reads than the other strains, so I've decided to throw out some of the reads.

    I had trimmed the data already, but what I really need is for someone to tell me how to randomly select ~2 million reads to throw out! Can I just delete the first 2 million in the fastq file? For some reason I haven't been able to find any info on how to do this, kinda feel like it's a dumb question haha.
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    Originally posted by megster View Post
    I had trimmed the data already, but what I really need is for someone to tell me how to randomly select ~2 million reads to throw out! Can I just delete the first 2 million in the fastq file? For some reason I haven't been able to find any info on how to do this, kinda feel like it's a dumb question haha.
    I don't know about Ion Torrent, but some platforms have low quality reads concentrated into one part of the file (for example, there might be a bubble on the Illumina platform) so I would recommend subsampling randomly, or normalizing rather subsampling.

    To subsample randomly or normalize, you can use BBTools:

    reformat.sh in=reads.fq out=sampled.fq samplebases=100000000

    That will sample exactly 100 megabases (plus at most 1 read length) randomly from the entire file. Requires reading the file twice. You can alternately get an approximate sampling like this:

    reformat.sh in=reads.fq out=sampled.fq samplerate=0.25

    ...which will sample 25% of the reads, and only requires reading the file once. Well, either way it's very fast.

    To normalize the reads to some target coverage depth:
    bbnorm.sh in=reads.fq out=normalized.fq target=20 min=2

    ...which will normalize to 20x, and throw away reads with under 2x depth (assuming them to be full errors). This way, high peaks will go down, but areas with low coverage will not be reduced, which is better for assembly. This is a lot slower and requires more memory than sampling, but in my tests, greatly improves Soap and Velvet assemblies over sampling or just using raw data.
    Last edited by Brian Bushnell; 03-07-2014, 09:45 PM.

    Comment

    • andylemire
      Member
      • Jan 2014
      • 14

      #3
      Update your Geneious to r7.1 if you haven't already. The new Geneious de novo assembler handles Ion Torrent reads much, much better than previous versions, and really helps with the homopolymer errors in reducing the number of contigs. I re-ran a dozen plasmid assemblies just today and the results were incredible.

      And, to answer your question, it has a check box at the top to downsample your reads. The quality trimming is nice too because it's an annotation instead of a clipping, so it's easy to re-run with different stringencies.

      Comment

      • megster
        Junior Member
        • Mar 2014
        • 2

        #4
        Thanks! I missed that option at the top of the box, I ran it with the MIRA plugin and it worked beautifully. I'll also retry it with the new Geneious assembler program and see if it works any better for me.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        43 views
        0 reactions
        Last Post SEQadmin2  
        Working...