transformation command |
description |
dumpContigsFromHeader |
Dump contigs from header |
smoother |
smoothes is a method for window smoothing many of the GPAT++
formats. |
vcf2dag |
Modify VCF to be able to build a directed acyclic graph (DAG) |
vcf2fasta |
Generates sample_seq:N.fa for each sample, reference sequence, and
chromosomal copy N in [0,1... ploidy]. Each sequence in the fasta file is
named using the same pattern used for the file name, allowing them to be
combined. |
vcf2tsv |
Converts VCF to per-allelle or per-genotype tab-delimited format, using
null string to replace empty values in the table. Specifying -g will
output one line per sample with genotype information. When there is more
than one alt allele there will be multiple rows, one for each allele and,
the info will match the `A' index |
vcfaddinfo |
Adds info fields from the second file which are not present in the first
vcf file. |
vcfafpath |
Display genotype paths |
vcfallelicprimitives |
WARNING: this tool is considered legacy and is only retained for older
workflows. It will emit a warning! Even though it can use the WFA you
should use vcfwave instead. |
vcfannotate |
Intersect the records in the VCF file with targets provided in a BED
file. Intersections are done on the reference sequences in the VCF file.
If no VCF filename is specified on the command line (last argument) the
VCF read from stdin. |
vcfannotategenotypes |
Examine genotype correspondence. Annotate genotypes in the first file
with genotypes in the second adding the genotype as another flag to each
sample filed in the first file. annotation-tag is the name of the sample
flag which is added to store the annotation. also adds a `has_variant'
flag for sites where the second file has a variant. |
vcfbreakmulti |
If multiple alleles are specified in a single record, break the record
into multiple lines, preserving allele-specific INFO fields. |
vcfcat |
Concatenates VCF files |
vcfclassify |
Creates a new VCF where each variant is tagged by allele class: snp,
ts/tv, indel, mnp |
vcfcleancomplex |
Removes reference-matching sequence from complex alleles and adjusts
records to reflect positional change. |
vcfcombine |
Combine VCF files positionally, combining samples when sites and alleles
are identical. Any number of VCF files may be combined. The INFO field and
other columns are taken from one of the files which are combined when
records in multiple files match. Alleles must have identical ordering to
be combined into one record. If they do not, multiple records will be
emitted. |
vcfcommonsamples |
Generates each record in the first file, removing samples not present in
the second |
vcfcreatemulti |
Go through sorted VCF and when overlapping alleles are represented
across multiple records, merge them into a single multi-ALT record. See
the documentation for more information. |
vcfecho |
Echo VCF to stdout (simple demo) |
vcfevenregions |
Generates a list of regions, e.g. chr20:10..30 using the variant
density information provided in the VCF file to ensure that the regions
have even numbers of variants. This can be use to reduce the variance in
runtime when dividing variant detection or genotyping by genomic
coordinates. |
vcffixup |
Generates a VCF stream where AC and NS have been generated for each
record using sample genotypes |
vcfflatten |
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. |
vcfgeno2alleles |
modifies the genotypes field to provide the literal alleles rather than
indexes |
vcfgeno2haplo |
Convert genotype-based phased alleles within –window-size into
haplotype alleles. Will break haplotype construction when encountering
non-phased genotypes on input. |
vcfgenosamplenames |
Get samplenames |
vcfglbound |
Adjust GLs so that the maximum GL is 0 by dividing all GLs for each
sample by the max. |
vcfglxgt |
Set genotypes using the maximum genotype likelihood for each
sample. |
vcfindex |
Adds an index number to the INFO field (id=position) |
vcfinfo2qual |
Sets QUAL from info field tag keyed by [key]. The VCF file may be
omitted and read from stdin. The average of the field is used if it
contains multiple values. |
vcfinfosummarize |
Take annotations given in the per-sample fields and add the mean,
median, min, or max to the site-level INFO. |
vcfintersect |
VCF 1.0.12 set analysis |
vcfkeepgeno |
Reduce file size by removing FORMAT fields not listed on the command
line from sample specifications in the output |
vcfkeepinfo |
To decrease file size remove INFO fields not listed on the command
line |
vcfkeepsamples |
outputs each record in the vcf file, removing samples not listed on the
command line |
vcfld |
Compute LD |
vcfleftalign |
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. |
vcflength |
Add length info field |
vcfnullgenofields |
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). |
vcfnumalt |
outputs a VCF stream where NUMALT has been generated for each record
using sample genotypes |
vcfoverlay |
Overlay records in the input vcf files with order as precedence. |
vcfprimers |
For each VCF record, extract the flanking sequences, and write them to
stdout as FASTA records suitable for alignment. |
vcfqual2info |
Puts QUAL into an info field tag keyed by [key]. |
vcfremap |
For each alternate allele, attempt to realign against the reference with
lowered gap open penalty. If realignment is possible, adjust the cigar and
reference/alternate alleles. Observe how different alignment parameters,
including context and entropy-dependent ones, influence variant
classification and interpretation. |
vcfremoveaberrantgenotypes |
strips samples which are homozygous but have observations implying
heterozygosity. Remove samples for which the reported genotype (GT) and
observation counts disagree (AO, RO). |
vcfremovesamples |
outputs each record in the vcf file, removing samples listed on the
command line |
vcfsample2info |
Take annotations given in the per-sample fields and add the mean,
median, min, or max to the site-level INFO. |
vcfsamplediff |
Establish putative somatic variants using reported differences between
germline and somatic samples. Tags each record where the listed sample
genotypes differ with . The first sample is assumed to be germline, the
second somatic. Each record is tagged with ={germline,somatic,loh} to
specify the type of variant given the genotype difference between the two
samples. |
vcfsamplenames |
List sample names |
vcfstreamsort |
Sorts the input (either stdin or file) using a streaming sort algorithm.
Guarantees that the positional order is correct provided out-of-order
variants are no more than 100 positions in the VCF file apart. |
vcfwave |
Realign reference and alternate alleles with WFA, parsing out the
`primitive' alleles into multiple VCF records. New records have IDs that
reference the source record ID. Genotypes/samples are handled correctly.
Deletions generate haploid/missing genotypes at overlapping sites. |