Skip to content

A few simple math function for other Oxford Nanopore processing scripts

License

Notifications You must be signed in to change notification settings

iliasbukraa/nanomath

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nanomath

This module provides a few simple math and statistics functions for other scripts processing Oxford Nanopore sequencing data

Twitter URL install with conda install with Debian Build Status Code Health

FUNCTIONS

  • Calculate read N50 from a set of lengths get_N50(readlenghts)
  • Remove extreme length outliers from a dataset remove_length_outliers(dataframe, columname)
  • Calculate the average Phred quality of a read ave_qual(qualscores)
  • Write out the statistics report after calling readstats function write_stats(dataframe, outputname)
  • Compute a number of statistics, return a dictionary calc_read_stats(dataframe)

INSTALLATION

pip install nanomath

or
install with conda

conda install -c bioconda nanomath

STATUS

Build Status

CONTRIBUTORS

@alexomics for fixing the indentation of the printed stats

CITATION

If you use this tool, please consider citing our publication.

About

A few simple math function for other Oxford Nanopore processing scripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%