mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Merge branch 'master' into adding_stub_to_modules
This commit is contained in:
commit
3194729f82
3 changed files with 15 additions and 20 deletions
|
@ -27,9 +27,7 @@ process ANTISMASH_ANTISMASHLITEDOWNLOADDATABASES {
|
||||||
|
|
||||||
output:
|
output:
|
||||||
path("antismash_db") , emit: database
|
path("antismash_db") , emit: database
|
||||||
path("css"), emit: css_dir
|
path("antismash_dir"), emit: antismash_dir
|
||||||
path("detection"), emit: detection_dir
|
|
||||||
path("modules"), emit: modules_dir
|
|
||||||
path "versions.yml", emit: versions
|
path "versions.yml", emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
@ -37,11 +35,19 @@ process ANTISMASH_ANTISMASHLITEDOWNLOADDATABASES {
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
|
conda = params.enable_conda
|
||||||
"""
|
"""
|
||||||
download-antismash-databases \\
|
download-antismash-databases \\
|
||||||
--database-dir antismash_db \\
|
--database-dir antismash_db \\
|
||||||
$args
|
$args
|
||||||
|
|
||||||
|
if [[ $conda = false ]]; \
|
||||||
|
then \
|
||||||
|
cp -r /usr/local/lib/python3.8/site-packages/antismash antismash_dir; \
|
||||||
|
else \
|
||||||
|
cp -r \$(python -c 'import antismash;print(antismash.__file__.split("/__")[0])') antismash_dir; \
|
||||||
|
fi
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
antismash-lite: \$(antismash --version | sed 's/antiSMASH //')
|
antismash-lite: \$(antismash --version | sed 's/antiSMASH //')
|
||||||
|
|
|
@ -50,21 +50,11 @@ output:
|
||||||
type: directory
|
type: directory
|
||||||
description: Download directory for antiSMASH databases
|
description: Download directory for antiSMASH databases
|
||||||
pattern: "antismash_db"
|
pattern: "antismash_db"
|
||||||
- css_dir:
|
- antismash_dir:
|
||||||
type: directory
|
type: directory
|
||||||
description: |
|
description: |
|
||||||
antismash/outputs/html/css folder which is being created during the antiSMASH database downloading step. These files are normally downloaded by download-antismash-databases itself, and must be retrieved by the user by manually running the command with conda or a standalone installation of antiSMASH. Therefore we do not recommend using this module for production pipelines, but rather require users to specify their own local copy of the antiSMASH database in pipelines.
|
antismash installation folder which is being modified during the antiSMASH database downloading step. The modified files are normally downloaded by download-antismash-databases itself, and must be retrieved by the user by manually running the command with conda or a standalone installation of antiSMASH. Therefore we do not recommend using this module for production pipelines, but rather require users to specify their own local copy of the antiSMASH database and installation folder in pipelines.
|
||||||
pattern: "css"
|
pattern: "antismash_dir"
|
||||||
- detection_dir:
|
|
||||||
type: directory
|
|
||||||
description: |
|
|
||||||
antismash/detection folder which is being created during the antiSMASH database downloading step. These files are normally downloaded by download-antismash-databases itself, and must be retrieved by the user by manually running the command with conda or a standalone installation of antiSMASH. Therefore we do not recommend using this module for production pipelines, but rather require users to specify their own local copy of the antiSMASH database in pipelines.
|
|
||||||
pattern: "detection"
|
|
||||||
- modules_dir:
|
|
||||||
type: directory
|
|
||||||
description: |
|
|
||||||
antismash/modules folder which is being created during the antiSMASH database downloading step. These files are normally downloaded by download-antismash-databases itself, and must be retrieved by the user by manually running the command with conda or a standalone installation of antiSMASH. Therefore we do not recommend using this module for production pipelines, but rather require users to specify their own local copy of the antiSMASH database in pipelines.
|
|
||||||
pattern: "modules"
|
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@jasmezz"
|
- "@jasmezz"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
- name: antismash antismashlitedownloaddatabases test_antismash_antismashlitedownloaddatabases
|
- name: antismash antismashlitedownloaddatabases test_antismash_antismashlitedownloaddatabases
|
||||||
command: nextflow run tests/modules/antismash/antismashlitedownloaddatabases -entry test_antismash_antismashlitedownloaddatabases -c tests/config/nextflow.config
|
command: nextflow run tests/modules/antismash/antismashlitedownloaddatabases -entry test_antismash_antismashlitedownloaddatabases -c tests/config/nextflow.config
|
||||||
tags:
|
tags:
|
||||||
- antismash
|
|
||||||
- antismash/antismashlitedownloaddatabases
|
- antismash/antismashlitedownloaddatabases
|
||||||
|
- antismash
|
||||||
files:
|
files:
|
||||||
- path: output/antismash/versions.yml
|
- path: output/antismash/versions.yml
|
||||||
md5sum: 24859c67023abab99de295d3675a24b6
|
md5sum: 24859c67023abab99de295d3675a24b6
|
||||||
|
@ -12,6 +12,5 @@
|
||||||
- path: output/antismash/antismash_db/pfam
|
- path: output/antismash/antismash_db/pfam
|
||||||
- path: output/antismash/antismash_db/resfam
|
- path: output/antismash/antismash_db/resfam
|
||||||
- path: output/antismash/antismash_db/tigrfam
|
- path: output/antismash/antismash_db/tigrfam
|
||||||
- path: output/antismash/css
|
- path: output/antismash/antismash_dir
|
||||||
- path: output/antismash/detection
|
- path: output/antismash/antismash_dir/detection/hmm_detection/data/bgc_seeds.hmm
|
||||||
- path: output/antismash/modules
|
|
||||||
|
|
Loading…
Reference in a new issue