diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/science/biology/tebreak/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/science/biology/tebreak/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/science/biology/tebreak/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/science/biology/tebreak/default.nix index 07669d097a44..82c624ba7cd9 100644 --- a/infra/libkookie/nixpkgs/pkgs/applications/science/biology/tebreak/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/applications/science/biology/tebreak/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, last, exonerate, minia, python3Packages, bwa -, samtools, findutils }: +, samtools, findutils, python }: python3Packages.buildPythonApplication rec { pname = "tebreak"; @@ -32,6 +32,12 @@ python3Packages.buildPythonApplication rec { done ''; + checkPhase = '' + $out/bin/tebreak -b test/data/example.ins.bam -r test/data/Homo_sapiens_chr4_50000000-60000000_assembly19.fasta -p 4 --pickle test/example.pickle --detail_out test/example.tebreak.detail.out -i lib/teref.human.fa + pushd test + ${python.interpreter} checktest.py + ''; + meta = with stdenv.lib; { description = "Find and characterise transposable element insertions"; homepage = "https://github.com/adamewing/tebreak"; |