Hi all,
I've been prepping my data to input to GATK's Variant Manipulation Tool VariantsToBinaryPed
, but I just realized that GATK4 doesn't list this tool in its documentation. It is only under the GATK3 documentation. Is there a reason for this?
A bit of background - I need to convert my VCF and accompanying family info into PLINK's binary ped file(set), .bed / .bim / .fam
to check for pedigree errors using KING.
I was able to install GATK4 after the usual new software hassles - and I'm worried I'll have to install GATK3 instead to actually use VariantsToBinaryPed
!
Running the example in the documentation (which I just realized is under GATK3):
java -jar GenomeAnalysisTK.jar \
-T VariantsToBinaryPed \
-R reference.fasta \
-V ~/MIPS_CSE/MIPS-02-13-18.vcf.bgz \
-m ~/MIPS/03_IdentityCheck/KING/targeted_seq_ped.fam \
-bed output.bed \
-bim output.bim \
-fam output.fam
returns:
`Error: Unable to access jarfile GenomeAnalysisTK.jar`
Will I have to install GATK3 to use this tool? If so, can GATK3 and GATK4 coexist on my system?
Thanks for any info.
Any reason you aren’t using plink —vcf for this? plink 2.0 keeps track of ref/alt alleles if that matters to you.
Hi @chrchang523 -- I haven't been able to get PLINK running on my computer, so I've decided to stick to GATK for now, as at least that one is running...
There are prebuilt Mac binaries; what problem occurs when you try to run them? I haven’t heard of anyone with OS X 10.7 or later having a problem getting started.
Thanks @chrchang - I was able to get PLINK going after switching to my desktop in the lab.