Skip to content

Instantly share code, notes, and snippets.

@jmchilton
Last active August 29, 2015 13:57
Embed
What would you like to do?
Debug Galaxy tool for PBS/TORQUE GALAXY_SLOTS.
<tool id="pbsdebug" name="PBS DEBUG">
<command>
echo \$GALAXY_SLOTS > $out1;
env > $out3;
echo "No PBS_NODEFILE defined." > $out2;
if [ -f "\$PBS_NODEFILE" ]; then cp \$PBS_NODEFILE $out2; fi
</command>
<inputs>
</inputs>
<outputs>
<data format="txt" name="out1" label="Galaxy slots" />
<data format="txt" name="out2" label="PBS_NODEFILE contents" />
<data format="txt" name="out3" label="Cluster worker environment." />
</outputs>
</tool>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment