biocode icon indicating copy to clipboard operation
biocode copied to clipboard

Needed: Speed-optimized FASTA statistics script

Open jorvis opened this issue 11 years ago • 0 comments

One of the really common tasks when given a FASTA file is to find the following statistics:

  • Total sequence count
  • Total base count
  • GC content
  • Longest sequence
  • Shortest sequence
  • Mean sequence length
  • Median sequence length
  • N50
  • N90

While this is trivial itself, what can get more interesting is finding the method to do it that performs the best. Because this will be an important component of a few other projects, speed and proper error handling is important. Most apps assume python, but I'm up for implementations in whatever language will give the best results here as long as they don't open up a huge can of worms dependency-wise.

jorvis avatar Dec 29 '13 15:12 jorvis