Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mmmm
    Senior Member
    • Jul 2013
    • 131

    #1

    script to get basic statistics from velvet contigs.fa

    could I get a script that can generate some basic statistics from the velvet output file (contigs.fa)
  • sphil
    Senior Member
    • Apr 2010
    • 192

    #2
    Please be more specific about what you need and what your understanding of "statistics from the velvet output" is. Do you mean N50, number of Contigs, longest, shortest....

    Comment

    • mmmm
      Senior Member
      • Jul 2013
      • 131

      #3
      Thanks. to be more specific I would like to see the following statistics for velvet output fasta file:

      -Statistics for contig lengths:
      Min contig length
      Max contig length
      Mean contig length
      standard deviation of contig length
      Median contig length
      N50 contig length

      - Statistics for no. of contigs:
      No. of contigs
      No of contigs >=1kb
      No. of contigs in N50

      -Statistics for bases in the contigs:
      No. of bases in all contigs
      No. of bases in contigs >=1kb
      GC content of contigs

      -Simple Dinucleotide repeats:
      No. of contigs with over 70% dinucleotide repeats
      AT
      CG
      AC
      TG
      AG
      TC

      _Simple mononucleotide repeats:
      No. of contigs with over 50% dinucleotide repeats
      AA
      TT
      CC
      GG

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Take your pick:

        GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.




        Comment

        • sphil
          Senior Member
          • Apr 2010
          • 192

          #5
          i don't which of your interest will be covered but have a look here velet std summary. I find the way they do it quite neat. However, i think you have to script something yourself to get all desired information.

          Comment

          • maasha
            Senior Member
            • Apr 2009
            • 153

            #6
            Using Biopieces (www.biopieces.org):

            Assembled contigs can be analyzed to get some stats using analyze_assembly. We include a filtering step to discard contigs shorter than 200 bases:

            Code:
            read_fasta -i contigs.fna |
            grab -e "SEQ_LEN>=200" |
            analyze_assembly -x
            And the output:

            Code:
            N50: 9082
            MAX: 52038
            MIN: 200
            MEAN: 4170
            TOTAL: 3057214
            COUNT: 733
            ---
            There are many other options for stats as well. Look here:

            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.
              Yesterday, 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
            29 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-05-2026, 09:25 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-03-2026, 11:54 AM
            2 responses
            59 views
            0 reactions
            Last Post kinpict.com  
            Started by SEQadmin2, 10-28-2026, 09:57 AM
            0 responses
            176 views
            0 reactions
            Last Post SEQadmin2  
            Working...