Skip to content

snapper error (but not with snapp) #6

@atigano

Description

@atigano

Hi,
I've prepared the input files in the same identical way for both snapp and snapper using the script snapp_prep.rb by Matschiner.

ruby $ANNA/sw/snapp_prep.rb -a SNAPP -v kokanee_batch123p_filtered_nomiss_maf05_0miss_maxd20_hwe_1sample.vcf -s tree_tremix_m0.txt -c constraint.txt -t ind2pop.txt -m 1000
ruby $ANNA/sw/snapp_prep.rb -a SNAPPER -v kokanee_batch123p_filtered_nomiss_maf05_0miss_maxd20_hwe_1sample.vcf -s tree_tremix_m0.txt -c constraint.txt -t ind2pop.txt -m 1000

The analysis is running fine using snapp but I get this error when I use snapper.
Any idea about what could be wrong?
Thanks,
Anna

File: snapper.xml seed: 1657818823876 threads: 1
Loading package BEAST v2.6.3
Loading package snapper v1.0.2
Loading package SNAPP v1.5.2
Loading package BEAST v2.6.3
java.lang.RuntimeException: Programmer error in class snapper.Data: multiple inputs with name rawdata found (perhaps in sub and super classes)
Classes should have unique input names
at beast.core.BEASTInterface.listInputs(Unknown Source)
at beast.core.parameter.Map.setInputValue(Unknown Source)
at beast.util.XMLParser.setInput(Unknown Source)
at beast.util.XMLParser.createBeastObject(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseInputs(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseInputs(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseInputs(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseRunElement(Unknown Source)
at beast.util.XMLParser.parse(Unknown Source)
at beast.util.XMLParser.parseFile(Unknown Source)
at beast.app.BeastMCMC.parseArgs(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at beast.app.beastapp.BeastLauncher.run(Unknown Source)
at beast.app.beastapp.BeastLauncher.main(Unknown Source)

Error 124 parsing the xml input file

Programmer error in class snapper.Data: multiple inputs with name rawdata found (perhaps in sub and super classes)
Classes should have unique input names

Error detected about here:




Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions