Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
cytoscape integration with local cpath install
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rex.dw...@syngenta.com  
View profile  
 More options Oct 22 2008, 12:48 pm
From: <rex.dw...@syngenta.com>
Date: Wed, 22 Oct 2008 11:48:29 -0500
Local: Wed, Oct 22 2008 12:48 pm
Subject: cytoscape integration with local cpath install

I am trying to integrate cytoscape with a local mirror of pathway
commons behind our company firewall.  I am running cytoscape 2.6.1 and
trying to use the "new" cpath interface  File->Import->Network from web
services... instead of the old one that appears to be deprecated.  
So I've successfully downloaded the source to the cpath2 plugin, and
rebuilt it with the URL of our local tomcat server in place of pathway
commons.  I can see from the tomcat logs that cytoscape is sending the
right queries to the cpath application.
My issue now seems to be with cpath.  I've installed from
cpath_beta_07_rc2.tar.gz.
cytoscape sends cpath queries with "cmd=search", and cpath doesn't
recognize that command.  As I understand the cpath administrator guide
(1/22/08) there are two modes, biopax and psi_mi, which I choose by
setting web.skin in build.properties.  Poking around, there seem to be
4-5 cosmetic "skins" defined but only the two modes.  I've tried all the
available skins, but none solves the problem -- pasting the query from
cytoscape directly into the browser:

http://cpathhost.syngenta.org:8080/cpath/webservice.do?cmd=search&q=TP53
&output=xml&version=2.0&maxHits=10&startIndex=0 always fails with the
message

An Error Has Occurred

Command: 'search' is not recognized. Please try again.

whereas
http://www.pathwaycommons.org/pc/webservice.do?cmd=search&q=TP53&output=
xml&version=2.0&maxHits=10&startIndex=0  works just fine.

