Merge pull request #64321 from jbedo/cnvkit

CNVkit: init 0.9.6
This commit is contained in:
Dmitry Kalinkin 2019-08-16 10:14:52 -04:00 committed by GitHub
commit 8f8da32d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 9 deletions

View File

@ -0,0 +1,48 @@
{ lib
, fetchPypi
, rPackages
, rWrapper
, buildPythonPackage
, biopython
, numpy
, scipy
, pandas
, matplotlib
, reportlab
, pysam
, future
, pillow
, pomegranate
, pyfaidx
}:
buildPythonPackage rec {
pname = "CNVkit";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "1hj8c98s538i0hg5mrz4bw4v07qmcl51rhxq611rj2nglnc9r25y";
};
propagatedBuildInputs = [
biopython
numpy
scipy
pandas
matplotlib
reportlab
pyfaidx
pysam
future
pillow
pomegranate
];
meta = with lib; {
homepage = "https://cnvkit.readthedocs.io";
description = "A Python library and command-line software toolkit to infer and visualize copy number from high-throughput DNA sequencing data";
license = licenses.asl20;
maintainers = [ maintainers.jbedo ];
};
}

View File

@ -1,17 +1,17 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose }:
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose, pyyaml }:
buildPythonPackage rec {
pname = "pomegranate";
version = "0.8.1";
version = "0.11.0";
src = fetchFromGitHub {
repo = pname;
owner = "jmschrei";
rev = "v${version}";
sha256 = "085nka5bh88bxbd5vl1azyv9cfpp6grz2ngclc85f9kgccac1djr";
sha256 = "0gf7z343ag4g7pfccn1sdap3ihkaxrc9ca75awjhmsa2cyqs66df";
};
propagatedBuildInputs = [ numpy scipy cython networkx joblib ];
propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ];
checkInputs = [ nose ];
@ -20,9 +20,5 @@ buildPythonPackage rec {
homepage = https://github.com/jmschrei/pomegranate;
license = licenses.mit;
maintainers = with maintainers; [ rybern ];
# "pomegranate does not yet work with networkx 2.0"
# see https://github.com/jmschrei/pomegranate/issues/209
broken = true;
};
}

View File

@ -0,0 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "pyfaidx";
version = "0.5.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "1akc8hk8rlw7sv07bv1n2r471acvmxwc57gb69frjpcwggf2phls";
};
propagatedBuildInputs = [ six ];
meta = with lib; {
homepage = "https://github.com/mdshw5/pyfaidx";
description = "Python classes for indexing, retrieval, and in-place modification of FASTA files using a samtools compatible index";
license = licenses.bsd3;
maintainers = [ maintainers.jbedo ];
};
}

View File

@ -477,6 +477,8 @@ in {
clustershell = callPackage ../development/python-modules/clustershell { };
cnvkit = callPackage ../development/python-modules/cnvkit { };
cozy = callPackage ../development/python-modules/cozy { };
codespell = callPackage ../development/python-modules/codespell { };
@ -881,6 +883,8 @@ in {
pyfakefs = callPackage ../development/python-modules/pyfakefs {};
pyfaidx = callPackage ../development/python-modules/pyfaidx { };
pyfttt = callPackage ../development/python-modules/pyfttt { };
pyftdi = callPackage ../development/python-modules/pyftdi { };