Closed happykhan closed 3 years ago
Seems to be unhappy with the 'reference' input
Thanks for reporting the issue @happykhan. It looks like you're right, the program is unhappy with the 'reference' input since it's disconnected from the rest of the workflow.
Could you try deleting the 'reference' input if it's not needed and re-saving the workflow?
Hi.
Yes that works without reference.
Will try a workflow with reference to confirm
On Tue, 15 Jan 2019, 19:35 Aaron Petkau <notifications@github.com wrote:
Thanks for reporting the issue @happykhan https://github.com/happykhan. It looks like you're right, the program is unhappy with the 'reference' input since it's disconnected from the rest of the workflow.
[image: workflow-ref] https://user-images.githubusercontent.com/200517/51204876-41541280-18ca-11e9-8f93-c51b7c2b1a04.png
Could you try deleting the 'reference' input if it's not needed and re-saving the workflow?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phac-nml/irida-wf-ga2xml/issues/4#issuecomment-454521976, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYqmPwFEky8NsY0xNzpr73DyihJtMCAks5vDi12gaJpZM4aA-J7 .
Repeated: with tweak to add link for reference:
and the resulting ga file: Galaxy-Workflow-AssemblyAnnotation.ga.txt
tool_state for reference object doesn't seem to be filled in with "tool_state": "{\"name\": \"reference\"}", bug in galaxy? With this added in, it seems to run. Then falls over when parsing quast module with :
19-01-16 11:22:36 n114308 ERROR [irida-wf-ga2xml.messages:174] - Could not get tool parameter attribute info for {:name "quast", :owner "iuc", :url "https://toolshed.g2.bx.psu.edu", :revision "81df4950d65b", :-comment "WARNING: Latest revision fetched from https://toolshed.g2.bx.psu.edu/repos/iuc/quast"} ; Encountered error: java.lang.IllegalArgumentException: Arg 'kw' is not a Clojure Keyword! class=
Thanks for pointing this out. Yeah, maybe something related to particular versions of Galaxy not setting the tool_state
. I'll try to see what's going on.
For the second failure, I'll look at that too. It's trying to get the particular version of quast
to fill into the IRIDA XML file. If it can't figure things out (like in this case) it defaults to the latest version of quast
in Galaxy, which is the same one you're using so this still works right now.
Hi Guys,
I seem to be facing the same Exception with https://github.com/COMBAT-TB/combat-tb-gx-pipelines/blob/master/varscan/Galaxy-Workflow-VarScan_-_Variant_Calling.ga on Galaxy v19.01
$ java -jar irida-wf-ga2xml-1.0.0-SNAPSHOT-standalone.jar \
> -i Galaxy-Workflow-VarScan_-_Variant_Calling.ga \
> -n VarScanVariantCalling \
> -t VariantCalling \
> -W 0.1.0 \
> -o output
Exception in thread "main" java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:50)
at clojure.data.json$read_str.invokeStatic(json.clj:278)
at clojure.data.json$read_str.doInvoke(json.clj:274)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at irida_wf_ga2xml.util$paired_QMARK_.invokeStatic(util.clj:166)
at irida_wf_ga2xml.util$paired_QMARK_.invoke(util.clj:163)
at irida_wf_ga2xml.core$to_wf_vec.invokeStatic(core.clj:139)
at irida_wf_ga2xml.core$to_wf_vec.doInvoke(core.clj:92)
at clojure.lang.RestFn.invoke(RestFn.java:1305)
at irida_wf_ga2xml.main$_main.invokeStatic(main.clj:103)
at irida_wf_ga2xml.main$_main.doInvoke(main.clj:85)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at irida_wf_ga2xml.main.main(Unknown Source)
Thanks for reporting @thobalose
@apetkau, I seem to have come across the same issue above as @thobalose
and this error is thrown also for the third input specifcation of the ga file.
java -jar irida-wf-ga2xml-1.0.0-SNAPSHOT-standalone.jar -i irida-pipeline-plugins/tb-sample-report-pipeline-plugin/gx_variant_analysis_workflow.ga -n TBSampleReport -t VARIANT_CALLING -W '0.2.1' -o output
Exception in thread "main" java.lang.IllegalArgumentException: No value supplied for key: {"workflow_outputs" [{"label" nil, "output_name" "output", "uuid" "843a2af3-e513-49a7-ab4d-f28c8d4b608e"}], "input_connections" {}, "label" "Read 2", "id" 2, "tool_state" "{\"optional\": false}", "errors" nil, "position" {"left" 200, "top" 398}, "name" "Input dataset", "uuid" "c09e4c17-71f7-4150-831b-f30ca16b8fd0", "outputs" [], "type" "data_input", "tool_version" nil, "annotation" "", "inputs" [{"description" "", "name" "Read 2"}], "content_id" nil, "tool_id" nil}
at clojure.lang.PersistentHashMap.create(PersistentHashMap.java:77)
at irida_wf_ga2xml.util$paired_QMARK_.invokeStatic(util.clj:163)
at irida_wf_ga2xml.util$paired_QMARK_.invoke(util.clj:163)
at irida_wf_ga2xml.core$to_wf_vec.invokeStatic(core.clj:139)
at irida_wf_ga2xml.core$to_wf_vec.doInvoke(core.clj:92)
at clojure.lang.RestFn.invoke(RestFn.java:1305)
at irida_wf_ga2xml.main$_main.invokeStatic(main.clj:103)
at irida_wf_ga2xml.main$_main.doInvoke(main.clj:85)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at irida_wf_ga2xml.main.main(Unknown Source)
Fixed via #19
I created a ga file in galaxy and then ran:
java -jar irida-wf-ga2xml-1.0.0-SNAPSHOT-standalone.jar -i pp.ga.txt
Getting an exception:
ga file below. pp.ga.txt