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.

Haplotypecaller: Problem with using ploidy argument.

nasimstnasimst Leuven, BelgiumMember

Dear GATK team,

I tried to fix the ploidy issue with sex chromosome in my pipeline, based on the information that I got from the previously asked questions.
However, when I run that, there is No difference in my output with -ploidy 1 and the default. I tried it also with nightly version but it did not work also.

My commands:

cmd="/usr/bin/time -a -v -o ${samplePrefix}.xy.timing java \
-Xmx10g -jar ${gatkPath}/GenomeAnalysisTK.jar \
-T HaplotypeCaller \
-R ${refGenome} \
-I ${sampleInputPrefix}.${fileExt} \
--emitRefConfidence GVCF \
--variant_index_type LINEAR \
--variant_index_parameter 128000 \
--dbsnp ${dbSNPall} \
--sample_ploidy 1
-L ${targetxy} \
-o ${samplePrefix}.${build}.xy.HC.g.vcf.gz \
-nct ${threads} \
-log ${samplePrefix}.xy.log"

Thanks!

Answers

Sign In or Register to comment.