summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-02-25 00:44:05 -0800
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-02-25 09:44:05 +0100
commit691a2f4b716cea8647b2d08c4f99f0870aba0fb2 (patch)
treef920dfa3379d2846c02d8ded2d146821ca45340b /var
parent2851b3f57ce5866f79208300386a6a60c0ccb3b7 (diff)
downloadspack-691a2f4b716cea8647b2d08c4f99f0870aba0fb2.tar.gz
spack-691a2f4b716cea8647b2d08c4f99f0870aba0fb2.tar.bz2
spack-691a2f4b716cea8647b2d08c4f99f0870aba0fb2.tar.xz
spack-691a2f4b716cea8647b2d08c4f99f0870aba0fb2.zip
py-unicycler: new package (#7727)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-unicycler/package.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-unicycler/package.py b/var/spack/repos/builtin/packages/py-unicycler/package.py
new file mode 100644
index 0000000000..4018baa4ba
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-unicycler/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyUnicycler(PythonPackage):
+ """Unicycler is an assembly pipeline for bacterial genomes. It can
+ assemble Illumina-only read sets where it functions as a SPAdes-optimiser.
+ It can also assembly long-read-only sets (PacBio or Nanopore) where it
+ runs a miniasm+Racon pipeline. For the best possible assemblies, give it
+ both Illumina reads and long reads, and it will conduct a hybrid assembly.
+ """
+
+ homepage = "https://github.com/rrwick/Unicycler"
+ url = "https://github.com/rrwick/Unicycler/archive/v0.4.5.tar.gz"
+
+ version('0.4.7', '10ee4fef4bd9a46702de83537a902164')
+ version('0.4.6', '78633a5f557af23e62d6b37d1caedf53')
+ version('0.4.5', 'f7b4f6b712fee6a4fa86a046a6781768')
+
+ depends_on('python@3.4:', type=('build', 'link', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('spades', type='run')
+ depends_on('pilon', type='run')
+ depends_on('jdk', type=('build', 'run'))
+ depends_on('bowtie2', type='run')
+ depends_on('samtools@1.0:', type=('build', 'link', 'run'))
+ depends_on('racon', type=('build', 'link', 'run'))
+ depends_on('blast-plus', type='run')
+
+ conflicts('%gcc@:4.9.0')
+ conflicts('%clang@:3.4.2')