Changes for version 1.2.0 - 2020-04-09

  • getStats() now also returns "N75" and "N90" statistics
    • getStats() now also returns "auN" metric https://lh3.github.io/2020/04/08/a-new-metric-on-assembly-contiguity
    • getStats() now also returns "path", the absolute path to "dirname"
    • getStats() can return a N{X} metrics, if invoked as getStats(file, json, X);
    • 'n50' 4.0.0 xprogram partially supports the new metrics

Documentation

n50
A script to calculate N50 from one or multiple FASTA/FASTQ files.

Modules

a small module to calculate N50 (total size, and total number of sequences) for a FASTA or FASTQ file. It's easy to install, with minimal dependencies.