Entering edit mode
5.9 years ago
jaqx008
▴
110
Hey guys. I am trying to perform variant calling on a whole genome. the command requires I install some applications. I was able to install all except the GATK-toolkit. I downloaded the latest version and unable to install it. I was told to point the directory to the folder containing the GATK but this did not work. Does any body has an idea how I can successfully install this tool?
Link the page to the directions for installing GATK that you are following. Also list specific commands you used and any errors that you got.
the link to the page to install GATK https://gatkforums.broadinstitute.org/gatk/discussion/2899/howto-install-all-software-packages-required-to-follow-the-gatk-best-practices
The command I ran was
You appear to have an extra
$
before the jar files path. I am assuming rest of the file names are correct. Try the following. This version of GATK requires Java 1.8. Hopefully that is what you have.The extra $ is the one preceding the current directory. But ok, let me try.
I got this error. Error: Invalid or corrupt jarfile /Users/flynt/Downloads/gatk-4.0.0.0/FATK.jarfiles
I am not sure what you have downloaded since I can't see these files in GATK v.4.0 that I just downloaded and unzipped. I just have an executable called
gatk
ingatk-4.0.0.0
folder and if I run it I get this.Thanks. Looks good, but the error shifted to the Haplotype part. Error: Unable to access jarfile HaplotypeCAller
Commands for GATK v.4.0 appear to be different.
You may want to consider going back to GATK v.3.x, if you continue to have issues. GATK v.4.0 is brand new and the documentation may not be current/available in all cases.
You are right. Let me try that and see what happens.
I got the 3.3 version and it worked out with the example files that comes with it. Thanks for your suggestions. Thanks again. my command is now
I have ensured all the supporting files .bai, .fai, .dict are available in the folder. yet I get the following error
Perhaps you need to amend your
$PATH
.export PATH=/Volumes/500GB/pavelAssemblyBowtieIndex/:$PATH
Its still generating same error. Frustrating... :(
You may need to recreate
.dict
files with v.3.x, if you had done them with v 4.0 previously. Those two versions are likely incompatible.Are you talking about the picard version?
Sorry. I forgot that
.dict
files are made using picard. Not sure why are you getting that error if all three files are in the same directory. Try re-creating the dict file just in case.Using a case. I am not sure what this mean.
If by some chance either
.dict
and/or.fai
files are corrupt (which may be causing the error message) you could try to re-create both and see if that helps.I just did. The error is still on the .dict. or could it be that my reference genome is a .fa? this should be the same as .fasta I guess.
Hello Genomax. I realized my dict file name was not same as the fast file name. I corrected that and that error was resolved. I have a new error which says my bam lacks read group and I found a command to add the read groups.I am currently running the command. Thought I should keep you posted. Thanks again.