Category

Sam/Bam Manipulation


Usage

java -jar picard.jar FilterVcf


Manual

INPUT (File)    The INPUT VCF or BCF file. Required.
OUTPUT (File)    The output VCF or BCF. Required.
MIN_AB (Double)    The minimum allele balance acceptable before filtering a site. Allele balance is calculated for heterozygotes as the number of bases supporting the least-represented allele over the total number of base observations. Different heterozygote genotypes at the same locus are measured independently. The locus is filtered if any allele balance is below the limit. Default value: 0.0. This option can be set to 'null' to clear the default value.
MIN_DP (Integer)    The minimum sequencing depth supporting a genotype before the genotype will be filtered out. Default value: 0. This option can be set to 'null' to clear the default value.
MIN_GQ (Integer)    The minimum genotype quality that must be achieved for a sample otherwise the genotype will be filtered out. Default value: 0. This option can be set to 'null' to clear the default value.
MAX_FS (Double)    The maximum phred scaled fisher strand value before a site will be filtered out. Default value: 1.7976931348623157E308. This option can be set to 'null' to clear the default value.
MIN_QD (Double)    The minimum QD value to accept or otherwise filter out the variant. Default value: 0.0. This option can be set to 'null' to clear the default value.
JAVASCRIPT_FILE (File)    Filters a VCF file with a javascript expression interpreted by the java javascript engine. The script puts the following variables in the script context: 'variant' a VariantContext ( https://samtools.github.io/htsjdk/javadoc/htsjdk/htsjdk/variant/variantcontext/VariantContext.html ) and 'header' a VCFHeader ( https://samtools.github.io/htsjdk/javadoc/htsjdk/htsjdk/variant/vcf/VCFHeader.html ). Last value of the script should be a boolean to tell whether we should accept or reject the record. Default value: null.


Share your experience or ask a question