mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
bcftools_tabix generic for any TAB-delimited genome position file
This commit is contained in:
parent
0a8915ae77
commit
579de3e038
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ process BCFTOOLS_TABIX {
|
|||
}
|
||||
|
||||
input:
|
||||
tuple val(meta), path(vcf)
|
||||
tuple val(meta), path(gz_genome_position_file)
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.tbi"), emit: tbi
|
||||
|
@ -27,7 +27,7 @@ process BCFTOOLS_TABIX {
|
|||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
"""
|
||||
tabix $options.args $vcf
|
||||
tabix $options.args $gz_genome_position_file
|
||||
echo \$(bcftools --version 2>&1) | sed 's/^.*bcftools //; s/ .*\$//' > ${software}.version.txt
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -42,8 +42,8 @@ input:
|
|||
e.g. [ id:'test', single_end:false ]
|
||||
- vcf:
|
||||
type: file
|
||||
description: VCF input file
|
||||
pattern: "*.{vcf,bed,sam,gff}"
|
||||
description: TAB-delimited genome position file compressed with bgzip
|
||||
pattern: "*.{vcf.gz,bed.gz,sam.gz,gff.gz}"
|
||||
output:
|
||||
- meta:
|
||||
type: map
|
||||
|
|
Loading…
Reference in a new issue