mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
update motus_downloaddb
This commit is contained in:
parent
32d5257def
commit
407d0bb752
2 changed files with 10 additions and 7 deletions
|
@ -18,16 +18,17 @@ process MOTUS_DOWNLOADDB {
|
|||
|
||||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
def software = ${motus_downloaddb.simpleName}_copy.py
|
||||
"""
|
||||
## must copy file to working directory,
|
||||
## otherwise the reference_db will be download to bin folder
|
||||
## other than current directory
|
||||
cp $motus_downloaddb ${motus_downloaddb.simpleName}_copy.py
|
||||
python ${motus_downloaddb.simpleName}_copy.py \\
|
||||
cp $motus_downloaddb ${software}
|
||||
python ${software} \\
|
||||
$args \\
|
||||
-t $task.cpus
|
||||
## clean up
|
||||
rm ${motus_downloaddb.simpleName}_copy.py
|
||||
rm ${software}
|
||||
|
||||
## mOTUs version number is not available from command line.
|
||||
## mOTUs save the version number in index database folder.
|
||||
|
|
|
@ -5,6 +5,8 @@ keywords:
|
|||
- metagenomics
|
||||
- fastq
|
||||
- taxonomic profiling
|
||||
- database
|
||||
- download
|
||||
tools:
|
||||
- "motus":
|
||||
description: "The mOTU profiler is a computational tool that estimates relative taxonomic abundance of known and currently unknown microbial community members using metagenomic shotgun sequencing data."
|
||||
|
@ -19,7 +21,7 @@ input:
|
|||
type: file
|
||||
description: |
|
||||
the mOTUs downloadDB script source file
|
||||
pattern: "*{.py}"
|
||||
pattern: "downloadDB.py"
|
||||
|
||||
output:
|
||||
- versions:
|
||||
|
@ -27,7 +29,7 @@ output:
|
|||
description: File containing software versions
|
||||
pattern: "versions.yml"
|
||||
- db:
|
||||
type: file
|
||||
type: directory
|
||||
description: The mOTUs database
|
||||
pattern: "db_mOTU"
|
||||
|
||||
|
|
Loading…
Reference in a new issue