3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #34156 from arcadio/star

star: init at 2.5.3a
This commit is contained in:
Alexey Shmalko 2018-01-27 17:02:16 +02:00 committed by GitHub
commit 38fbc93f46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
name = "star-${version}";
version = "2.5.3a";
src = fetchFromGitHub {
repo = "STAR";
owner = "alexdobin";
rev = version;
sha256 = "1fd9xl7i1zxgsxn2qf6gz8s42g2djm29qmp6qb35d8nnxh8ns54x";
};
sourceRoot = "source/source";
postPatch = "sed 's:/bin/rm:rm:g' -i Makefile";
buildInputs = [ zlib ];
buildPhase = "make STAR STARlong";
installPhase = ''
mkdir -p $out/bin
cp STAR STARlong $out/bin
'';
meta = with stdenv.lib; {
description = "Spliced Transcripts Alignment to a Reference";
homepage = https://github.com/alexdobin/STAR;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.arcadio ];
};
}

View file

@ -18992,6 +18992,8 @@ with pkgs;
snpeff = callPackage ../applications/science/biology/snpeff/default.nix { };
star = callPackage ../applications/science/biology/star { };
varscan = callPackage ../applications/science/biology/varscan/default.nix { };
bwa = callPackage ../applications/science/biology/bwa/default.nix { };