### Install VCF-kit with Conda Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/index.md Configures the necessary channels and creates a new environment named vcf-kit with all required dependencies. ```bash conda config --add channels bioconda conda config --add channels conda-forge conda create -n vcf-kit \ danielecook::vcf-kit=0.2.6 \ "bwa>=0.7.17" \ "samtools>=1.10" \ "bcftools>=1.10" \ "blast>=2.2.31" \ "muscle>=3.8.31" \ "primer3>=2.5.0" conda activate vcf-kit ``` -------------------------------- ### vk primer snip example output Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md Example output from vk primer snip, formatted as a table for readability. Normal output is tab-separated. Amplicon sequences are truncated in this output. ```text CHROM | POS | region | REF | ALT | template_sample | variant_count | ref_sites | alt_sites | restriction_enzyme | restriction_site | restriction_site_length | primer_left | primer_right | melting_temperature | amplicon_length | amplicon_region | amplicon_sequence | 0/0 | 1-Jan | polymorphic | -------|---------|-------------------|-----|-----|-----------------|---------------|---------------------|-----------------------------|--------------------|------------------|-------------------------|----------------------|----------------------|---------------------|-----------------|-------------------|-------------------|-----|-------|-------------| I | 1198228 | I:1197728-1198727 | G | A | ALT | 1 | 93,283:93,190,471 | 93:93,661 | NdeI | CATATG | 6 | gtattcagtgggcaagcagc | GGATTAGGCCACCATCCGAG | 59.547,59.965 | 754 | I:1197943-1198697 | gtatt… | | | FALSE | I | 1487691 | I:1487191-1488190 | A | C | ALT | 1 | 548,654:548,106,100 | 356,548,654:356,192,106,100 | BsuRI | GGCC | 4 | TCAAAGCTGTTTTTGGCGGG | CTTCCCGACAACTTTGCTGC | 59.896,60.04 | 754 | I:1487335-1488089 | TCAAA… | | | FALSE | I | 1487691 | I:1487191-1488190 | A | C | ALT | 1 | 548,654:548,106,100 | 356,548,654:356,192,106,100 | BsnI | GGCC | 4 | TCAAAGCTGTTTTTGGCGGG | CTTCCCGACAACTTTGCTGC | 59.896,60.04 | 754 | I:1487335-1488089 | TCAAA… | | | FALSE | ``` -------------------------------- ### Example fasta output Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Example output of the vk phylo fasta command, showing sample names and concatenated variant sequences. ```text >QG536 <-- Sample 1 AGGGATCCTNGGG... >GXW1 <-- Sample 2 AGAGATCCCTGGG... >DL200 <-- Sample 3 AGAGANCCCTGGN... ``` -------------------------------- ### vk call with --vcf-sites Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md Only shows variants present in the VCF. This example uses the --vcf-sites flag to filter output to VCF variants. ```bash vk call DL238_sanger.AB1 --ref=WBcel235 --vcf-sites illumina_resequencing.vcf.gz ``` -------------------------------- ### Search results output for vk genome --search Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Example output of the search command, showing the table of results and instructions to download using --ref. ```shell Genome Directory: /Users/dancook/.genome Searching... assembly_accession bioproject organism_name asm_name ... -------------------- ------------ -------------------------- --------------- ... GCF_000908835.1 PRJNA209365 Human cyclovirus VS5700009 ViralProj209365 ... GCF_000918035.1 PRJNA243497 Human cyclovirus ViralProj243497 ... To download a genome and setup for use: vk genome --ref= ``` -------------------------------- ### vk primer snip example Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md This command generates snip-SNP primers for the given VCF file. The output is tab-separated; the table in the documentation is formatted for easier reading. ```bash vk primer snip --ref=WBcel235 data/test.vcf.gz ``` -------------------------------- ### Install R packages for plotting Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Installs required R packages (tidyverse, ape, ggmap, phyloseq) for plotting phylogenies. ```r install.packages("tidyverse") source('http://bioconductor.org/biocLite.R') biocLite(c('ape','phyloseq','ggmap'), suppressUpdates=TRUE) ``` -------------------------------- ### Output - Newick format Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Example output of the phylo tree command in Newick format. ```text (((N2:0.0250154,PX179:0.02262):0.00270637,(((((EG4946:0.035835,AB1:0.0349638):0.00435886,GXW1:0.0490124):0.00222221,(((WN2001:0.0850733,CB4856:0.130009))... ``` -------------------------------- ### Run VCF-kit with Docker Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/index.md Executes VCF-kit using the official Docker image, which includes all pre-installed dependencies. ```bash docker run -it andersenlab/vcf-kit vk ``` -------------------------------- ### Download NCBI genome with vk genome --ref Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Downloads and prepares a genome from NCBI using the asm_name from search results. ```bash vk genome --ref=ViralProj209365 ``` -------------------------------- ### List downloaded genomes with vk genome list Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Lists all downloaded genomes. ```bash vk genome list ``` -------------------------------- ### Primer3 thermodynamic parameters path Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md This option sets the path to the thermodynamic parameters configuration. It is set to either /usr/local/share/primer3_config/ or /usr/local/share/primer3/primer3_config/. ```text PRIMER_THERMODYNAMIC_PARAMETERS_PATH # set to either /usr/local/share/primer3_config/ or /usr/local/share/primer3/primer3_config/ ``` -------------------------------- ### vcf2sql command usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/vcf2sql.md Shows the command-line syntax for vcf2sql, specifying the target database type and the VCF file. ```bash vk vcf2sql (bigquery|postgres|mysql|sqlite) ``` -------------------------------- ### FASTQ record with sample annotation in description line Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md Shows how to annotate a sample in a FASTQ file using the description line. The sample name DL238 is placed within pipe characters in the header line. ```text > @FCC1GJUACXX:6:1101:19686:24985#AAGGTCTA/2 |DL238| CGTCAAGGGGCACCGGATCG... ``` -------------------------------- ### vk call with --all-sites Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md Shows all calls from Sanger and VCF, outputting every position aligned to reference from Sanger sequence and corresponding VCF calls. Note the absence of REF/ALT for sites not called in the VCF. ```bash vk call DL238_sanger.AB1 --ref=WBcel235 --all-sites illumina_sequencing.vcf.gz ``` -------------------------------- ### Download NCBI genome to custom directory Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Downloads a genome from NCBI into a custom directory specified by --directory. ```bash vk genome ncbi --directory="." --ref=ViralProj15089 ``` -------------------------------- ### Multiple samples in a single FASTA file Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md Shows how multiple samples (DL238, N2, MY25) can be annotated in a single FASTA file, each with its own description line and sequence. ```text > DL238 CGTCAAGGGGCACCGGATCG... > N2 CGTCAAGGCGCACCGGATCG... > MY25 CGTCAAGGCGCACCGGATCG... ``` -------------------------------- ### List vk calc commands Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/calc.md Displays the available subcommands for the vk calc utility. ```bash vk calc sample_hom_gt vk calc genotypes [--frequency] vk calc spectrum ``` -------------------------------- ### Initialize Smits.PhyloCanvas Source: https://github.com/andersenlab/vcf-kit/blob/master/vcfkit/static/tree.html Initializes the phylogenetic tree visualization on window load. It uses a template-injected Newick string and calculates canvas height based on the number of samples. ```javascript window.onload = function(){ var dataObject = { newick: '{{ tree }}' }; phylocanvas = new Smits.PhyloCanvas( dataObject, 'svgCanvas', $(window).width()*0.5, 22*{{ sample_len }} ) }; ``` -------------------------------- ### Default Primer3 options Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md These are the default Primer3 options always used when VCF-kit generates primers. They are written to a Boulder-IO format configuration file. ```text PRIMER_GC_CLAMP=1 PRIMER_MAX_SIZE=20 PRIMER_MIN_SIZE=18 PRIMER_OPT_SIZE=20 PRIMER_TASK=pick_pcr_primers ``` -------------------------------- ### vk call command syntax Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md Basic usage syntax for the vk call command. It requires a sequence file and a reference genome. ```bash vk call --ref= [--all-sites --vcf-targets ] ``` -------------------------------- ### Substitute multiple sample names with vk rename Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/rename.md Substitutes multiple sample names in one command. Each substitution is specified with its own --subst option. ```bash vk rename --subst=N2:REFERENCE_SAMPLE --subst WN2001=ANOTHER_RENAME ``` -------------------------------- ### Substitute a single sample name with vk rename Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/rename.md Substitutes a single sample name. Use a colon, comma, or equals sign to separate the old and new names. ```bash vk rename --subst=OLD_SAMPLE_NAME:NEW_SAMPLE_NAME ``` -------------------------------- ### Calculate genotype distributions Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/calc.md Outputs a table showing the distribution of reference, heterozygous, alternative, and missing genotypes. ```bash vk calc genotypes ``` -------------------------------- ### vk rename usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/rename.md Shows the general usage of the vk rename command, including the available options and the required VCF input. ```text usage: vk rename [--prefix= --suffix= --subst=] ``` -------------------------------- ### vk genome command usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Shows the main usage patterns for the vk genome command, including viewing/setting the genome directory, listing genomes, searching, and downloading from NCBI or WormBase. ```bash vk genome location [] vk genome list vk genome --search= vk genome ncbi [options] --ref= [--accession-chrom-names] vk genome wormbase [options] --ref= ``` -------------------------------- ### Filter low-coverage WGS data with bcftools and run vk hmm Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/hmm.md Use this pipeline to filter problematic alt sites using the DV/DP ratio before running vk hmm. The filter sets genotypes to missing when the DV/DP ratio is less than 0.75 for homozygous alternate calls. The command takes stdout as input and uses the - flag to read from stdin. ```bash bcftools view |\ bcftools filter --set-GTs . --exclude '((FMT/DV)/(FMT/DP) < 0.75 && FMT/GT == "1/1")' |\ vk hmm --A= --B= --ref= - ``` -------------------------------- ### Generate a neighbor-joining tree Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Constructs a neighbor-joining tree from a VCF. Output is in Newick format. ```bash vk phylo tree nj ``` -------------------------------- ### FASTA record with sample annotation in description line Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md Shows how to annotate a sample in a FASTA file using the description line. The sample name DL238 is placed after the '>' character. ```text > DL238 CGTCAAGGGGCACCGGATCG... ``` -------------------------------- ### vk phylo command usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Shows the general usage of the phylo command for generating fasta files or trees (nj or upgma) with optional plotting. ```bash vk phylo fasta [] vk phylo tree (nj|upgma) [--plot] [] ``` -------------------------------- ### vk filter usage syntax Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/filter.md Shows the general syntax for the vk filter command. The filter type is one of REF, HET, ALT, or MISSING. Options include --min, --max, --soft-filter, and --mode. ```bash vk filter (REF|HET|ALT|MISSING) [--min= --max= --soft-filter= --mode=] ``` -------------------------------- ### View genome directory with vk genome location Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Displays the current genome directory path, which by default is a .genome folder in the user's home directory. ```bash vk genome location ``` -------------------------------- ### vk vcf2tsv usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/vcf2tsv.md Shows the command-line usage for vcf2tsv, requiring a format choice of wide or long, with optional --print-header and --ANN flags. ```text usage: vk vcf2tsv (wide|long) [--print-header --ANN] ``` -------------------------------- ### Conditional Primer3 options Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md These options depend on specified options or the type of primers being generated. PRIMER_NUM_RETURN can be set with -nprimers, and PRIMER_PRODUCT_SIZE_RANGE can be set for template and sanger options. ```text PRIMER_NUM_RETURN=5 # Can be set using -nprimers PRIMER_PRODUCT_SIZE_RANGE=600-800 # Can be set for template and sanger options. ``` -------------------------------- ### Unacceptable Sanger sequence filenames for sample DL238 Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md These filenames do not work because the sample name DL238 is not exactly matched after splitting the filename using the \W regular expression. ```text testDL238.AB1 testDL23820161205.AB1 ``` -------------------------------- ### Generate fasta-alignment from stdin Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Filters variants using bcftools and pipes the result to vk phylo fasta via stdin, using '-' to read from standard input. ```bash bcftools filter --set-GTs . --exclude 'FMT/DP < 20' data/test.vcf.gz | vk phylo fasta - ``` -------------------------------- ### Add suffix to sample names with vk rename Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/rename.md Adds a suffix to all sample names in the VCF. The output is written to stdout. ```bash vk rename --suffix="_BCFTOOLS" ``` -------------------------------- ### vk primer snip --enzymes usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md These commands show how to specify restriction enzymes for the snip command. Use a single enzyme name, a comma-delimited list, or a group (ALL, Common, HF). ```bash vk primer snip --ref=WBcel235 --enzymes=DraI data/test.vcf.gz # Specify a single restriction enzyme vk primer snip --ref=WBcel235 --enzymes=DraI,BssAI # Specify a list by delimiting with a comma vk primer snip --ref=WBcel235 --enzymes=HF # Specify a group of enzymes; All/Common/HF ``` -------------------------------- ### Add prefix to sample names with vk rename Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/rename.md Adds a prefix to all sample names in the VCF. The output is written to stdout, so it is best used in a pipe. ```bash vk rename --prefix="GATK_" ``` -------------------------------- ### Search NCBI genomes with vk genome --search Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Searches the NCBI genome database for a genome by term. Outputs a table of results with assembly accession, bioproject, organism name, and asm_name. ```bash vk genome --search="Human cyclovirus" ``` -------------------------------- ### Plot a phylogeny in your web browser Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Generates a plot of a phylogeny in a web browser by adding the --plot flag to the phylo tree command. ```bash vk phylo tree nj --plot ``` -------------------------------- ### Generate fasta-alignment from variant calls Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Generates a fasta file by concatenating all single-nucleotide variants from a VCF for each sample. The first allele of each genotype is used; missing values are replaced with 'N'. Heterozygous calls should be avoided. ```bash vk phylo fasta ``` -------------------------------- ### Download WormBase genome with vk genome wormbase Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Downloads a reference genome from WormBase using the specified assembly name. ```bash vk genome wormbase --ref=WS245 ``` -------------------------------- ### Continuous sliding window: vk tajima 1E5 --sliding Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/tajima.md Calculates Tajima's D across a 100,000 bp sliding window that captures every unique bin of variants that fall within 100,000 bp of one another. Uses scientific notation for window-size and the --sliding flag. ```bash vk tajima 1E5 --sliding ``` -------------------------------- ### Combine rename operations with vk rename Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/rename.md Combines substitution, prefix, and suffix operations. Substitutions are performed first, then prefix, then suffix. ```bash vk rename --prefix PREFIX_ --suffix _SUFFIX --subst=N2:REFERENCE_SAMPLE ``` -------------------------------- ### Set genome directory with vk genome Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Changes the genome directory to the specified path. ```bash vk genome /path-to-my-new-genome-directory ``` -------------------------------- ### HTML skeleton with Raphael and jsPhyloSVG includes Source: https://github.com/andersenlab/vcf-kit/blob/master/vcfkit/static/jsphylosvg-1.55/readme.txt Required HTML structure for using jsPhyloSVG. Includes the Raphael library and jsPhyloSVG script, and a div element with id 'svgCanvas' where the tree will be rendered. ```html
``` -------------------------------- ### Acceptable Sanger sequence filenames for sample DL238 Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/call.md These filenames are acceptable ways to specify the sample DL238. The sample name is extracted by splitting the filename using the regular expression \W. The sample name must match exactly among the split pieces. ```text DL238.AB1 DL238.fa DL238.fastq.gz DL238.20161205.fq.gz DL238_20161205.fq.gz DL238-20161205.fq.gz ``` -------------------------------- ### Sliding window: vk tajima 100,000 1,000 Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/tajima.md Calculates Tajima's D across a 100,000 bp sliding window that moves 1,000 bp with each iteration. ```bash vk tajima 100,000 1,000 ``` -------------------------------- ### Generate a UPGMA tree Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Constructs an unweighted pair group method with arithmetic-mean (UPGMA) tree from a VCF. Output is in Newick format. ```bash vk phylo tree upgma ``` -------------------------------- ### vk hmm command usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/hmm.md Basic command-line invocation for vk hmm. Requires a VCF file and two parent identifiers, --A and --B, which can be REF or ALT. Designed for low-coverage RIL or NIL data. ```bash vk hmm [options] --A= --B= ``` -------------------------------- ### vk geno het-polarization usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/geno.md Run the het-polarization subcommand on a VCF file. It adds a FORMAT field (HP) and polarizes heterozygous genotypes based on genotype likelihoods (GL) or Phred-scaled genotype likelihoods (PL). The HP field can be AA, AB, or BB. ```bash vk geno het-polarization ``` -------------------------------- ### Calculate allele frequency spectrum Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/calc.md Generates a table showing the number of records and the corresponding frequency for alternative alleles. ```bash vk calc spectrum ``` -------------------------------- ### Bin calculation: vk tajima 1,000,000 1,000,000 Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/tajima.md Calculates Tajima's D using 100,000 bp bins (non-overlapping) across the genome. The command uses window-size and step-size as the same value to avoid overlap. ```bash vk tajima 1,000,000 1,000,000 ``` -------------------------------- ### vk geno transfer-filter usage Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/geno.md Run the transfer-filter subcommand on a VCF file. It adds a FORMAT field (FT) and transfers filters from the FILTER column to the FT field, useful for tracking per-sample filters after merging individually called variants. ```bash vk geno transfer-filter ``` -------------------------------- ### Calculate genotype frequencies Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/calc.md Uses the --frequency flag to output the relative frequencies of each genotype category instead of raw counts. ```bash vk calc genotypes --frequency ``` -------------------------------- ### Plot a phylogeny using R Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md R script to read a Newick tree file and plot it using ggplot2 and phyloseq. Requires tidyverse, ape, ggmap, and phyloseq. ```r library(tidyverse) library(ape) library(ggmap) library(phyloseq) tree <- ape::read.tree(paste0("treefile.newick")) # Optionally set an outgroup. # tree <- root(tree,outgroup = "outgroup", resolve.root = T) treeSegs <- phyloseq::tree_layout( phyloseq::phy_tree(tree), ladderize = T ) treeSegs$edgeDT <- treeSegs$edgeDT %>% dplyr::mutate(edge.length = ifelse(edge.length < 0, 0, edge.length) , xright = xleft + edge.length ) edgeMap = aes(x = xleft, xend = xright, y = y, yend = y) vertMap = aes(x = x, xend = x, y = vmin, yend = vmax) labelMap <- aes(x = xright+0.0001, y = y, label = OTU) ggplot(data = treeSegs$edgeDT) + geom_segment(edgeMap) + geom_segment(vertMap, data = treeSegs$vertDT) + geom_text(labelMap, data = dplyr::filter(treeSegs$edgeDT, !is.na(OTU)), na.rm = TRUE, hjust = -0.05) + ggmap::theme_nothing() + scale_x_continuous(limits = c( min(treeSegs$edgeDT$xleft)-0.15, max(treeSegs$edgeDT$xright)+0.15 ), expand = c(0,0)) ``` -------------------------------- ### Calculate sample homozygous genotypes Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/calc.md Calculates the frequency of homozygous genotypes by sample, identifying counts of singletons, doubletons, etc. ```bash vk calc sample_hom_gt ``` -------------------------------- ### Filter variants with at least one homozygous REF and ALT Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/filter.md Pipes two vk filter commands to return only variants with at least one homozygous REF and one homozygous ALT call, then compresses the output with bcftools. ```bash vk filter REF --min=1 | vk filter ALT --min=1 - | bcftools view -O z > one_homozygous.vcf.gz ``` -------------------------------- ### Bash alias for genome directory Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/genome.md Bash alias to access the currently set genome directory using the GENOME variable. Add to .bash_profile. ```bash alias GENOME=`vk genome location` ``` -------------------------------- ### Operate on specific region Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Generates a UPGMA tree for a specific genomic region (e.g., 'I:1-10000'). ```bash vk phylo tree upgma I:1-10000 ``` -------------------------------- ### Operate on specific chromosome Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/phylo.md Generates a UPGMA tree for a specific chromosome (e.g., 'I'). ```bash vk phylo tree upgma I ``` -------------------------------- ### Filter variants with at most 3 heterozygous calls Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/filter.md Returns variants with no more than 3 heterozygous calls using the HET filter and --max=3. ```bash vk filter HET --max=3 ``` -------------------------------- ### Primer3 sequence template Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/primer.md This option changes for each variant and contains the region down- and upstream of the variant. ```text SEQUENCE_TEMPLATE ``` -------------------------------- ### Soft-filter variants with high missing rate Source: https://github.com/andersenlab/vcf-kit/blob/master/docs/filter.md Soft-filters variants with greater than 10% missing calls by adding the HIGH-MISSING filter to the FILTER column, replacing existing filters due to --mode=x. ```bash vk filter MISSING --max=0.90 --soft-filter=HIGH-MISSING --mode=x ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.