The current GATK version is 3.8-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!

Get notifications!

You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Got a problem?

1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
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.

Did we ask for a bug report?

Then follow instructions in Article#1894.

Formatting tip!

Wrap blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block as demonstrated here.

Jump to another community
Download the latest Picard release at
GATK version 4.beta.3 (i.e. the third beta release) is out. See the GATK4 beta page for download and details.



I am adapting a two-year old pipeline, which includes UnifiedGenotyper to call variants. I would like to update this to the HaplotypeCaller.
In the command for the UnifiedGenotyper there is an option --metrics_file. I cannot find reference to this in the GATK documentation - do you know what it is and whether I can use it with HaplotypeCaller as well?

Also, do I understand correctly that using HaplotypeCaller to call variants means you don't have to carry out the local realignment around indels step prior to this?

Thanks very much,



  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie

    Hi Kath,

    I think the metrics file argument was deprecated quite some time ago. That is no longer neede with recent version of UG or with the HC.

    It is still useful to do the local realignment step, even if you are going to use HaplotypeCaller to call variants. Best not to skip it.

  • KathKath Member

    Thanks Geraldine. So, there is no option I need to use instead of the --metrics_file argument? It is fine to use the "typical" command line architecture as outlined in the HaplotypeCaller documentation?

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie

    That's correct. We have changed very many things over the past two years. There is rarely a one-to-one correspondence between old and new arguments. So I would encourage you to start from the basic commands given as examples in the documentation, and then build on that, adding arguments based on what you want to achieve, rather than trying to emulate old commands.

  • SharonCoxSharonCox Member
    edited May 2013

    Dear Geraldine I also passed from UG to HC (GATK version 2.3-9-ge5ebf34), I used the following command :

    java -Xmx4g -jar PATH/GenomeAnalysisTK-2.3-9-ge5ebf34/GenomeAnalysisTK.jar -R PATH/hg19_2.fa -T HaplotypeCaller -I PATH/recalibrated.bam --dbsnp PATH/dbsnp_137.hg19.vcf -o HC.vcf --minPruning 5 -stand_call_conf 50.0 -stand_emit_conf 10.0 -dcov 200 -A DepthOfCoverage -A AlleleBalance -A FisherStrand -L PATH/converted_TruSeq_exome_targeted_regions_GRCh37.bed

    The output was ok apart from the fact that ID line of the vcf format was not compiled:


    Is there a way that I can add the ID afterwards since I have called variants for 24 samples and I would not want to do launch the command again since it takes quite a long time to process? and why is the ID missing in the first place? I also tried to sustitute --dbsnp with -D but I obtained the same results.
    Thanks for your help

    Post edited by SharonCox on
  • CarneiroCarneiro Charlestown, MAMember
    edited May 2013

    The HaplotypeCaller does not cross populate the ID field with the rsID of dbSNP yet, this is in the shortlist to be implemented though.

Sign In or Register to comment.