fix: lofreq/callparallel missing arg (#562) (#586)

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
Johnathan D 2021-07-19 09:19:27 +01:00 committed by GitHub
parent 8c294882d7
commit 0b40798d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 10 deletions

View file

@ -20,11 +20,11 @@ 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:
@ -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
""" """
} }

View file

@ -51,3 +51,4 @@ output:
authors: authors:
- "@kaurravneet4123" - "@kaurravneet4123"
- "@bjohnnyd"

View file

@ -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).">']