[med-svn] [Git][med-team/python-nanomath][master] 6 commits: routine-update: New upstream version

Nilesh Patra gitlab at salsa.debian.org
Tue Dec 22 18:01:12 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / python-nanomath


Commits:
e250d60a by Nilesh Patra at 2020-12-22T23:25:33+05:30
routine-update: New upstream version

- - - - -
55a3a273 by Nilesh Patra at 2020-12-22T23:25:34+05:30
New upstream version 1.2.0+ds
- - - - -
6b135f1a by Nilesh Patra at 2020-12-22T23:25:35+05:30
Update upstream source from tag 'upstream/1.2.0+ds'

Update to upstream version '1.2.0+ds'
with Debian dir 1dfa460bef55d7d7579dd6238d51f16d79e1831c
- - - - -
0f9035cd by Nilesh Patra at 2020-12-22T23:25:35+05:30
routine-update: Standards-Version: 4.5.1

- - - - -
27af99f1 by Nilesh Patra at 2020-12-22T23:28:53+05:30
Add myself to uploaders

- - - - -
fa4789ce by Nilesh Patra at 2020-12-22T23:29:22+05:30
Update changelog

- - - - -


8 changed files:

- PKG-INFO
- README.md
- README.rst
- debian/changelog
- debian/control
- nanomath.egg-info/PKG-INFO
- nanomath/nanomath.py
- nanomath/version.py


Changes:

=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: nanomath
-Version: 1.0.1
+Version: 1.2.0
 Summary: A few simple math function for other Oxford Nanopore processing scripts
 Home-page: https://github.com/wdecoster/nanomath
 Author: Wouter De Coster
@@ -11,6 +11,7 @@ Description: # nanomath
         
         [![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)
+        [![install with Debian](https://www.debian.org/logos/button-mini.png)](https://tracker.debian.org/pkg/python-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)
         
@@ -33,7 +34,7 @@ Description: # nanomath
         conda install -c bioconda nanomath
         ```
         
-        ## STATUS
+        ## STATUS 
         [![Build Status](https://travis-ci.org/wdecoster/nanomath.svg?branch=master)](https://travis-ci.org/wdecoster/nanomath)
         
         


=====================================
README.md
=====================================
@@ -3,6 +3,7 @@ This module provides a few simple math and statistics functions for other script
 
 [![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)
+[![install with Debian](https://www.debian.org/logos/button-mini.png)](https://tracker.debian.org/pkg/python-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)
 
@@ -25,7 +26,7 @@ or
 conda install -c bioconda nanomath
 ```
 
-## STATUS
+## STATUS 
 [![Build Status](https://travis-ci.org/wdecoster/nanomath.svg?branch=master)](https://travis-ci.org/wdecoster/nanomath)
 
 


=====================================
README.rst
=====================================
@@ -4,7 +4,8 @@ nanomath
 This module provides a few simple math and statistics functions for
 other scripts processing Oxford Nanopore sequencing data
 
-|Twitter URL| |install with conda| |Build Status| |Code Health|
+|Twitter URL| |install with conda| |install with Debian| |Build Status|
+|Code Health|
 
 FUNCTIONS
 ---------
@@ -54,6 +55,8 @@ If you use this tool, please consider citing our
    :target: https://twitter.com/wouter_decoster
 .. |install with conda| image:: https://anaconda.org/bioconda/nanomath/badges/installer/conda.svg
    :target: https://anaconda.org/bioconda/nanomath
+.. |install with Debian| image:: https://www.debian.org/logos/button-mini.png
+   :target: https://tracker.debian.org/pkg/python-nanomath
 .. |Build Status| image:: https://travis-ci.org/wdecoster/nanomath.svg?branch=master
    :target: https://travis-ci.org/wdecoster/nanomath
 .. |Code Health| image:: https://landscape.io/github/wdecoster/nanomath/master/landscape.svg?style=flat


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-nanomath (1.2.0+ds-1) unstable; urgency=medium
+
+  * New upstream version
+  * Standards-Version: 4.5.1 (routine-update)
+  * Add myself to uploaders
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Tue, 22 Dec 2020 23:25:53 +0530
+
 python-nanomath (1.0.1+ds-3) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -2,14 +2,14 @@ Source: python-nanomath
 Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
+Uploaders: Andreas Tille <tille at debian.org>, Nilesh Patra <npatra974 at gmail.com>
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3,
                python3-setuptools,
                python3-deprecated,
                python3-numpy <!nocheck>,
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-nanomath
 Vcs-Git: https://salsa.debian.org/med-team/python-nanomath.git
 Homepage: https://github.com/wdecoster/nanomath


=====================================
nanomath.egg-info/PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: nanomath
-Version: 1.0.1
+Version: 1.2.0
 Summary: A few simple math function for other Oxford Nanopore processing scripts
 Home-page: https://github.com/wdecoster/nanomath
 Author: Wouter De Coster
@@ -11,6 +11,7 @@ Description: # nanomath
         
         [![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)
+        [![install with Debian](https://www.debian.org/logos/button-mini.png)](https://tracker.debian.org/pkg/python-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)
         
@@ -33,7 +34,7 @@ Description: # nanomath
         conda install -c bioconda nanomath
         ```
         
-        ## STATUS
+        ## STATUS 
         [![Build Status](https://travis-ci.org/wdecoster/nanomath.svg?branch=master)](https://travis-ci.org/wdecoster/nanomath)
         
         


=====================================
nanomath/nanomath.py
=====================================
@@ -32,8 +32,10 @@ class Stats(object):
         self._with_readIDs = "readIDs" in df
         if "aligned_lengths" in df:
             self.number_of_bases_aligned = np.sum(df["aligned_lengths"])
+            self.fraction_bases_aligned = self.number_of_bases_aligned / self.number_of_bases
         self.median_read_length = np.median(df["lengths"])
         self.mean_read_length = np.mean(df["lengths"])
+        self.read_length_stdev = np.std(df["lengths"])
         self.n50 = get_N50(np.sort(df["lengths"]))
         if "percentIdentity" in df:
             self.average_identity = np.mean(df["percentIdentity"])
@@ -122,7 +124,6 @@ def remove_length_outliers(df, columnname):
     return df[df[columnname] < (np.median(df[columnname]) + 3 * np.std(df[columnname]))]
 
 
- at deprecated
 def errs_tab(n):
     """Generate list of error rates for qualities less than equal than n."""
     return [10**(q / -10) for q in range(n+1)]
@@ -198,8 +199,10 @@ def write_stats_legacy(stats, names, output, datadfs):
         "Number of reads": "number_of_reads",
         "Total bases": "number_of_bases",
         "Total bases aligned": "number_of_bases_aligned",
+        "Fraction of bases aligned": "fraction_bases_aligned",
         "Median read length": "median_read_length",
         "Mean read length": "mean_read_length",
+        "STDEV read length": "read_length_stdev",
         "Read length N50": "n50",
         "Average percent identity": "average_identity",
         "Median percent identity": "median_identity",


=====================================
nanomath/version.py
=====================================
@@ -1 +1 @@
-__version__ = "1.0.1"
+__version__ = "1.2.0"



View it on GitLab: https://salsa.debian.org/med-team/python-nanomath/-/compare/27759b47ac2df4df43f7f0a053e222dab2ea6162...fa4789ce3687c523e8a26b141579d6412a4465b3

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-nanomath/-/compare/27759b47ac2df4df43f7f0a053e222dab2ea6162...fa4789ce3687c523e8a26b141579d6412a4465b3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201222/18e63372/attachment-0001.html>


More information about the debian-med-commit mailing list