Question: GATK for gVCF compilation issue
0
gravatar for win
4.8 years ago by
win810
India
win810 wrote:

I want to generate a gVCF file using Google tools and in order to use that a modified version of GATK has to be used. That version can obtained from here:

https://github.com/ctsa/gatk/zipball/gvcf 

When i ran sudo ant from the directory where i unzipped the above file, I got the following errors:

[javac] Compiling 634 source files to /home/sqwork/ctsa-gatk-1017a93/build/java/classes

    [javac] /home/sqwork/ctsa-gatk-1017a93/public/java/src/org/broadinstitute/sting/utils/variantcontext/Genotype.java:332: error: no suitable method found for join(isPhased()[...]RATOR,ignoreRefS[...]s())))
    [javac]         return ParsingUtils.join(isPhased() ? PHASED_ALLELE_SEPARATOR : UNPHASED_ALLELE_SEPARATOR,
    [javac]                            ^
    [javac]     method ParsingUtils.<T>join(String,Collection<T>) is not applicable
    [javac]       (inferred type does not conform to equality constraint(s)
    [javac]         inferred: Allele
    [javac]         equality constraints(s): Allele,String)
    [javac]     method ParsingUtils.join(String,String[]) is not applicable
    [javac]       (argument mismatch; bad type in conditional expression
    [javac]           List<String> cannot be converted to String[])
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>join(String,Collection<T>)
    [javac] /home/sqwork/ctsa-gatk-1017a93/public/java/src/org/broadinstitute/sting/gatk/walkers/annotator/interfaces/AnnotationInterfaceManager.java:98: error: no suitable method found for add(Object)
    [javac]             annotations.add(pluginManager.createByType(c));
    [javac]                        ^
    [javac]     method Collection.add(T) is not applicable
    [javac]       (argument mismatch; Object cannot be converted to T)
    [javac]     method List.add(T) is not applicable
    [javac]       (argument mismatch; Object cannot be converted to T)
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>createAnnotations(PluginManager<T>,List<String>,List<String>)
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 2 errors

I have installed the correct version of JAVA v1.8 and am running it on Ubuntu 14.

Any ideas what might be wrong?

gvcf gatk • 1.8k views
ADD COMMENTlink modified 4.8 years ago • written 4.8 years ago by win810

please check ant **REALLY** uses java 1.8 using `ant -d ` (look at the first lines... )

ADD REPLYlink modified 4.8 years ago • written 4.8 years ago by Pierre Lindenbaum123k
1
gravatar for win
4.8 years ago by
win810
India
win810 wrote:

I think the issue was related to Java version. After I switched to v 1.7, the compilation was successful.

ADD COMMENTlink written 4.8 years ago by win810
0
gravatar for win
4.8 years ago by
win810
India
win810 wrote:

I am getting all sorts of Scala errors...seems like something in scala.compile. Do I have to have a scala compiler installed and where can it be found for Ubuntu 14

ADD COMMENTlink written 4.8 years ago by win810
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2240 users visited in the last hour