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.

BaseRecalibrator

Hi:
i met errors in my recalibration process.
every time errors occur, the messages put "don't post the errors",and then i can find solution in FAQ or furom.
however, this time, it tells me to post the errors. i tried to find sulotion, but failed.
i am new to GATK, and know little about java.

here is the command:

nohup java -Xmx50g -Djava.io.tmpdir=/tmp\
-jar $GATKdir/GenomeAnalysisTK.jar \
-T BaseRecalibrator \
-R ~/data/ReferAll/sortedIndex/ucsc.hg19.sorted.fasta \
-I ~/projects/TWINS/WGC007813/WGC007813.sai.sam.dedup.realigned.bam \
-knownSites ~/data/ReferAll/bundle/dbsnp_137.hg19.sorted.vcf \
-knownSites ~/data/ReferAll/bundle/1000G_phase1.indels.hg19.sorted.vcf \
-knownSites ~/data/ReferAll/bundle/Mills_and_1000G_gold_standard.indels.hg19.sorted.vcf \
-o ~/projects/TWINS/WGC007813/WGC007813.sai.sam.dedup.realigned.bam.recal.grp \

~/projects/TWINS/WGC007813/no.BaseRecalibrator.out &

and this is the errors message!


Best Answer

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MA admin
    Accepted Answer

    Okay, the good news is that you don't need to know any java to run GATK :)

    So, it looks like some of your reads have a CIGAR string that is causing errors. You may be able to bypass this issue by adding -rf BadCigar to your command. Let me know if that doesn't work.

    Also, in future, can you please just copy and paste the text of the errors, rather than give a screenshot? It is better for several reasons which I won't go into.

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie admin
    Accepted Answer

    Okay, the good news is that you don't need to know any java to run GATK :)

    So, it looks like some of your reads have a CIGAR string that is causing errors. You may be able to bypass this issue by adding -rf BadCigar to your command. Let me know if that doesn't work.

    Also, in future, can you please just copy and paste the text of the errors, rather than give a screenshot? It is better for several reasons which I won't go into.

  • edwardhustedwardhust ChinaMember

    Hi: Auwera!
    thank you so much!! i solved my problem as you told me add "-rf BadCigar" option, i am sorry about the screenshot; until you replied to me did i realize that it's difficult to read my problem clearly because of the text composing, and pics which were not showing. i am sorry!!and thank you!

Sign In or Register to comment.