Question: How to Refer Self URL in Datasource Tools
1
gravatar for Ryota Yamanaka
3.4 years ago by
Japan
Ryota Yamanaka10 wrote:

I would like to make Galaxy tools to open external datasources that are running on the same host as local Galaxy server. Now the Galaxy can refer the datasources with the following URL description (when this IP is fixed).
    <inputs action="http://192.168.1.1/biomart/martview" .. >

But the IP of the host may not be fixed (e.g. my Galaxy server is a VM and portable). So I tried the followings and found they don't work.
    <inputs action="./biomart/martview" .. >
    <inputs action="?{URL}/biomart/martview" .. >

Could you give me any advice?    Thanks.

tool • 758 views
ADD COMMENTlink modified 3.3 years ago • written 3.4 years ago by Ryota Yamanaka10
1
gravatar for Daniel Blankenberg
3.3 years ago by
Daniel Blankenberg ♦♦ 1.7k
United States
Daniel Blankenberg ♦♦ 1.7k wrote:

Does something like this work:

<inputs action="../biomart/martview" check_values="false" method="get">

where e.g. your Galaxy server is at "http://192.168.1.1" and biomart is at "http://192.168.1.1/biomart/martview".

ADD COMMENTlink written 3.3 years ago by Daniel Blankenberg ♦♦ 1.7k
0
gravatar for Ryota Yamanaka
3.3 years ago by
Japan
Ryota Yamanaka10 wrote:

Yes, it works!

My Galaxy is at "http://192.168.1.1/galaxy" and the URL should be describe as <inputs action="../../biomart/martview" .. >.

Thank you, it was very helpful!

ADD COMMENTlink written 3.3 years ago by Ryota Yamanaka10
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: 85 users visited in the last hour