forked from mirrors/nixpkgs
megahit: init at 1.1.4
This is widely used in bioinformatics for assembling genomes & metagenomes
This commit is contained in:
parent
bad5d145c2
commit
bf48451959
29
pkgs/applications/science/biology/megahit/default.nix
Normal file
29
pkgs/applications/science/biology/megahit/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, fetchFromGitHub, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "megahit";
|
||||||
|
version = "1.1.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "voutcn";
|
||||||
|
repo = "megahit";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "011k0776w76l03zmy70kfd3y9zjmdnspfbs9fcxmnl3bdwd36kcw";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
for bin in megahit_sdbg_build megahit megahit_asm_core megahit_toolkit; do
|
||||||
|
install -vD $bin $out/bin/$bin
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "An ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
homepage = https://github.com/voutcn/megahit;
|
||||||
|
maintainers = with maintainers; [ luispedro ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -21681,6 +21681,8 @@ in
|
||||||
|
|
||||||
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
mrbayes = callPackage ../applications/science/biology/mrbayes { };
|
||||||
|
|
||||||
|
megahit = callPackage ../applications/science/biology/megahit { };
|
||||||
|
|
||||||
messer-slim = callPackage ../applications/science/biology/messer-slim { };
|
messer-slim = callPackage ../applications/science/biology/messer-slim { };
|
||||||
|
|
||||||
minc_tools = callPackage ../applications/science/biology/minc-tools { };
|
minc_tools = callPackage ../applications/science/biology/minc-tools { };
|
||||||
|
|
Loading…
Reference in a new issue