2024-02-07 01:22:34 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "deeptools";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.5.5";
|
2024-02-07 01:22:34 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deeptools";
|
|
|
|
repo = "deepTools";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-2kSlL7Y5f/FjVtStnmz+GlTw2oymrtxOCaXlqgbQ7FU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2020-04-24 23:36:52 +00:00
|
|
|
numpy
|
|
|
|
numpydoc
|
|
|
|
scipy
|
|
|
|
py2bit
|
|
|
|
pybigwig
|
|
|
|
pysam
|
|
|
|
matplotlib
|
|
|
|
plotly
|
|
|
|
deeptoolsintervals
|
2023-11-16 04:20:00 +00:00
|
|
|
importlib-metadata
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export PATH="$out/bin:$PATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# tests trip on `len(sys.argv) == 1`
|
|
|
|
"deeptools/test/test_bigwigAverage.py"
|
|
|
|
"deeptools/test/test_bigwigCompare_and_multiBigwigSummary.py"
|
|
|
|
"deeptools/test/test_heatmapper.py"
|
|
|
|
"deeptools/test/test_multiBamSummary.py"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://deeptools.readthedocs.io/en/develop";
|
|
|
|
description = "Tools for exploring deep DNA sequencing data";
|
|
|
|
longDescription = ''
|
|
|
|
deepTools contains useful modules to process the mapped reads data for multiple
|
|
|
|
quality checks, creating normalized coverage files in standard bedGraph and bigWig
|
|
|
|
file formats, that allow comparison between different files (for example, treatment and control).
|
|
|
|
Finally, using such normalized and standardized files, deepTools can create many
|
|
|
|
publication-ready visualizations to identify enrichments and for functional
|
|
|
|
annotations of the genome.
|
|
|
|
'';
|
2023-11-16 04:20:00 +00:00
|
|
|
license = with licenses; [ mit bsd3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ scalavision ];
|
|
|
|
};
|
|
|
|
}
|