2019-06-19 04:26:26 +01:00
|
|
|
{ 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
|
|
|
|
];
|
|
|
|
|
2019-09-29 05:27:04 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "pandas >= 0.20.1, < 0.25.0" "pandas"
|
|
|
|
'';
|
|
|
|
|
2019-06-19 04:26:26 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|