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

# vcfnullgenofields(1)

## NAME

**vcfnullgenofields**

## SYNOPSIS

**vcfnullgenofields** options

## DESCRIPTION

Makes the FORMAT for each variant line the same (uses all the FORMAT fields described in the header). Fills out per-sample fields to match FORMAT. Expands GT values of \`.' with number of alleles based on ploidy (eg: \`./.' for dipolid).

## OPTIONS

-

  ```
  options:
      -p, --ploidy N   the polidy of missing/null GT fields (default=2)
      -L, --expand_GL  fill in missing GL fields with 0 values (eg: 0,0,0 for diploid 2 alleles)
  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.
