Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.
Attention:
We will be out of the office for a Broad Institute event from Dec 10th to Dec 11th 2019. We will be back to monitor the GATK forum on Dec 12th 2019. In the meantime we encourage you to help out other community members with their queries.
Thank you for your patience!

Calling SNPS/indel by unified genotyper

Hi,

I was using GATK UnifiedGenotyper for SNPs/indels. My command is as follows:

java -Xmx16g -jar $gatkPath/GenomeAnalysisTK.jar \
-T UnifiedGenotyper \
-R $humanRefSequence \
-I "$sampleID".recal.bam \
--dbsnp $humanDbsnpFile \
-stand_call_conf 30.0 \
-stand_emit_conf 10.0 \
-dcov 250 \
-l INFO -log "$sampleID".GATKvariants.log \
-o "$sampleID".GATKvariants.raw.vcf \
--output_mode EMIT_ALL_SITES

When I am selecting Indels from the vcf file, it's producing an empty vcf file (which is working fine with SNPs). My command for selecting Indels are as follows:

java -Xmx10g -jar $gatkPath/GenomeAnalysisTK.jar \
-T SelectVariants \
-R $humanRefSequence \
--variant "$sampleID".GATKvariants.raw.vcf \
-o "$sampleID".GATKindels.raw.vcf \
-selectType INDEL \
-log "$sampleID".SelectIndels.log

Do I need to use "-glm BOTH" in UnifiedGenotyper to output both SNPs and Indels? As from the documentation, I understand that the default value of -glm is set to SNP.

Many thanks in advance.

Best Answer

Answers

  • drashu_11drashu_11 Member

    Hi

    I have 4 GATK recalibrated bamfiles for cow genomic sequences
    I call SNP for multiple bam files using GATK UnifiedGenotyper by following command

    $java -Xmx100g -jar GenomeAnalysisTK.jar -T UnifiedGenotyper -R umd3.1_genome.fa
    -I Sample_1_rcal.bam -I Sample_2_rcal.bam -I Sample_3_rcal.bam -I Sample_4_rcal.bam
    --dbsnp cow_dbsnp133_snps_indels.vcf -o snps.raw.vcf
    --min_base_quality_score 30 -stand_call_conf 50 – stand_emit_conf 10
    -dcov 200

    I tried twice by rearranging the postion of input files, but each time I have output file with only 3 samples

    I need help to overcome this problem

    Thank you

  • CarneiroCarneiro Charlestown, MAMember admin

    maybe two of your files have the same sample tag in the read group?

Sign In or Register to comment.