Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ytmnd85
    Member
    • Apr 2009
    • 10

    #1

    Velvet - stats output - min_contig_length

    I am attempting to use Velvet to analyze some data from our lab. During a practice run, I noticed that the output from velvet had some odd contigs (length 1, coverage 300,000), so I decided to place some parameters on it. I set the minimum coverage to 10, and the minimum contig length to 10. When I checked the new output, the minimum coverage had been implemented, but it didn't appear that the minimum contig length had. Looking at the stats file, I still had contigs of length 1. However, upon looking at the contigs.fa file, I found that my contig length had been implemented.

    Does anyone know why my contig file is correct, but my stats file does not reflect my contig-length restriction?
  • Zigster
    Jeremy Leipzig
    • May 2009
    • 117

    #2
    Does anyone know why my contig file is correct, but my stats file does not reflect my contig-length restriction?
    yeah that parameter only affects the contigs.fa file (as you have already discovered)

    min_contig_length is just a dumb cutoff included for convenience - a two-line perl script could accomplish the same thing

    cov_cutoff is a real parameter that can actually change the assembly in unexpected ways

    and also note that length in the stats.txt file is in kmers, not bp
    --
    Jeremy Leipzig
    Bioinformatics Programmer
    --
    My blog
    Twitter

    Comment

    • ytmnd85
      Member
      • Apr 2009
      • 10

      #3
      Thank you,
      That makes sense now. It just had me perplexed when I was trying to interpret my results and I was seeing contradicting files.

      Comment

      • mmmm
        Senior Member
        • Jul 2013
        • 131

        #4
        kmer to nucleotide

        Originally posted by Zigster View Post
        yeah that parameter only affects the contigs.fa file (as you have already discovered)

        min_contig_length is just a dumb cutoff included for convenience - a two-line perl script could accomplish the same thing

        cov_cutoff is a real parameter that can actually change the assembly in unexpected ways

        and also note that length in the stats.txt file is in kmers, not bp
        in stats.txt (velvet output) how to convert node length to the actual nucleotide length, for example, if the node length is 1what would be the nucleotide length?

        Comment

        • mastal
          Senior Member
          • Mar 2009
          • 666

          #5
          see the equation for calculating kmer coverage from nucleotide coverage in the velvet manual.

          http://www.ebi.ac.uk/~zerbino/velvet/


          "The relation between k-mer coverage Ck and standard (nucleotide-wise) coverage C is Ck = C (L−k +1)/L where
          k is your hash length, and L you read length."


          Node length = Contig length in nucleotides minus k-mer length + 1.
          Last edited by mastal; 01-24-2014, 05:53 AM.

          Comment

          Latest Articles

          Collapse

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...