name: vcflib_vcfuniq
description: List unique genotypes. Like GNU uniq, but for VCF records. Remove records which have the same position, ref, and alt as the previous record.
keywords:
  - vcf
  - uniq
  - deduplicate
tools:
  - vcflib:
      description: Command-line tools for manipulating VCF files
      homepage: https://github.com/vcflib/vcflib
      documentation: https://github.com/vcflib/vcflib#USAGE
      doi: "https://doi.org/10.1101/2021.05.21.445151"
      licence: ["MIT"]

input:
  - meta:
      type: map
      description: |
        Groovy Map containing sample information
        e.g. [ id:'test', single_end:false ]
  - vcf:
      type: file
      description: Compressed VCF file
      pattern: "*.vcf.gz"
  - tbi:
      type: file
      description: Index of VCF file
      pattern: "*.vcf.gz.tbi"

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: Compressed VCF file
      pattern: "*.vcf.gz"

authors:
  - "@drpatelh"
