mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
SVDB_MERGE bgzip (#1910)
* Started (again) to work on bgzipping SVDB_MERGE output * Updated test yml * SVDB_MERGE now bgzips output * Fixed singularity, renamed tests in test.yml Co-authored-by: Cloud User <centos@oskar-instance.novalocal>
This commit is contained in:
parent
f91abed951
commit
8214b73700
3 changed files with 10 additions and 10 deletions
|
@ -1,18 +1,17 @@
|
|||
process SVDB_MERGE {
|
||||
tag "$meta.id"
|
||||
label 'process_medium'
|
||||
|
||||
conda (params.enable_conda ? "bioconda::svdb=2.6.1" : null)
|
||||
conda (params.enable_conda ? "bioconda::svdb=2.6.1 bioconda::samtools=1.15.1" : null)
|
||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||
'https://depot.galaxyproject.org/singularity/svdb:2.6.1--py39h5371cbf_0':
|
||||
'quay.io/biocontainers/svdb:2.6.1--py39h5371cbf_0' }"
|
||||
'https://depot.galaxyproject.org/singularity/mulled-v2-c8daa8f9d69d3c5a1a4ff08283a166c18edb0000:56d0a468970fbb474d92f0591abcf677757fb370-0':
|
||||
'quay.io/biocontainers/mulled-v2-c8daa8f9d69d3c5a1a4ff08283a166c18edb0000:56d0a468970fbb474d92f0591abcf677757fb370-0' }"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(vcfs)
|
||||
val (priority)
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*_sv_merge.vcf"), emit: vcf
|
||||
tuple val(meta), path("*_sv_merge.vcf.gz"), emit: vcf
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
when:
|
||||
|
@ -37,6 +36,7 @@ process SVDB_MERGE {
|
|||
$prio \\
|
||||
--vcf $input \\
|
||||
> ${prefix}_sv_merge.vcf
|
||||
bgzip ${prefix}_sv_merge.vcf
|
||||
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
"${task.process}":
|
||||
|
|
|
@ -34,6 +34,6 @@ output:
|
|||
- vcf:
|
||||
type: file
|
||||
description: merged VCF file
|
||||
pattern: "*_sv_merge.vcf"
|
||||
pattern: "*_sv_merge.vcf.gz"
|
||||
authors:
|
||||
- "@ramprasadn"
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
- name: svdb merge
|
||||
- name: svdb merge test_svdb_merge
|
||||
command: nextflow run ./tests/modules/svdb/merge -entry test_svdb_merge -c ./tests/config/nextflow.config -c ./tests/modules/svdb/merge/nextflow.config
|
||||
tags:
|
||||
- svdb
|
||||
- svdb/merge
|
||||
files:
|
||||
- path: output/svdb/test_sv_merge.vcf
|
||||
- name: svdb merge noprio
|
||||
- path: output/svdb/test_sv_merge.vcf.gz
|
||||
- name: svdb merge test_svdb_merge_noprio
|
||||
command: nextflow run ./tests/modules/svdb/merge -entry test_svdb_merge_noprio -c ./tests/config/nextflow.config -c ./tests/modules/svdb/merge/nextflow.config
|
||||
tags:
|
||||
- svdb
|
||||
- svdb/merge
|
||||
files:
|
||||
- path: output/svdb/test_sv_merge.vcf
|
||||
- path: output/svdb/test_sv_merge.vcf.gz
|
||||
|
|
Loading…
Reference in a new issue