mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
commit
6755ab8b34
37
pkgs/applications/science/biology/strelka/default.nix
Normal file
37
pkgs/applications/science/biology/strelka/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{stdenv, fetchFromGitHub, cmake, zlib, python2}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "strelka-${version}";
|
||||
version = "2.9.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Illumina";
|
||||
repo = "strelka";
|
||||
rev = "v${version}";
|
||||
sha256 = "0x4a6nkx1jnyag9svghsdjz1fz6q7qx5pn77wphdfnk81f9yspf8";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake zlib python2 ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
pushd $out/lib/python/pyflow
|
||||
sed -i 's|/bin/bash|${stdenv.shell}|' pyflowTaskWrapper.py
|
||||
rm pyflowTaskWrapper.pyc
|
||||
echo "import pyflowTaskWrapper" | python2
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Germline and small variant caller";
|
||||
license = licenses.gpl3;
|
||||
homepage = https://github.com/Illumina/strelka;
|
||||
maintainers = with maintainers; [ jbedo ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
|
||||
}
|
|
@ -20547,6 +20547,8 @@ with pkgs;
|
|||
|
||||
star = callPackage ../applications/science/biology/star { };
|
||||
|
||||
strelka = callPackage ../applications/science/biology/strelka { };
|
||||
|
||||
varscan = callPackage ../applications/science/biology/varscan { };
|
||||
|
||||
hmmer = callPackage ../applications/science/biology/hmmer { };
|
||||
|
|
Loading…
Reference in a new issue