mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 11:38:17 +00:00
Merge branch 'nf-core:master' into master
This commit is contained in:
commit
7051bb1fee
3 changed files with 16 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
||||||
process MALT_RUN {
|
process MALT_RUN {
|
||||||
|
tag "$meta.id"
|
||||||
label 'process_high'
|
label 'process_high'
|
||||||
|
|
||||||
conda (params.enable_conda ? "bioconda::malt=0.53" : null)
|
conda (params.enable_conda ? "bioconda::malt=0.53" : null)
|
||||||
|
@ -7,14 +8,14 @@ process MALT_RUN {
|
||||||
'quay.io/biocontainers/malt:0.53--hdfd78af_0' }"
|
'quay.io/biocontainers/malt:0.53--hdfd78af_0' }"
|
||||||
|
|
||||||
input:
|
input:
|
||||||
path fastqs
|
tuple val(meta), path(fastqs)
|
||||||
val mode
|
val mode
|
||||||
path index
|
path index
|
||||||
|
|
||||||
output:
|
output:
|
||||||
path "*.rma6" , emit: rma6
|
tuple val(meta), path("*.rma6") , emit: rma6
|
||||||
path "*.{tab,text,sam}", optional:true, emit: alignments
|
tuple val(meta), path("*.{tab,text,sam}"), optional:true, emit: alignments
|
||||||
path "*.log" , emit: log
|
tuple val(meta), path("*.log") , emit: log
|
||||||
path "versions.yml" , emit: versions
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -19,6 +19,11 @@ tools:
|
||||||
licence: ["GPL v3"]
|
licence: ["GPL v3"]
|
||||||
|
|
||||||
input:
|
input:
|
||||||
|
- meta:
|
||||||
|
type: map
|
||||||
|
description: |
|
||||||
|
Groovy Map containing sample information
|
||||||
|
e.g. [ id:'test', single_end:false ]
|
||||||
- fastqs:
|
- fastqs:
|
||||||
type: file
|
type: file
|
||||||
description: Input FASTQ files
|
description: Input FASTQ files
|
||||||
|
|
|
@ -12,10 +12,14 @@ workflow test_malt_run {
|
||||||
gff = file(params.test_data['sarscov2']['genome']['genome_gff3'], checkIfExists: true)
|
gff = file(params.test_data['sarscov2']['genome']['genome_gff3'], checkIfExists: true)
|
||||||
seq_type = "DNA"
|
seq_type = "DNA"
|
||||||
map_db = file("https://software-ab.informatik.uni-tuebingen.de/download/megan6/megan-nucl-Jan2021.db.zip", checkIfExists: true)
|
map_db = file("https://software-ab.informatik.uni-tuebingen.de/download/megan6/megan-nucl-Jan2021.db.zip", checkIfExists: true)
|
||||||
input = file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
|
input = [
|
||||||
|
[ id:'test', single_end:false ], // meta map
|
||||||
|
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
|
||||||
|
]
|
||||||
mode = "BlastN"
|
mode = "BlastN"
|
||||||
|
|
||||||
UNZIP ( map_db )
|
UNZIP ( map_db )
|
||||||
MALT_BUILD ( fastas, seq_type, gff, UNZIP.out.unzipped_archive )
|
MALT_BUILD ( fastas, seq_type, gff, UNZIP.out.unzipped_archive )
|
||||||
MALT_RUN ( input, mode, MALT_BUILD.out.index )
|
MALT_RUN ( input, mode, MALT_BUILD.out.index )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue