mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
8c294882d7
commit
0b40798d1b
3 changed files with 13 additions and 10 deletions
|
@ -20,12 +20,12 @@ process LOFREQ_CALLPARALLEL {
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(bam), path(bai)
|
tuple val(meta), path(bam), path(bai)
|
||||||
file fasta
|
path fasta
|
||||||
file fai
|
path fai
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.vcf"), emit: vcf
|
tuple val(meta), path("*.vcf.gz"), emit: vcf
|
||||||
path "*.version.txt" , emit: version
|
path "*.version.txt" , emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def software = getSoftwareName(task.process)
|
def software = getSoftwareName(task.process)
|
||||||
|
@ -34,10 +34,11 @@ process LOFREQ_CALLPARALLEL {
|
||||||
lofreq \\
|
lofreq \\
|
||||||
call-parallel \\
|
call-parallel \\
|
||||||
--pp-threads $task.cpus \\
|
--pp-threads $task.cpus \\
|
||||||
|
$options.args \\
|
||||||
-f $fasta \\
|
-f $fasta \\
|
||||||
-o ${prefix}.vcf \\
|
-o ${prefix}.vcf.gz \\
|
||||||
$bam
|
$bam
|
||||||
|
|
||||||
echo \$(lofreq version 2>&1) | sed 's/^.*lofreq //; s/Using.*\$//' > ${software}.version.txt
|
echo \$(lofreq version 2>&1) | sed 's/^version: //; s/ *commit.*\$//' > ${software}.version.txt
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,3 +51,4 @@ output:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@kaurravneet4123"
|
- "@kaurravneet4123"
|
||||||
|
- "@bjohnnyd"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
- name: lofreq callparallel
|
- name: lofreq callparallel test_lofreq_callparallel
|
||||||
command: nextflow run ./tests/modules/lofreq/callparallel -entry test_lofreq_callparallel -c tests/config/nextflow.config
|
command: nextflow run tests/modules/lofreq/callparallel -entry test_lofreq_callparallel -c tests/config/nextflow.config
|
||||||
tags:
|
tags:
|
||||||
- lofreq
|
|
||||||
- lofreq/callparallel
|
- lofreq/callparallel
|
||||||
|
- lofreq
|
||||||
files:
|
files:
|
||||||
- path: output/lofreq/test.vcf
|
- path: output/lofreq/test.vcf.gz
|
||||||
|
contains: ['##INFO=<ID=CONSVAR,Number=0,Type=Flag,Description="Indicates that the variant is a consensus variant (as opposed to a low frequency variant).">']
|
||||||
|
|
Loading…
Reference in a new issue