Closed snashraf closed 3 years ago
Like the error says, you need a map, not a string for the inheritance modes. This is the original from the test-analysis-exome.yml
file in the examples directory:
inheritanceModes: {
AUTOSOMAL_DOMINANT: 0.1,
AUTOSOMAL_RECESSIVE_HOM_ALT: 0.1,
AUTOSOMAL_RECESSIVE_COMP_HET: 2.0,
X_DOMINANT: 0.1,
X_RECESSIVE_HOM_ALT: 0.1,
X_RECESSIVE_COMP_HET: 2.0,
MITOCHONDRIAL: 0.2
}
if you only want to investigate autosomal dominant you can remove the other key-value pairs e.g.
inheritanceModes: {
AUTOSOMAL_DOMINANT: 0.1
}
The numerical value is the maximum frequency cut-off (as a percentage) allowed for that mode of inheritance.
Thanks Jules !!
It was very useful although a little late !! ;)
Dear team,
below is my command for running exomiser java -Xms4g -Xmx8g -Djava.io.tmpdir=/gpfs/projects/HPO//tmp -jar /gpfs/software/genomics/Exomiser/12.1.0/exomiser-cli-12.1.0/exomiser-cli-12.1.0.jar --analysis /gpfs/projects/HPO//fam_2.yaml --spring.config.location=/gpfs/software/genomics/Exomiser/12.1.0/exomiser-cli-12.1.0/
And YAML file looks like below:
Exomiser Analysis Template.
But I am getting the below error.
consider removing this from your analysis script to prevent this message from showing again. 2021-03-03 16:36:07.980 ERROR 14442 --- [ main] o.m.e.cli.ExomiserCommandLineRunner :
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map at org.monarchinitiative.exomiser.core.analysis.AnalysisParser$AnalysisConstructor.inheritanceModeOptions(AnalysisParser.java:310) at org.monarchinitiative.exomiser.core.analysis.AnalysisParser$AnalysisConstructor.construct(AnalysisParser.java:235) at org.monarchinitiative.exomiser.core.analysis.AnalysisParser.constructAnalysisFromMap(AnalysisParser.java:121) at org.monarchinitiative.exomiser.core.analysis.AnalysisParser.parseAnalysis(AnalysisParser.java:85) at org.monarchinitiative.exomiser.cli.ExomiserCommandLineRunner.runAnalysisFromScript(ExomiserCommandLineRunner.java:122) at org.monarchinitiative.exomiser.cli.ExomiserCommandLineRunner.runAnalyses(ExomiserCommandLineRunner.java:83) at org.monarchinitiative.exomiser.cli.ExomiserCommandLineRunner.run(ExomiserCommandLineRunner.java:74) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:813) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:797) at org.springframework.boot.SpringApplication.run(SpringApplication.java:324) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) at org.monarchinitiative.exomiser.cli.Main.main(Main.java:44)
2021-03-03 16:36:07.989 INFO 14442 --- [ main] com.zaxxer.hikari.HikariDataSource : exomiser-phenotype-1909 - Shutdown initiated... 2021-03-03 16:36:07.997 INFO 14442 --- [ main] com.zaxxer.hikari.HikariDataSource : exomiser-phenotype-1909 - Shutdown completed. 2021-03-03 16:36:07.997 INFO 14442 --- [ main] org.monarchinitiative.exomiser.cli.Main : Exomising finished - Bye!
Can someone help me with this?