nf-core_modules/modules/bcftools/reheader/meta.yml
Gregor Sturm 906577873b
Bulk update modules to use versions.yml (#739)
* New functions.nf

* Convert code to create versions.yml

* Update meta.yml

* update output channel

* Fix more meta.yml

* Manually update remaining modules

* remove superflous echo

* Fix misformatted meta.yml files

* Fix yaml, was list instead of dict

* fix version for bcftools

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-09-27 09:41:24 +01:00

51 lines
1.2 KiB
YAML

name: bcftools_reheader
description: Reheader a VCF file
keywords:
- reheader
- vcf
- update header
tools:
- reheader:
description: |
Modify header of VCF/BCF files, change sample names.
homepage: http://samtools.github.io/bcftools/bcftools.html
documentation: http://samtools.github.io/bcftools/bcftools.html#reheader
doi: 10.1093/gigascience/giab008
licence: ['GPL']
input:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- vcf:
type: file
description: VCF/BCF file
pattern: "*.{vcf.gz,vcf,bcf}"
- fai:
type: file
description: Fasta index to update header sequences with
pattern: "*.{fai}"
- header:
type: file
description: New header to add to the VCF
pattern: "*.{header.txt}"
output:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- version:
type: file
description: File containing software version
pattern: "versions.yml"
- vcf:
type: file
description: VCF with updated header
pattern: "*.{vcf.gz}"
authors:
- "@bjohnnyd"