Error in GATK BaseRecalibrator arguments
I tried to recalibrate the bases of my complete genome assembly, but it gave the following error:
invalid argument `I`
I used this command:
-gatk BaseRecalibrator \
-I my_reads.bam \
-R reference.fasta \
--known-sites sites_of_variation.vcf \
--known-sites outro / opcional / setOfSitesToMask.vcf \
-O recal_data.table
I wrote:
gatk BaseRecalibrator \I- /home/ims.santos06/bam/SRR062634.bam -- home/ims.santos06/bam/Hg38knownindels.vcf -R \home/ims.santos06/reference/hg38.fa -O /home/ims.santos06/bam/SRR062634recal_data.table
• 6,527 views
•
link
1 answer
thanks. You must index vcf and then use the command below:
gatk IndexFeatureFile.
gatk is running recalibration. I believe now it worked
• 0 views
•
link
Log in to answer this question.
I see two command , what did you wrote in the end ?
what is that
\I-?what was the error message ?
This message appeared:
From what I understand I should add the covariates to the input, but I don't know how.
Could you post the exact command you used. FYI you should use
-Iand notI-I used this command:
This message Appeared:
manubiomed20 : Please use
ADD COMMENT/ADD REPLYwhen responding to existing posts to keep threads logically organized.SUBMIT ANSWERis only for new answers to the original question.