---
name: "plotHaps"
section: "1"
platform: "linux"
package: "libvcflib-tools"
version: "1.0.12+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/plotHaps"
---

# plotHaps(1)

## NAME

**plotHaps**

## SYNOPSIS

## DESCRIPTION

**plotHaps** provides the formatted output that can be used with \`bin/plotHaplotypes.R'.

## OPTIONS

-

  ```
  Output : haplotype matrix and positions
  **plotHaps**  --target 0,1,2,3,4,5,6,7  --file my.phased.vcf.gz
  required: t,target     -- argument: a zero base comma separated list of target individuals corrisponding to VCF column s
  required: r,region     -- argument: a tabix compliant genomic range : "seqid:start-end" or "seqid"
  required: f,file       -- argument: proper formatted phased VCF file
  required: y,type       -- argument: genotype likelihood format: PL,GP,GP
  Type: statistics
  ```

## EXIT VALUES

- **0**

  Success

- **not 0**

  Failure

## SEE ALSO

[**vcflib**(1)](/vcflib/1.md)

## OTHER

## LICENSE

Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.

## AUTHORS

Erik Garrison and vcflib contributors.
