Category

Sam/Bam Manipulation


Usage

java -jar picard.jar LiftoverVcf I=input.vcfO=lifted_over.vcfCHAIN=b37tohg19.chainREJECT=rejected_variants.vcfR=reference_sequence.fasta


Manual

INPUT (File)    The input VCF/BCF file to be lifted over. Required.
OUTPUT (File)    The output location to write the lifted over VCF/BCF to. Required.
CHAIN (File)    The liftover chain file. See https://genome.ucsc.edu/goldenPath/help/chain.html for a description of chain files. See http://hgdownload.soe.ucsc.edu/downloads.html#terms for where to download chain files. Required.
REJECT (File)    File to which to write rejected records. Required.
REFERENCE_SEQUENCE (File)    The reference sequence (fasta) for the TARGET genome build. The fasta file must have an accompanying sequence dictionary (.dict file). Required.
WARN_ON_MISSING_CONTIG (Boolean)    Warn on missing contig. Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
WRITE_ORIGINAL_POSITION (Boolean)    Write the original contig/position for lifted variants to the INFO field. Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
LIFTOVER_MIN_MATCH (Double)    The minimum percent match required for a variant to be lifted. Default value: 1.0. This option can be set to 'null' to clear the default value.
ALLOW_MISSING_FIELDS_IN_HEADER (Boolean)    Allow INFO and FORMAT in the records that are not found in the header Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}


Share your experience or ask a question