tebreak: Fix tests
This commit is contained in:
parent
5f2997686c
commit
e166f22759
pkgs/applications/science/biology/tebreak
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, last, exonerate, minia, python3Packages, bwa
|
{ stdenv, fetchFromGitHub, last, exonerate, minia, python3Packages, bwa
|
||||||
, samtools, findutils }:
|
, samtools, findutils, python }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "tebreak";
|
pname = "tebreak";
|
||||||
|
@ -32,6 +32,12 @@ python3Packages.buildPythonApplication rec {
|
||||||
done
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Find and characterise transposable element insertions";
|
description = "Find and characterise transposable element insertions";
|
||||||
homepage = "https://github.com/adamewing/tebreak";
|
homepage = "https://github.com/adamewing/tebreak";
|
||||||
|
|
Loading…
Reference in New Issue