Can anyone help me get cpath configured correctly?  (or the cytoscape
plug-in, if that's the problem.

Rex
--------------------------------------------------------

This message may contain confidential information. If you are not the designated recipient, please notify the sender immediately, and delete the original and any copies. Any use of the message by you is prohibited.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ethan Cerami  
View profile  
 More options Oct 22 2008, 1:44 pm
From: Ethan Cerami <cer...@cbio.mskcc.org>
Date: Wed, 22 Oct 2008 13:44:25 -0400
Local: Wed, Oct 22 2008 1:44 pm
Subject: Re: [cytoscape-helpdesk] cytoscape integration with local cpath install

Hi Rex,

The cpath beta_07 tar file probably doesn't have the latest code that is
required for the "new" cpath plugin.

You are best off downloading the source from the NCI CVS Server.  
Instructions are here:  http://cbio.mskcc.org/software/cpath/source.html

After building from this, try the cpath2 plugin again.

If you have other issues, feel free to email me.

Ethan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rex.dw...@syngenta.com  
View profile  
 More options Oct 22 2008, 2:33 pm
From: <rex.dw...@syngenta.com>
Date: Wed, 22 Oct 2008 13:33:35 -0500
Local: Wed, Oct 22 2008 2:33 pm
Subject: RE: [cytoscape-helpdesk] cytoscape integration with local cpath install

Hi Ethan,
Thanks.  I requested the account per instructions on the page.
I am a little confused about the connection between the cpath database
and the cpath webapp.  Does the database have two schemata dep. on
whether the mode is biopax or psi-mi? or is it just a matter of how the
webapp delivers the results?  More to the point, will I have to reload
the database?
Thanks again.
Rex
P.S.: I've been assuming there are no licenses for this s.w. or the
databases even for commericial users.  If that's not right, please let
me know how to straighten that out.

________________________________

From: cpath-dev@googlegroups.com [mailto:cpath-dev@googlegroups.com] On
Behalf Of Ethan Cerami
Sent: Wednesday, October 22, 2008 1:44 PM
To: cytoscape-helpdesk@googlegroups.com
Cc: cpath-dev@googlegroups.com
Subject: Re: [cytoscape-helpdesk] cytoscape integration with local cpath
install

Hi Rex,

The cpath beta_07 tar file probably doesn't have the latest code that is
required for the "new" cpath plugin.

You are best off downloading the source from the NCI CVS Server.
Instructions are here:  http://cbio.mskcc.org/software/cpath/source.html

After building from this, try the cpath2 plugin again.

If you have other issues, feel free to email me.

Ethan

rex.dw...@syngenta.com wrote:

        I am trying to integrate cytoscape with a local mirror of
pathway commons behind our company firewall.  I am running cytoscape
2.6.1 and trying to use the "new" cpath interface  File->Import->Network
from web services... instead of the old one that appears to be
deprecated.  
        So I've successfully downloaded the source to the cpath2 plugin,
and rebuilt it with the URL of our local tomcat server in place of
pathway commons.  I can see from the tomcat logs that cytoscape is
sending the right queries to the cpath application.
        My issue now seems to be with cpath.  I've installed from
cpath_beta_07_rc2.tar.gz.
        cytoscape sends cpath queries with "cmd=search", and cpath
doesn't recognize that command.  As I understand the cpath administrator
guide (1/22/08) there are two modes, biopax and psi_mi, which I choose
by setting web.skin in build.properties.  Poking around, there seem to
be 4-5 cosmetic "skins" defined but only the two modes.  I've tried all
the available skins, but none solves the problem -- pasting the query
from cytoscape directly into the browser:

http://cpathhost.syngenta.org:8080/cpath/webservice.do?cmd=search&q=TP53
&output=xml&version=2.0&maxHits=10&startIndex=0 always fails with the
message

        An Error Has Occurred

        Command: 'search' is not recognized. Please try again.

        whereas
http://www.pathwaycommons.org/pc/webservice.do?cmd=search&q=TP53&output=
xml&version=2.0&maxHits=10&startIndex=0  works just fine.

        Can anyone help me get cpath configured correctly?  (or the
cytoscape plug-in, if that's the problem.

        Rex
________________________________

        This message may contain confidential information. If you are
not the designated recipient, please notify the sender immediately, and
delete the original and any copies. Any use of the message by you is
prohibited.

--------------------------------------------------------

This message may contain confidential information. If you are not the designated recipient, please notify the sender immediately, and delete the original and any copies. Any use of the message by you is prohibited.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ethan Cerami  
View profile  
 More options Oct 22 2008, 2:40 pm
From: Ethan Cerami <cer...@cbio.mskcc.org>
Date: Wed, 22 Oct 2008 14:40:44 -0400
Local: Wed, Oct 22 2008 2:40 pm
Subject: Re: [cytoscape-helpdesk] cytoscape integration with local cpath install

Rex,

You should be able to check out the code anonymously, w/o having to wait
for an account approval.

The db schema is the same for both biopax and psi-mi modes.  But, you
probably will need to reload the database, as the schema may have
changed since release 7.

Also, there are no usage restrictions for commercial users.

Ethan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rex.dw...@syngenta.com  
View profile  
 More options Oct 24 2008, 3:07 pm
From: <rex.dw...@syngenta.com>
Date: Fri, 24 Oct 2008 14:07:15 -0500
Local: Fri, Oct 24 2008 3:07 pm
Subject: RE: [cytoscape-helpdesk] cytoscape integration with local cpath install

Hi again Ethan,
I'm making some good progress here, but always more trouble...

We generally use proxy auto-config with a long script written by someone
in Basel.   There are a bunch of different proxies, but only one is
relevant for this story.  The problem is that a proxy is required for
any link-outs from cytoscape, but the proxy will not respond to internal
requests.  As you know cytoscape allows one to specify a proxy, but then
it is used for every request.  So I get to choose between internal and
external connectivity...

Java now provides a class called ProxySelector, and there is a default
system ProxySelector.  You pass it a uri and it returns appropriate
proxy information.
If you are running an applet or doing a web start, the proxyselector can
be configured on the java control panel to use the browser defaults,
which means: obey the pac script.  However, a free-standing application
evidently does not do this, and the default selector always returns "no
proxy".  The configuration script is in javascript, not java, and there
doesn't seem to be an easy way to load it up into a java application
(although some hard ways are proposed on various web pages.)  In either
case, you can write your own implementation of the ProxySelector class
and register it as the default.

So anyway, I will have to code up my own proxy handler for my internal
version of cpath, and it looks like ProxySelector is the way I will go.
Is there any interest in replacing the current proxy mechanism in
cytoscape with ProxySelector and, if so, does it make sense for me to
attack the problem more generally rather than just writing what I need
to get things going here at Syngenta?

Rex

________________________________

From: cpath-dev@googlegroups.com [mailto:cpath-dev@googlegroups.com] On
Behalf Of Ethan Cerami
Sent: Wednesday, October 22, 2008 2:41 PM
To: cpath-dev@googlegroups.com
Subject: Re: [cytoscape-helpdesk] cytoscape integration with local cpath
install

Rex,

You should be able to check out the code anonymously, w/o having to wait
for an account approval.

The db schema is the same for both biopax and psi-mi modes.  But, you
probably will need to reload the database, as the schema may have
changed since release 7.

Also, there are no usage restrictions for commercial users.

Ethan

rex.dw...@syngenta.com wrote:

        Hi Ethan,
        Thanks.  I requested the account per instructions on the page.
        I am a little confused about the connection between the cpath
database and the cpath webapp.  Does the database have two schemata dep.
on whether the mode is biopax or psi-mi? or is it just a matter of how
the webapp delivers the results?  More to the point, will I have to
reload the database?
        Thanks again.
        Rex
        P.S.: I've been assuming there are no licenses for this s.w. or
the databases even for commericial users.  If that's not right, please
let me know how to straighten that out.

________________________________

        From: cpath-dev@googlegroups.com
[mailto:cpath-dev@googlegroups.com] On Behalf Of Ethan Cerami
        Sent: Wednesday, October 22, 2008 1:44 PM
        To: cytoscape-helpdesk@googlegroups.com
        Cc: cpath-dev@googlegroups.com
        Subject: Re: [cytoscape-helpdesk] cytoscape integration with
local cpath install

        Hi Rex,

        The cpath beta_07 tar file probably doesn't have the latest code
that is required for the "new" cpath plugin.

        You are best off downloading the source from the NCI CVS Server.
Instructions are here:  http://cbio.mskcc.org/software/cpath/source.html

        After building from this, try the cpath2 plugin again.

        If you have other issues, feel free to email me.

        Ethan

        rex.dw...@syngenta.com wrote:

                I am trying to integrate cytoscape with a local mirror
of pathway commons behind our company firewall.  I am running cytoscape
2.6.1 and trying to use the "new" cpath interface  File->Import->Network
from web services... instead of the old one that appears to be
deprecated.  
                So I've successfully downloaded the source to the cpath2
plugin, and rebuilt it with the URL of our local tomcat server in place
of pathway commons.  I can see from the tomcat logs that cytoscape is
sending the right queries to the cpath application.
                My issue now seems to be with cpath.  I've installed
from cpath_beta_07_rc2.tar.gz.
                cytoscape sends cpath queries with "cmd=search", and
cpath doesn't recognize that command.  As I understand the cpath
administrator guide (1/22/08) there are two modes, biopax and psi_mi,
which I choose by setting web.skin in build.properties.  Poking around,
there seem to be 4-5 cosmetic "skins" defined but only the two modes.
I've tried all the available skins, but none solves the problem --
pasting the query from cytoscape directly into the browser:

http://cpathhost.syngenta.org:8080/cpath/webservice.do?cmd=search&q=TP53
&output=xml&version=2.0&maxHits=10&startIndex=0 always fails with the
message

                An Error Has Occurred

                Command: 'search' is not recognized. Please try again.

                whereas
http://www.pathwaycommons.org/pc/webservice.do?cmd=search&q=TP53&output=
xml&version=2.0&maxHits=10&startIndex=0  works just fine.

                Can anyone help me get cpath configured correctly?  (or
the cytoscape plug-in, if that's the problem.

                Rex
________________________________

                This message may contain confidential information. If
you are not the designated recipient, please notify the sender
immediately, and delete the original and any copies. Any use of the
message by you is prohibited.

________________________________

        This message may contain confidential information. If you are
not the designated recipient, please notify the sender immediately, and
delete the original and any copies. Any use of the message by you is
prohibited.

--------------------------------------------------------

This message may contain confidential information. If you are not the designated recipient, please notify the sender immediately, and delete the original and any copies. Any use of the message by you is prohibited.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ethan Cerami  
View profile  
 More options Oct 30 2008, 10:18 am
From: Ethan Cerami <cer...@cbio.mskcc.org>
Date: Thu, 30 Oct 2008 10:18:36 -0400
Local: Thurs, Oct 30 2008 10:18 am
Subject: Re: [cytoscape-helpdesk] cytoscape integration with local cpath install

Rex,

If you are interested in writing a more generic / better proxy handler
for Cytoscape, that would be great.  To get started, first touch base
with one of the Cytoscape core developers.  For example, Mike Smoot
<msm...@ucsd.edu> is the chief architect for Cytoscape, and tries to
coordinate all the core development work.

Good luck,

Ethan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google