Skip to main content

A few simple math function for other Oxford Nanopore processing scripts

Project description

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

[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/wouter_decoster.svg?style=social&label=Follow%20%40wouter_decoster)](https://twitter.com/wouter_decoster) [![install with conda](https://anaconda.org/bioconda/nanomath/badges/installer/conda.svg)](https://anaconda.org/bioconda/nanomath) [![Build Status](https://travis-ci.org/wdecoster/nanomath.svg?branch=master)](https://travis-ci.org/wdecoster/nanomath) [![Code Health](https://landscape.io/github/wdecoster/nanomath/master/landscape.svg?style=flat)](https://landscape.io/github/wdecoster/nanomath/master)

## 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 `bash pip install nanomath ` or [![install with conda](https://anaconda.org/bioconda/nanomath/badges/installer/conda.svg)](https://anaconda.org/bioconda/nanomath) ` conda install -c bioconda nanomath `

## STATUS [![Build Status](https://travis-ci.org/wdecoster/nanomath.svg?branch=master)](https://travis-ci.org/wdecoster/nanomath)

## CONTRIBUTORS [@alexomics](https://github.com/alexomics) for fixing the indentation of the printed stats

## CITATION If you use this tool, please consider citing our [publication](https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/bty149/4934939).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nanomath, version 0.23.1
Filename, size File type Python version Upload date Hashes
Filename, size nanomath-0.23.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page