Merge pull request #16379 from mimadrid/init/bcftools-1.3.1
bcftools: init at 1.3.1
This commit is contained in:
commit
46b07b335b
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, fetchurl, zlib, htslib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "bcftools";
|
||||||
|
version = "1.3.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
|
||||||
|
sha256 = "095ry68vmz9q5s1scjsa698dhgyvgw5aicz24c19iwfbai07mhqj";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
makeFlagsArray=("HSTDIR=${htslib}" "prefix=$out")
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Tools for manipulating BCF2/VCF/gVCF format, SNP and short indel sequence variants";
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = http://www.htslib.org/;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.mimadrid ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,19 +1,25 @@
|
||||||
{ stdenv, fetchurl, zlib, ncurses }:
|
{ stdenv, fetchurl, zlib, htslib, ncurses ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "samtools-${version}";
|
name = "${pname}-${version}";
|
||||||
|
pname = "samtools";
|
||||||
version = "1.3.1";
|
version = "1.3.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/samtools/samtools/releases/download/${version}/${name}.tar.bz2";
|
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
|
||||||
sha256 = "0znnnxc467jbf1as2dpskrjhfh8mbll760j6w6rdkwlwbqsp8gbc";
|
sha256 = "0znnnxc467jbf1as2dpskrjhfh8mbll760j6w6rdkwlwbqsp8gbc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib ncurses ];
|
buildInputs = [ zlib ncurses htslib ];
|
||||||
|
|
||||||
|
configureFlags = [ "--with-htslib=${htslib}" ]
|
||||||
|
++ stdenv.lib.optional (ncurses == null) "--without-curses";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Tools (written in C using htslib) for manipulating next-generation sequencing data";
|
description = "Tools for manipulating SAM/BAM/CRAM format";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
homepage = http://www.htslib.org/;
|
homepage = http://www.htslib.org/;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.mimadrid ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, fetchurl, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "htslib";
|
||||||
|
version = "1.3.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/samtools/${pname}/releases/download/${version}/${name}.tar.bz2";
|
||||||
|
sha256 = "49d53a2395b8cef7d1d11270a09de888df8ba06f70fe68282e8235ee04124ae6";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A C library for reading/writing high-throughput sequencing data";
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = http://www.htslib.org/;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.mimadrid ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -16037,8 +16037,12 @@ in
|
||||||
stdenv = overrideCC stdenv gcc49;
|
stdenv = overrideCC stdenv gcc49;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bcftools = callPackage ../applications/science/biology/bcftools { };
|
||||||
|
|
||||||
emboss = callPackage ../applications/science/biology/emboss { };
|
emboss = callPackage ../applications/science/biology/emboss { };
|
||||||
|
|
||||||
|
htslib = callPackage ../development/libraries/science/biology/htslib { };
|
||||||
|
|
||||||
neuron = callPackage ../applications/science/biology/neuron { };
|
neuron = callPackage ../applications/science/biology/neuron { };
|
||||||
|
|
||||||
neuron-mpi = appendToName "mpi" (neuron.override {
|
neuron-mpi = appendToName "mpi" (neuron.override {
|
||||||
|
|
Loading…
Reference in New Issue