[pygr-notify] [pygr commit] r61 - wiki
codesite-noreply at google.com
codesite-noreply at google.com
Tue Jun 24 20:12:19 PDT 2008
Author: ramccreary
Date: Tue Jun 24 20:11:37 2008
New Revision: 61
Modified:
wiki/ServingDataUsingpygrData.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/ServingDataUsingpygrData.wiki
==============================================================================
--- wiki/ServingDataUsingpygrData.wiki (original)
+++ wiki/ServingDataUsingpygrData.wiki Tue Jun 24 20:11:37 2008
@@ -9,13 +9,13 @@
First, import pygr.Data, then reference the pygr.Data resource you
wish to serve. In this case, the reference is
pygr.Data.Bio.Seq.Genome.ECOLI.ecoli. A NLMSA is a data structure used
to store the genome/sequence maps. The alignment and sequence databases
stored in the NLMSA can currently be accessed by pygr.Data.
-Next, the server is assigned a name; this name will be used a layer
name within pygr.Data, as well as a port number. The port number can be
set to any number that is currently available. Finally, the server can
be accessed easily by the URL from any location, as long as the URL is
set to the PYGRDATAPATH.
+Next, the server is assigned a name; this name will be used a layer
name within pygr.Data, as well as a port number. The port number can be
set to any number that is currently available. Finally, the server can
be accessed easily by the URL from any location, as long as the URL is
set to the PYGRDATAPATH. The default PYGRDATAPATH is
http://biodb2.bioinformatics.ucla.edu:5000, and thus if this remains
unchanged, the user will not be able to add or delete resources to/from
pygr.Data. Furthermore, the server must be assigned a name
(like 'rachel') that will also be used as the layer name for the
pygr.Data resource when attempting to access it remotely.
-In order to access the newly-created server from a remote location,
the server must be set as the PYGRDATAPATH. PYGRDATAPATH searches for
pygr.Data resources in three steps: 1) in the current directory; 2) in
the home directory; and 3) from the XMLRPC server. It is essential to
assign the server as to PYGRDATAPATH, or an error will result. The
correct address to give to PYGRDATAPATH would be the URL of your server
(http://somehost:1215), with somehost as the server address.
+In order to access the newly-created server from a remote location,
the server must be set as the PYGRDATAPATH. PYGRDATAPATH searches for
pygr.Data resources in three steps: 1) in the current directory; 2) in
the home directory; and 3) from the XMLRPC server. It is essential to
assign the server as to PYGRDATAPATH, or an error will result. The
correct address to give to PYGRDATAPATH would be the URL of your server
(http://somehost:1215), with somehost as the server address. Firewalls
may be present, and could potentially prevent access to the XML-RPC
server, and thus should be addressed as need be.
{{{
import pygr.Data
nlmsa=pygr.Data.Bio.Seq.Genome.ECOLI.ecoli
server=pygr.Data.getResource.newServer('rachel',withIndex=True,port=1215)
server.serve_forever()
-}}}
+}}}
\ No newline at end of file
More information about the pygr-notify
mailing list