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

            • 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...