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:
|
||||
tuple val(meta), path(bam), path(bai)
|
||||
file fasta
|
||||
file fai
|
||||
path fasta
|
||||
path fai
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.vcf"), emit: vcf
|
||||
path "*.version.txt" , emit: version
|
||||
tuple val(meta), path("*.vcf.gz"), emit: vcf
|
||||
path "*.version.txt" , emit: version
|
||||
|
||||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
|
@ -34,10 +34,11 @@ process LOFREQ_CALLPARALLEL {
|
|||
lofreq \\
|
||||
call-parallel \\
|
||||
--pp-threads $task.cpus \\
|
||||
$options.args \\
|
||||
-f $fasta \\
|
||||
-o ${prefix}.vcf \\
|
||||
-o ${prefix}.vcf.gz \\
|
||||
$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:
|
||||
- "@kaurravneet4123"
|
||||
- "@bjohnnyd"
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
- name: lofreq callparallel
|
||||
command: nextflow run ./tests/modules/lofreq/callparallel -entry test_lofreq_callparallel -c tests/config/nextflow.config
|
||||
- name: lofreq callparallel test_lofreq_callparallel
|
||||
command: nextflow run tests/modules/lofreq/callparallel -entry test_lofreq_callparallel -c tests/config/nextflow.config
|
||||
tags:
|
||||
- lofreq
|
||||
- lofreq/callparallel
|
||||
- lofreq
|
||||
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