Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

Build Error in Mutect: GATK-Framework

Hi everyone,
I am trying to install mutect on a Mac (El Capitan). The command

mvn -Ddisable.queue install

Is throwing this error message and I'd need you help here.
[INFO] 5 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/gladbach/mutect-src/gatk-protected/public/gatk-framework/src/main/java/org/broadinstitute/sting/gatk/walkers/annotator/interfaces/AnnotationInterfaceManager.java:[129,24] no suitable method found for add(java.lang.Object)
method java.util.Collection.add(T) is not applicable
(argument mismatch; java.lang.Object cannot be converted to T)
method java.util.List.add(T) is not applicable
(argument mismatch; java.lang.Object cannot be converted to T)
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Sting Root ......................................... SUCCESS [ 12.649 s]
[INFO] Sting Aggregator 3.1 ............................... SUCCESS [ 6.803 s]
[INFO] Sting GSALib ....................................... SUCCESS [ 8.717 s]
[INFO] Sting Utils ........................................ SUCCESS [ 18.388 s]
[INFO] GATK Framework ..................................... FAILURE [ 13.509 s]
[INFO] GATK Protected ..................................... SKIPPED
[INFO] GATK Package ....................................... SKIPPED
[INFO] Sting Public ....................................... SKIPPED
[INFO] Sting Protected 3.1 ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2018-03-14T13:47:34+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (compile-java) on project gatk-framework: Compilation failure
[ERROR] /Users/gladbach/mutect-src/gatk-protected/public/gatk-framework/src/main/java/org/broadinstitute/sting/gatk/walkers/annotator/interfaces/AnnotationInterfaceManager.java:[129,24] no suitable method found for add(java.lang.Object)
[ERROR] method java.util.Collection.add(T) is not applicable
[ERROR] (argument mismatch; java.lang.Object cannot be converted to T)
[ERROR] method java.util.List.add(T) is not applicable
[ERROR] (argument mismatch; java.lang.Object cannot be converted to T)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :gatk-framework

Tagged:

Answers

Sign In or Register to comment.