The current GATK version is 3.7-0
Examples: Monday, today, last week, Mar 26, 3/26/04

#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

#### ☞ Did you remember to?

1. Search using the upper-right search box, e.g. using the error message.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

#### ☞ Formatting tip!

Surround blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ` ) each to make a code block.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

# Include no-calls in vcf with only variant sites

Member Posts: 14

Is there a way to include only variant sites and no-calls in your final vcf. I know during SNP calls you can only emit variants, or only confident sites or all. However is there a way to reduce your vcf in the end to only variant sites (vsqr passed) and places where no calls could be made. So the end vcfs have only variant sites and missing data - and everything that is not listed in the vcf file is reference. I need such a file for merging with other vcf files - so that every position that is not in the vcfs while merging can be called ref.

So far i have called snps with emit-all and done vsqr - I now want to reduce vcfs in size by excluding NO_VARINATION sites (but want to keep information on "missing" sites)

Tagged:

• OsloMember Posts: 2

I am also interested in obtaining a vcf including only confident varants and sites with missing data. I could not find the recommended workflow for this; could you please direct me to it? I'm working with a haploid genome, and have therefore been using the UnifiedGenotyper followed by VariantFiltation. To obtain data for the missing regions I have up until now relied on grep of a vcf emitting all sites.

I would recommend using DiagnoseTargets to identify sites that cannot be called.

Geraldine Van der Auwera, PhD

• OsloMember Posts: 2

Thank you for your recommendation. Since my goal is to create a consensus fasta file from the vcf; I am however concerned about the correspondence between missing data from DiagnoseTargets and sites with missing data in the UnifiedGenotyper vcf (I am correct to assume that sites with missing data are marked by ./. in the last (bar) column of the vcf?)
I also tried running the DiagnoseTargets tool on my dataset, but got the following error:

##### ERROR stack trace

java.lang.NullPointerException