how to perform the RealignerTargetCreator when there is not this algorithm anymore
0
0
Entering edit mode
3.6 years ago
Learner ▴ 250

I am trying to use the GATK to realign bam file

Normally I could this this using old version

java -jar GenomeAnalysisTK.jar -T RealignerTargetCreator -R hg19.fa -I sorted.bam -o sorted.intervals


Now there is not any GenomeAnalysisTK.jar or RealignerTargetCreator and I am using a newer version of GATK. So if I want to use the older version, I should downgrade my java (it is a pain in Mac) If I want to use the newer one, I don't know how to use it.

I found a command on their web someone was using and it is like this

gatk RealignerTargetCreator -R hg19.fa -I sorted.bam -nt 6 -o test.intervals


however, I get the following errors

Exception in thread "main" java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile for class org/broadinstitute/barclay/argparser/CommandLineProgramGroup. Method lambda$static$0(Lorg/broadinstitute/barclay/argparser/CommandLineProgramGroup;Lorg/broadinstitute/barclay/argparser/CommandLineProgramGroup;)I at index 43 is CONSTANT_MethodRef and should be CONSTANT_InterfaceMethodRef


anyone could give me an idea what is going on?

genomics • 4.2k views
1
Entering edit mode

Indel Realignment is no longer neccassery and recommended by GATK, if you use the HaplotypeCaller.

So stop wasting your time ;)

fin swimmer

0
Entering edit mode

@finswimmer but what about the error I get? why I get those errors when I don't use the Indel Realignment ?

0
Entering edit mode

In my case, I need the indel Realignment for other variant callers such as Lofreq and CRISP. Also, I get the same exact error even if I just use:

gatk --list