Re: [galaxy-dev] Path to tool designation in tool config xml

2011-09-07 Thread Timothy Wu
Thanks, this helps. I was running with an interpreter and I didn't realize I
had to had the full path in there. I was expecting that $PATH which contains
the directory the script was located in to take care of it. Thanks you very
much for the clarification.

Timothy
___
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:

  http://lists.bx.psu.edu/

Re: [galaxy-dev] Path to tool designation in tool config xml

2011-09-07 Thread Nate Coraor
Timothy Wu wrote:
 Thanks, this helps. I was running with an interpreter and I didn't realize I
 had to had the full path in there. I was expecting that $PATH which contains
 the directory the script was located in to take care of it. Thanks you very
 much for the clarification.

If the script is executable and in your $PATH and has the proper #! line
at the top, you don't need 'interpreter='.

--nate

 
 Timothy

 ___
 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:
 
   http://lists.bx.psu.edu/

___
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:

  http://lists.bx.psu.edu/


[galaxy-dev] Path to tool designation in tool config xml

2011-09-06 Thread Timothy Wu
Hi,

I'm trying the add tool tutorial at
http://wiki.g2.bx.psu.edu/Admin/Tools/Add%20Tool%20Tutorial . It works, but
how do I designate the path of the tool if it's not dropped into the same
directory as the tool config xml? Some executable may not be in the
directory. Surely it couldn't possiblely be the case with external tools
like BLAST, isn't it?! But looking at the BLAST config xmls I couldn't make
out the difference and I didn't find any documentation on how to designate
the path of the tool. Help appreciated, thank you.

Timothy
___
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:

  http://lists.bx.psu.edu/

Re: [galaxy-dev] Path to tool designation in tool config xml

2011-09-06 Thread Peter Cock
On Tue, Sep 6, 2011 at 9:41 AM, Timothy Wu 2hug...@gmail.com wrote:
 Hi,

 I'm trying the add tool tutorial at
 http://wiki.g2.bx.psu.edu/Admin/Tools/Add%20Tool%20Tutorial . It works, but
 how do I designate the path of the tool if it's not dropped into the same
 directory as the tool config xml? Some executable may not be in the
 directory. Surely it couldn't possiblely be the case with external tools
 like BLAST, isn't it?! But looking at the BLAST config xmls I couldn't make
 out the difference and I didn't find any documentation on how to designate
 the path of the tool. Help appreciated, thank you.

 Timothy

Normally on a Unix/Linux system you'd just put the tool on the path
(or add the tool's location to the system path).

Peter
___
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:

  http://lists.bx.psu.edu/


Re: [galaxy-dev] Path to tool designation in tool config xml

2011-09-06 Thread Nate Coraor
Timothy Wu wrote:
 Hi,
 
 I'm trying the add tool tutorial at
 http://wiki.g2.bx.psu.edu/Admin/Tools/Add%20Tool%20Tutorial . It works, but
 how do I designate the path of the tool if it's not dropped into the same
 directory as the tool config xml? Some executable may not be in the
 directory. Surely it couldn't possiblely be the case with external tools
 like BLAST, isn't it?! But looking at the BLAST config xmls I couldn't make
 out the difference and I didn't find any documentation on how to designate
 the path of the tool. Help appreciated, thank you.

Hi Timothy,

If the command interpreter=pythoncommand.py args.../command tag is
used in your tool config, the command line will be assembled as:

python /absolute/path/to/directory/containing/tool.xml/command.py args...

In this case, the interpreter (python) is expected to be found on the
$PATH.

If no interpreter is specified, i.e. commandbinary args.../command
then `binary` is expected to be found on the $PATH.

Hope this helps,
--nate

 
 Timothy

 ___
 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:
 
   http://lists.bx.psu.edu/

___
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:

  http://lists.bx.psu.edu/