Question: custom tool and text file
0
gravatar for snehalbpatil87
21 months ago by
snehalbpatil8730 wrote:

Hello everyone:

I am working on local instance of galaxy . My tool runs the bash script which needs the text file during execution. I want to avoid adding hard coded path to the file. Is there any way to keep the file in global location folder where tool can access it or do I need to hard code the path of that text file?

dependencies tool local custom • 516 views
ADD COMMENTlink modified 21 months ago by Jennifer Hillman Jackson25k • written 21 months ago by snehalbpatil8730
0
gravatar for Jennifer Hillman Jackson
21 months ago by
United States
Jennifer Hillman Jackson25k wrote:

Hello,

Short answer: hard-coded

As far as I know, if a tool needs a specific external input that is not a dataset in the working history, then it needs to be included with the wrapped tool as a dependency. This would mean the file is included in the wrapper directly or it is in a distinct dependency package that is referenced by version. Even genome data referenced by tools (created by Data managers) have hard-coded paths to the file locations.

If someone else knows a way around this, please share.

Thanks, Jen, Galaxy

ADD COMMENTlink modified 21 months ago • written 21 months ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 127 users visited in the last hour