mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 03:34:12 +00:00
196f141973
Genomic tool to call structural variations. This packages requires 2 executables,packaging fermi2, bwt2, that are packaged in the same derivation and added to the path later on.
52 lines
996 B
Nix
52 lines
996 B
Nix
{
|
|
bwa,
|
|
lib,
|
|
fermi2,
|
|
ropebwt2,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
}:
|
|
python3Packages.buildPythonApplication rec {
|
|
name = "tiddit";
|
|
version = "3.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SciLifeLab";
|
|
repo = "TIDDIT";
|
|
rev = "refs/tags/TIDDIT-${version}";
|
|
hash = "sha256-OeqVQJDw0fmSDWIGab2qtTJCzZxqLY2XzRqaTRuPIdI=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
cython
|
|
joblib
|
|
numpy
|
|
pysam
|
|
];
|
|
|
|
makeWrapperArgs = [
|
|
"--prefix PATH : ${
|
|
lib.makeBinPath [
|
|
bwa
|
|
fermi2
|
|
ropebwt2
|
|
]
|
|
}"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/SciLifeLab/TIDDIT";
|
|
description = "Identify chromosomal rearrangements using Mate Pair or Paired End sequencing data";
|
|
mainProgram = "tiddit";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ apraga ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|