nf-core_modules/modules/bcftools/reheader/meta.yml
Matthias Hörtenhuber e745e167c1
Fix formatting in yaml files, add yamllint config (#1279)
* fix yml formatting

* allow fastq.gz and fq.gz as file input, add meta.yml and test

* fix yaml files

* Revert "allow fastq.gz and fq.gz as file input, add meta.yml and test"

This reverts commit 34002d7a7a8c7f7bb4600c3377f35c87849f71a4.

* prettier magic!

* fix comments for yamllint

* remove node version number

* fix linting errors

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2022-02-15 11:15:27 +00: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: ["MIT"]
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 ]
- versions:
type: file
description: File containing software versions
pattern: "versions.yml"
- vcf:
type: file
description: VCF with updated header
pattern: "*.{vcf.gz}"
authors:
- "@bjohnnyd"