Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chjp0632
    Junior Member
    • Feb 2012
    • 9

    #1

    wired assembly result--abysmally short contigs

    Hi, all:

    We sequenced two Bacillus strains for about 300X using Illumina Miseq paired-end sequencing. Our library is built by Nextera XT kit, which produces a wide range of fragment size, average fragment size is 1,000kb, range from 300 to 3,000kb.

    I run Velvet assembler using these command lines: 1) ./bin/velvet_1.2.10/velveth out 33 -fastq -short ./P06_S1_L001_R1_001.fastq ./P06_S1_L001_R2_001.fastq
    2) velvetg out -exp_cov auto -ins_length 1044 -scaffolding yes

    The contig distribution is as below:
    100:199 199670
    200:299 9825
    300:399 287
    400:499 73
    500:599 24
    600:699 18
    700:799 9
    800:899 2
    900:999 4
    1000:1099 1
    1100:1199 2
    1200:1299 2
    Extremely short contigs, expecially considering reads are 250bp long!

    1) First I suspect the sequenced samples may be contaminated with other organism DNA. Therefore I mapped the reads to a close reference. 90% of reads can map by Bowtie with default parameters. We were afraid that sequencing may be biased, so we draw coverage depth distribution (shown in attached Rplot.jpeg). Though some loci are strongly biased and were sequenced 7000fold, they were just a small propotion.

    2) We also draw k-mer distribution to screen possible abysmal repeat or sequencing errors (shown in attached histogram-k29.histo.pdf). But the figure looks normal.

    What would you do if you meet these problems?
    Attached Files
  • samanta
    Senior Member
    • Feb 2010
    • 108

    #2
    My first guess (based on seeing your histograms-k29 chart):

    Your coverage is very high and that is making the assembler believe that some noisy k-mers are real. One way to check whether that is really the case, try assembling only 1/6th of the reads and see whether the quality goes up. Alternatively, you can assemble the entire set, but play with Velvet parameter that filters out k-mers below certain frequency.

    Let's see the results, and then we can brainstorm other possibilities/solutions.

    P.S. Weird, not wired. We call it wired, when the assembly works
    http://homolog.us

    Comment

    • mcnelson.phd
      Senior Member
      • Jul 2011
      • 162

      #3
      A couple of things could be going on here.

      First, make sure that your reads have had the Nextera adapter sequence trimmed off. When setting up the sample sheet for sequencing XT libraries, this should normally be turned on, but as some users have found out some core facilities don't do that. For all of your reads that were longer than the sequenced fragment, those adapter sequences will cause the assembler to choke and die or else give lots of small contigs because it can't properly resolve the graph.

      If you're sure that the adapter sequences have been trimmed, try merging reads that can be overlapped into single reads. That will remove some of the range for the pair distance, and if you feed a mix of merged single reads and paired reads, you should get a better assembly than just having paired reads with a large pair distance. There are a bunch of programs that can do the merging for you, we use SeqPrep but FLASH and numerous others are widely used as well.

      It doesn't look like you did any quality trimming, based on the commands you listed (P06_S1_L001_R1_001.fastq would be a direct output file from MiSeq Reporter based on its name), so you should probably give that a try. With 300x coverage, bad reads and parts of reads will prevent velvet from collapsing a lot of bubbles in the graph which will result in lots of small contigs. Additionally, increasing the kmer size should help the assembly as well after you quality trim. You can also try using khmer to down-sample/normalize your data so erroneous reads/kmers don't cause issues.

      Comment

      • mastal
        Senior Member
        • Mar 2009
        • 666

        #4
        Originally posted by chjp0632 View Post

        I run Velvet assembler using these command lines: 1) ./bin/velvet_1.2.10/velveth out 33 -fastq -short ./P06_S1_L001_R1_001.fastq ./P06_S1_L001_R2_001.fastq
        2) velvetg out -exp_cov auto -ins_length 1044 -scaffolding yes

        If you want velvet to treat the reads as paired reads you need to use the flags -shortPaired and -separate.

        Code:
        ./bin/velvet_1.2.10/velveth out 33 -fastq -shortPaired -separate ./P06_S1_L001_R1_001.fastq ./P06_S1_L001_R2_001.fastq

        Comment

        • chjp0632
          Junior Member
          • Feb 2012
          • 9

          #5
          Originally posted by samanta View Post
          My first guess (based on seeing your histograms-k29 chart):

          Your coverage is very high and that is making the assembler believe that some noisy k-mers are real. One way to check whether that is really the case, try assembling only 1/6th of the reads and see whether the quality goes up. Alternatively, you can assemble the entire set, but play with Velvet parameter that filters out k-mers below certain frequency.

          Let's see the results, and then we can brainstorm other possibilities/solutions.

          P.S. Weird, not wired. We call it wired, when the assembly works
          I subsample the sequencing data to 300k pairs of reads, 500k, 1million, 2m, 3m and 4m. The SOAPdenovo result is shown below:

          #ReadPair 300k 500k 1m 2m 3m 4m
          N50 13740 24563 16256 2721 941 522

          The result indicates that 500k pair of 250 bp reads produce most continuous contigs by SOAPdenovo. Velvet's performance on these data sets show similar trends. Therefor 5 million sequencing reads may be more than enough.

          Comment

          • chjp0632
            Junior Member
            • Feb 2012
            • 9

            #6
            Originally posted by mcnelson.phd View Post
            A couple of things could be going on here.

            If you're sure that the adapter sequences have been trimmed, try merging reads that can be overlapped into single reads. That will remove some of the range for the pair distance, and if you feed a mix of merged single reads and paired reads, you should get a better assembly than just having paired reads with a large pair distance. There are a bunch of programs that can do the merging for you, we use SeqPrep but FLASH and numerous others are widely used as well.

            It doesn't look like you did any quality trimming, based on the commands you listed (P06_S1_L001_R1_001.fastq would be a direct output file from MiSeq Reporter based on its name), so you should probably give that a try. With 300x coverage, bad reads and parts of reads will prevent velvet from collapsing a lot of bubbles in the graph which will result in lots of small contigs. Additionally, increasing the kmer size should help the assembly as well after you quality trim. You can also try using khmer to down-sample/normalize your data so erroneous reads/kmers don't cause issues.
            1) Merging the reads to longer single reads are good suggestions, but I am also worried about false merge. Can SeqPrep and FLASH distinguish true read extension from false one?

            2) Reads treaming and down-sampling reads can be saved if we use SPAdes assembler. I used it and save much time. It automatically assembled different subsample data with different kmers and merge the results.

            3) Compared with SOAPdenovo and Velvet, our result shows SPAdes performed best on contig contiguity for this data set.

            Comment

            • krobison
              Senior Member
              • Nov 2007
              • 734

              #7
              WRT to Flash, SeqPrep, etc -- you will get a lot of valid merges. You will also get some false merges if the reads overlap repeats in an unfortunate way.

              I would recommend also trying a kmer-based error corrector such as MUSKET.

              A lot of people are liking SPADES assembler, which has a cleanup step built in. I have very good luck with Ray. Velvet is the old workhorse, but many newer programs deliver more contiguous assemblies.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                by SEQadmin2



                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                ...
                07-31-2026, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 08-03-2026, 10:13 AM
              0 responses
              21 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              25 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-23-2026, 11:41 AM
              0 responses
              21 views
              0 reactions
              Last Post SEQadmin2  
              Working...