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

# vcfflatten(1)

## NAME

**vcfflatten**

## SYNOPSIS

**vcfflatten** \[options\]\[file\] -h –help display this help message and exit. -i –ignore-errors do not flatten locus if \`AF' is not specified.

## DESCRIPTION

Removes multi-allelic sites by picking the most common alternate. Requires allele frequency specification \`AF' and use of \`G' and \`A' to specify the fields which vary according to the Allele or Genotype. VCF file may be specified on the command line or piped as stdin.

## OPTIONS

-

  ```
  Type: transformation
  ```

## 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.
