2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, gcc, zlib, python27 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "ecopcr";
|
|
|
|
version = "0.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://git.metabarcoding.org/obitools/ecopcr/uploads/6f37991b325c8c171df7e79e6ae8d080/ecopcr-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "10c58hj25z78jh0g3zcbx4890yd2qrvaaanyx8mn9p49mmyf5pk6";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "ecoPCR/src";
|
|
|
|
|
|
|
|
buildInputs = [ gcc python27 zlib ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-02-05 17:12:51 +00:00
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -v ecoPCR $out/bin
|
|
|
|
cp -v ecogrep $out/bin
|
|
|
|
cp -v ecofind $out/bin
|
|
|
|
cp -v ../tools/ecoPCRFormat.py $out/bin/ecoPCRFormat
|
|
|
|
chmod a+x $out/bin/ecoPCRFormat
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Electronic PCR software tool";
|
|
|
|
longDescription = ''
|
|
|
|
ecoPCR is an electronic PCR software developed by the LECA. It
|
|
|
|
helps you estimate Barcode primers quality. In conjunction with
|
|
|
|
OBITools, you can postprocess ecoPCR output to compute barcode
|
|
|
|
coverage and barcode specificity. New barcode primers can be
|
|
|
|
developed using the ecoPrimers software.
|
|
|
|
'';
|
|
|
|
homepage = "https://git.metabarcoding.org/obitools/ecopcr/wikis/home";
|
|
|
|
license = licenses.cecill20;
|
|
|
|
maintainers = [ maintainers.metabar ];
|
|
|
|
};
|
|
|
|
}
|