mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
remove the mgc in metadata for motus_profile.
This commit is contained in:
parent
9b50036e9b
commit
b2542ee079
2 changed files with 3 additions and 6 deletions
|
@ -25,7 +25,7 @@ process MOTUS_PROFILE {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def inputs = "$reads[0]".getExtension == ('.bam') ?
|
def inputs = "$reads[0]".getExtension == ('.bam') ?
|
||||||
"-i ${reads}" :
|
"-i ${reads}" :
|
||||||
meta.mgc ? "-m $reads" :
|
"$reads[0]".getExtension == ('.mgc') ? "-m $reads" :
|
||||||
meta.single_end ?
|
meta.single_end ?
|
||||||
"-s $reads" : "-f ${reads[0]} -r ${reads[1]}"
|
"-s $reads" : "-f ${reads[0]} -r ${reads[1]}"
|
||||||
def refdb = db ? "-db ${db}" : ""
|
def refdb = db ? "-db ${db}" : ""
|
||||||
|
|
|
@ -20,8 +20,6 @@ input:
|
||||||
description: |
|
description: |
|
||||||
Groovy Map containing sample information
|
Groovy Map containing sample information
|
||||||
e.g. [ id:'test', single_end:false ]
|
e.g. [ id:'test', single_end:false ]
|
||||||
If input file is the mgc read counts table, the mgc should be set to `true`
|
|
||||||
e.g. [ id:'test', single_end:false, mgc:true ]
|
|
||||||
- reads:
|
- reads:
|
||||||
type: file
|
type: file
|
||||||
description: |
|
description: |
|
||||||
|
@ -29,9 +27,8 @@ input:
|
||||||
respectively.
|
respectively.
|
||||||
Or the intermediate bam file mapped by bwa to the mOTUs database or
|
Or the intermediate bam file mapped by bwa to the mOTUs database or
|
||||||
the output bam file from motus profile.
|
the output bam file from motus profile.
|
||||||
Or the intermediate mgc read counts table. Please note if mgc table is input,
|
Or the intermediate mgc read counts table.
|
||||||
the `mgc` in metadata must be `true`.
|
pattern: "*.{fastq,fq,fasta,fa,fastq.gz,fq.gz,fasta.gz,fa.gz,.bam,.mgc}"
|
||||||
pattern: "*.{fastq,fq,fasta,fa,fastq.gz,fq.gz,fasta.gz,fa.gz,.bam,.tsv,.txt,.mgc}"
|
|
||||||
- db:
|
- db:
|
||||||
type: directory
|
type: directory
|
||||||
description: |
|
description: |
|
||||||
|
|
Loading…
Reference in a new issue