DOKK / manpages / debian 12 / libvcflib-tools / vcfleftalign.1.en
VCFLEFTALIGN(1) vcfleftalign (VCF transformation) VCFLEFTALIGN(1)

vcfleftalign

vcfleftalign options [file]

Left-align indels and complex variants in the input using a pairwise ref/alt alignment followed by a heuristic, iterative left realignment process that shifts indel representations to their absolute leftmost (5’) extent.

This is the same procedure used in the internal left alignment in
freebayes, and can be used when preparing VCF files for input to
freebayes to decrease positional representation differences between
the input alleles and left-realigned alignments.
options:

-r, --reference FILE Use this reference as a basis for realignment.
-w, --window N Use a window of this many bp when left aligning (150). Left-aligns variants in the specified input file or stdin. Window size is determined dynamically according to the entropy of the regions flanking the indel. These must have entropy > 1 bit/bp, or be shorter than ~5kb. Type: transformation

0
Success
Failure

vcflib(1)

Copyright 2011-2022 (C) Erik Garrison and vcflib contributors. MIT licensed.

Erik Garrison and vcflib contributors.

vcfleftalign (vcflib)