mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Added the missing inputs in meta.yml + correct notation
This commit is contained in:
parent
d8782d7976
commit
9a10e5beb5
4 changed files with 20 additions and 12 deletions
|
@ -9,8 +9,8 @@ process VARDICTJAVA {
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(bam), path(bai)
|
tuple val(meta), path(bam), path(bai)
|
||||||
path(regions_of_interest)
|
path(bed)
|
||||||
tuple path(reference_fasta), path(reference_fai)
|
tuple path(fasta), path(fasta_fai)
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.vcf.gz"), emit: vcf
|
tuple val(meta), path("*.vcf.gz"), emit: vcf
|
||||||
|
@ -33,8 +33,8 @@ process VARDICTJAVA {
|
||||||
-b $bam \\
|
-b $bam \\
|
||||||
-th $task.cpus \\
|
-th $task.cpus \\
|
||||||
-N $prefix \\
|
-N $prefix \\
|
||||||
-G $reference_fasta \\
|
-G $fasta \\
|
||||||
$regions_of_interest \\
|
$bed \\
|
||||||
| teststrandbias.R \\
|
| teststrandbias.R \\
|
||||||
| var2vcf_valid.pl \\
|
| var2vcf_valid.pl \\
|
||||||
$args2 \\
|
$args2 \\
|
||||||
|
@ -43,7 +43,7 @@ process VARDICTJAVA {
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
vardict-java: \$VERSION
|
vardict-java: $VERSION
|
||||||
var2vcf_valid.pl: \$(echo \$(var2vcf_valid.pl -h | sed -n 2p | awk '{ print \$2 }'))
|
var2vcf_valid.pl: \$(echo \$(var2vcf_valid.pl -h | sed -n 2p | awk '{ print \$2 }'))
|
||||||
END_VERSIONS
|
END_VERSIONS
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -25,17 +25,29 @@ input:
|
||||||
type: file
|
type: file
|
||||||
description: BAM/SAM file
|
description: BAM/SAM file
|
||||||
pattern: "*.{bam,sam}"
|
pattern: "*.{bam,sam}"
|
||||||
|
|
||||||
|
- bai:
|
||||||
|
type: file
|
||||||
|
description: Index of the BAM file
|
||||||
|
pattern: "*.bai"
|
||||||
|
|
||||||
- reference_fasta:
|
- fasta:
|
||||||
type: file
|
type: file
|
||||||
description: FASTA of the reference genome
|
description: FASTA of the reference genome
|
||||||
pattern: "*.{fa,fasta}"
|
pattern: "*.{fa,fasta}"
|
||||||
|
|
||||||
- regions_of_interest:
|
- fasta_fai:
|
||||||
|
type: file
|
||||||
|
description: The index of the FASTA of the reference genome
|
||||||
|
pattern: "*.fai"
|
||||||
|
|
||||||
|
- bed:
|
||||||
type: file
|
type: file
|
||||||
description: BED with the regions of interest
|
description: BED with the regions of interest
|
||||||
pattern: "*.bed"
|
pattern: "*.bed"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
output:
|
output:
|
||||||
- meta:
|
- meta:
|
||||||
type: map
|
type: map
|
||||||
|
|
|
@ -2,8 +2,4 @@ process {
|
||||||
|
|
||||||
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
||||||
|
|
||||||
withName: VARDICTJAVA {
|
|
||||||
ext.args = ''
|
|
||||||
ext.args2 = ''
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -6,4 +6,4 @@
|
||||||
- path: output/vardictjava/test.vcf.gz
|
- path: output/vardictjava/test.vcf.gz
|
||||||
md5sum: 3f1f227afc532bddeb58f16fd3013fc8
|
md5sum: 3f1f227afc532bddeb58f16fd3013fc8
|
||||||
- path: output/vardictjava/versions.yml
|
- path: output/vardictjava/versions.yml
|
||||||
md5sum: aac455b8c9c9194c5fed80e4fd495b96
|
md5sum: 9b62c431a4f2680412b61c7071bdb1cd
|
||||||
|
|
Loading…
Reference in a new issue