How to call a cgi web page in a galaxy folder from a script?
Hello, Now I have a web page (cgi) in a server like www.example.com/myexample.py I want to have the myexample.py file under a galaxy folder. Then, how will I call it inside a script in galaxy? Thank you in advance, Zinon
I'm not sure I fully understand the question, so it may help to clarify. However, while Galaxy is a web application which provides an HTTP interface, it is not a general web server and cannot serve CGI scripts. You might be able to this either with a proxy server in front of Galaxy or by making your script a Galaxy tool, but it depends on what you mean by "how will I call it inside a script in galaxy?". -- James Taylor, Assistant Professor, Biology/CS, Emory University On Sun, Jan 27, 2013 at 2:23 PM, Zinonas Antoniou <z.antoniou@gmail.com> wrote:
Hello,
Now I have a web page (cgi) in a server like www.example.com/myexample.py
I want to have the myexample.py file under a galaxy folder. Then, how will I call it inside a script in galaxy?
Thank you in advance, Zinon ___________________________________________________________ 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:
Hello James, Thank you for your answer. I use open authentication and my script now is in a local server. I call this script from user.py (in lib/galaxy/webapps/galaxy/controllers) and return to me the email of a user in other platform. My script is auth.py (in local server, cgi enable to run in a web browser). Since i want to remove this script from my local server, I want to move it under galaxy. I want a way to call this script from user.py not as an external link, but as a function inside galaxy. Is that more precise? What do you propose? On 30 January 2013 20:16, James Taylor <james@jamestaylor.org> wrote:
I'm not sure I fully understand the question, so it may help to clarify. However, while Galaxy is a web application which provides an HTTP interface, it is not a general web server and cannot serve CGI scripts. You might be able to this either with a proxy server in front of Galaxy or by making your script a Galaxy tool, but it depends on what you mean by "how will I call it inside a script in galaxy?".
-- James Taylor, Assistant Professor, Biology/CS, Emory University
On Sun, Jan 27, 2013 at 2:23 PM, Zinonas Antoniou <z.antoniou@gmail.com> wrote:
Hello,
Now I have a web page (cgi) in a server like www.example.com/myexample.py
I want to have the myexample.py file under a galaxy folder. Then, how will I call it inside a script in galaxy?
Thank you in advance, Zinon ___________________________________________________________ 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:
participants (2)
-
James Taylor
-
Zinonas Antoniou