I'm using a locally installed tool in my tool shed (it's picard) and I want to pass it picard's install directory.
When installing picard through galaxy it sets up special galaxy-only environment variables using the tool_dependencies.xml file which each picard tool xml wrapper references. I want to edit one of these variables (JAVA_JAR_PATH) and assign it my own picard install's path. But if I just edit it from:
<action type="set_environment">
<environment_variable name="JAVA_JAR_PATH" action="set_to">$INSTAL_DIR</environment_variable>
</action>
to
<action type="set_environment">
<environment_variable name="JAVA_JAR_PATH" action="set_to">"/opt/mydir/picard-tools-1.79/"
</environment_variable>
</action>
it shows up as empty when I call it in the xml wrapper.
How can I set this variable so that picard's xml tools can access it? Like:
<command interpreter="python"> picard_wrapper.py \$JAVA_JAR_PATH/MarkDuplicates.jar </command>
galaxy
xml
linux
picard