Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • genelab
    Member
    • Nov 2009
    • 27

    #1

    Get coverage of each site on contig generated by Velvet

    Hello everyone,
    I am now working with velvet denove assemly of my short reads data. The result directory contains the following files (contigs.fa Graph2 LastGraph Log PreGraph Roadmaps Sequences stats.txt velvet_asm.afg). I want to get the depth of coverage of each site on contig sequences contained in "contig.fa". Is the coverage information contained in "velvet_asm.afg" file?
    Any suggestion will be very appreciate!
  • Zigster
    Jeremy Leipzig
    • May 2009
    • 117

    #2
    that should be in the deflines
    >NODE_1_length_563_cov_201.866791

    201.866791 is the kmer coverage Ck (read kmers per contig kmers)

    if you know your average read length you can convert to get x-coverage (read bp per contig bp)

    Cx=Ck*L/(L-k+1)

    where k is your kmer setting and L is your read length
    so if I used a kmer of 37 and an average read length of 50
    Cx=202*50/(50-37+1)=721X

    if you want depth on a base pair granularity you are probably best off realigning and using Samtools
    --
    Jeremy Leipzig
    Bioinformatics Programmer
    --
    My blog
    Twitter

    Comment

    • Torst
      Senior Member
      • Apr 2008
      • 275

      #3
      Originally posted by genelab View Post
      I am now working with velvet denove assemly of my short reads data. The result directory contains the following files (contigs.fa Graph2 LastGraph Log PreGraph Roadmaps Sequences stats.txt velvet_asm.afg). I want to get the depth of coverage of each site on contig sequences contained in "contig.fa". Is the coverage information contained in "velvet_asm.afg" file?
      If I understand correctly, you want the depth of read coverage at each nucleotide position in the genome?

      Velvet does not produce this. However, the .afg file contains, for each read, where it is in a contig. You could use this to build a "coverage" report. I suspect AMOS might be able to do this for you. The software "Tablet" can load the .afg file and will draw the coverage for you too.

      Comment

      • genelab
        Member
        • Nov 2009
        • 27

        #4
        Originally posted by Torst View Post
        If I understand correctly, you want the depth of read coverage at each nucleotide position in the genome?

        Velvet does not produce this. However, the .afg file contains, for each read, where it is in a contig. You could use this to build a "coverage" report. I suspect AMOS might be able to do this for you. The software "Tablet" can load the .afg file and will draw the coverage for you too.
        Yes, my purpose is to get the depth of read coverage at each nucleotide position in the contig generated by Velvet. Thanks for your great suggestion, I will try it.

        Comment

        • genelab
          Member
          • Nov 2009
          • 27

          #5
          Originally posted by Zigster View Post
          that should be in the deflines
          >NODE_1_length_563_cov_201.866791

          201.866791 is the kmer coverage Ck (read kmers per contig kmers)

          if you know your average read length you can convert to get x-coverage (read bp per contig bp)

          Cx=Ck*L/(L-k+1)

          where k is your kmer setting and L is your read length
          so if I used a kmer of 37 and an average read length of 50
          Cx=202*50/(50-37+1)=721X

          if you want depth on a base pair granularity you are probably best off realigning and using Samtools

          Zigster,
          thanks for your great help!

          genelab

          Comment

          • diptarka
            Member
            • Mar 2013
            • 10

            #6
            Hi, all
            I am new to denovo genome assembly. I have a fastq sequence data which i have to assemble using velvet. I used the velvet optimiser script with different hash length from 27 to 41 and it predicted best to be 37. The output file contigs.fa contains 260 contigs whereas log file predicts 283 nodes, where are the rest gone? Length given in contigs.fa is in k mers? how do i calculate it's actual nucleotide length in bp?. How do i understand whether the assembly is good or bad. FInal stat given after script running:
            Final graph has 283 nodes and n50 of 347, max 2336, total 68614, using 19064/50000 reads
            Why are the number of used reads so low?

            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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 10:05 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-13-2026, 12:22 PM
            0 responses
            32 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-11-2026, 10:35 AM
            0 responses
            24 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-06-2026, 07:41 AM
            0 responses
            38 views
            0 reactions
            Last Post SEQadmin2  
            Working...