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

# vcf2dag(1)

## NAME

**vcf2dag**

## SYNOPSIS

**vcf2dag** options \[\]

## DESCRIPTION

Modify VCF to be able to build a directed acyclic graph (DAG)

## OPTIONS

-

  ```
  options:
      -r, --reference FILE         FASTA reference file.
  Modify the VCF file so that homozygous regions are included as REF/. calls.
  For each ref and alt allele, assign an index.  These steps are sufficient to
  enable use of the VCF as a DAG (specifically a partially-ordered graph).
  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.
