commit
4e7d08cd97
31
pkgs/applications/science/biology/minimap2/default.nix
Normal file
31
pkgs/applications/science/biology/minimap2/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "minimap2";
|
||||
version = "2.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "lh3";
|
||||
rev = "v${version}";
|
||||
sha256 = "0b35w14j9h2q9qbh3sxc518mcx0ifsvwqr1nv70rv6mgy1cqqkw0";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp minimap2 $out/bin
|
||||
mkdir -p $out/share/man/man1
|
||||
cp minimap2.1 $out/share/man/man1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A versatile pairwise aligner for genomic and spliced nucleotide sequences";
|
||||
homepage = https://lh3.github.io/minimap2;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.arcadio ];
|
||||
};
|
||||
}
|
|
@ -19927,6 +19927,8 @@ with pkgs;
|
|||
inherit (perlPackages) GetoptTabular MNI-Perllib;
|
||||
};
|
||||
|
||||
minimap2 = callPackage ../applications/science/biology/minimap2 { };
|
||||
|
||||
ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };
|
||||
|
||||
paml = callPackage ../applications/science/biology/paml { };
|
||||
|
|
Loading…
Reference in a new issue