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.
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!


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.
Powered by Vanilla. Made with Bootstrap.
Picard 2.9.0 is now available. Download and read release notes here.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

BaseRecalibrator

edwardhustedwardhust ChinaMember Posts: 2

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, MAMember, Administrator, Broadie Posts: 11,421 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.

    Geraldine Van der Auwera, PhD

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie Posts: 11,421 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.

    Geraldine Van der Auwera, PhD

  • edwardhustedwardhust ChinaMember Posts: 2

    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.