On 02/26/2015 02:51 PM, John Chilton wrote:
Just to make sure - since it hasn't been explicitly stated - is this
tool being installed from the tool shed? The environment variable
setup in tool_dependencies.xml will only be available for tool shed

no, my future plan is to put it in the tool shed but for now, I'm just trying to make it run in my local instance of galaxy.

I'm sorry if that wasn't clear.

I've just downloaded the latest version of galaxy via https://bitbucket.org/galaxy/galaxy-dist/get/tip.zip ( galaxy-galaxy-dist-02ddea42faad.zip )
and re-tried.

I tried to print the variable $__tool_directory__ with the tool.xml below

but it's not defined

$ cat /tmp/error7.txt
dir= .
Error: Could not find or load main class com.github.lindenb.jvarkit.tools.vcffilterjs.VCFFilterJS

the xml:

   <?xml version="1.0"?>
   <tool hidden="false"
   version="1.0.0" name="vcffilterjs">
        <requirement type="binary">java</requirement>

      <command><![CDATA[echo "dir=\$__tool_directory__ ." >
   /tmp/error7.txt && java -cp
   com.github.lindenb.jvarkit.tools.vcffilterjs.VCFFilterJS -e
   '${expression}' -o ${output} ${input}  2>> /tmp/error7.txt ]]></command>
            <param format="vcf" name="input" type="data" label="VCF
            <param name="expression" type="text" label="javascript
                         <valid initial="string.printable">
                 <remove value="&apos;"/>
            <data format="vcf" name="output"/>
        <exit_code range="1:"/>
        <exit_code range=":-1"/>

Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

To search Galaxy mailing lists use the unified search at:

Reply via email to