Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.1
2 Name: nanomath
3 Version: 1.4.0
4 Summary: A few simple math function for other Oxford Nanopore processing scripts
5 Home-page: https://github.com/wdecoster/nanomath
6 Author: Wouter De Coster
7 Author-email: [email protected]
8 License: GPLv3
9 Keywords: nanopore sequencing plotting quality control
10 Classifier: Development Status :: 4 - Beta
11 Classifier: Intended Audience :: Science/Research
12 Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
13 Classifier: License :: OSI Approved :: MIT License
14 Classifier: Programming Language :: Python :: 3
15 Classifier: Programming Language :: Python :: 3.3
16 Classifier: Programming Language :: Python :: 3.4
17 Classifier: Programming Language :: Python :: 3.5
18 Requires-Python: >=3
19 License-File: LICENSE
20 Requires-Dist: pandas
21 Requires-Dist: numpy>1.8
22 Requires-Dist: Python-Deprecated
23
24 # nanomath
25
26 This module provides a few simple math and statistics functions for other scripts processing Oxford Nanopore sequencing data
27
28 [![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)
29 [![install with conda](https://anaconda.org/bioconda/nanomath/badges/installer/conda.svg)](https://anaconda.org/bioconda/nanomath)
30 [![install with Debian](https://www.debian.org/logos/button-mini.png)](https://tracker.debian.org/pkg/python-nanomath)
31
32 ## FUNCTIONS
33
34 * Calculate read N50 from a set of lengths `get_N50(readlenghts)`
35 * Remove extreme length outliers from a dataset `remove_length_outliers(dataframe, columname)`
36 * Calculate the average Phred quality of a read `ave_qual(qualscores)`
37 * Write out the statistics report after calling readstats function `write_stats(dataframe, outputname)`
38 * Compute a number of statistics, return a dictionary `calc_read_stats(dataframe)`
39
40 As of **v1.3.0**, nanomath calculates the average quality differently, by first converting per-read phred scale averages to error rates, take the average, and converting back ([nanostat#40](<https://github.com/wdecoster/nanostat/issues/40>))
41
42 ## INSTALLATION
43
44 ```bash
45 pip install nanomath
46 ```
47
48 or
49 [![install with conda](https://anaconda.org/bioconda/nanomath/badges/installer/conda.svg)](https://anaconda.org/bioconda/nanomath)
50
51 ```
52 conda install -c bioconda nanomath
53 ```
54
55 ## CONTRIBUTORS
56
57 [@alexomics](https://github.com/alexomics) for fixing the indentation of the printed stats
58
59 ## CITATION
60
61 If you use this tool, please consider citing our [publication](https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/bty149/4934939).