Skip to content

Commit

Permalink
ecopcr: init at 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Celine Mercier authored and rycee committed Feb 6, 2017
1 parent 0d422c5 commit 78c052e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Expand Up @@ -297,6 +297,7 @@
mdaiter = "Matthew S. Daiter <mdaiter8121@gmail.com>";
meditans = "Carlo Nucera <meditans@gmail.com>";
meisternu = "Matt Miemiec <meister@krutt.org>";
metabar = "Celine Mercier <softs@metabarcoding.org>";
mguentner = "Maximilian Güntner <code@klandest.in>";
mic92 = "Jörg Thalheim <joerg@higgsboson.tk>";
michaelpj = "Michael Peyton Jones <michaelpj@gmail.com>";
Expand Down
37 changes: 37 additions & 0 deletions pkgs/applications/science/biology/ecopcr/default.nix
@@ -0,0 +1,37 @@
{ stdenv, fetchurl, gcc, zlib, python27 }:

stdenv.mkDerivation rec {
name = "ecopcr-0.8.0";

src = fetchurl {
url = "https://git.metabarcoding.org/obitools/ecopcr/uploads/6f37991b325c8c171df7e79e6ae8d080/${name}.tar.gz";
sha256 = "10c58hj25z78jh0g3zcbx4890yd2qrvaaanyx8mn9p49mmyf5pk6";
};

sourceRoot = "ecoPCR/src";

buildInputs = [ gcc python27 zlib ];

installPhase = ''
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
'';

meta = with stdenv.lib; {
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -16835,6 +16835,8 @@ with pkgs;

bcftools = callPackage ../applications/science/biology/bcftools { };

ecopcr = callPackage ../applications/science/biology/ecopcr { };

emboss = callPackage ../applications/science/biology/emboss { };

htslib = callPackage ../development/libraries/science/biology/htslib { };
Expand Down

0 comments on commit 78c052e

Please sign in to comment.