From: Giles V. <gv...@sa...> - 2010-06-30 15:04:17
|
That does make sense. Will be interesting to see if the cherrypy static dir index will work with JBrowse. If it doesn't, then I would suggest writing a mock-index controller in CherryPy yourself, essentially returning the same thing that JBrowse is expecting. In theory, all you would have to do is write an exposed method that lists the contents of a directory, formatting this appropriately, and map it to requests that the JBrowse javascript is making. Regards, Giles On 30 Jun 2010, at 15:37, Mariette wrote: > > Thanks, > > I will take a look. I'm deploying jbrowse on cherrypy > because the application we're developing is deploying > on cherrypy and I want jbrowse to be embeded into > our application. So I don't want jbrowse to be outside > of the application itself. > > does it make sense ? > > Jerome > > > > > > > > > > Giles Velarde a écrit : >> Hi, >> >> Perhaps I should respond here because I do use CherryPy for some >> projects, and use JBrowse in another. I would look at >> >> http://tools.cherrypy.org/wiki/staticdirindex >> >> and see if that helps you (I haven't tried this myself). >> >> That said, why are you deploying JBrowse on CherryPy and not >> Apache? JBrowse needs the web server to only serve static pre- >> generated JSON files, and Apache works perfectly well for that. If >> the data sets get fairly large, you may find any server other than >> Apache may well struggle to cope. >> >> If you need to run some other server-side dynamic pages in Python, >> you can always put CherryPy behind the same Apache server as well. >> See >> >> http://tools.cherrypy.org/wiki/BehindApache >> >> for more info. >> >> Regards, >> Giles >> >> >> On 30 Jun 2010, at 14:06, Mariette wrote: >> >> >>> Hi, >>> >>> I'm trying to get jbrowse runing into our website. However it's >>> not working, >>> I have the jbrowse environement displayed but not annotations and >>> the >>> seqRef. >>> Jbrowse can read the refSeq.js and the trackinfo.js but doesn't >>> read the >>> 'seqDir' and >>> the 'url' fields of these files. >>> We figured out that the jbrowse sample web site allows to list files >>> into directories. >>> Is it required to make jbrowse working ?? >>> The problem is we're using the cherrypy web server which doesn't >>> seems >>> to allow >>> files listing, and we're guessing this is the problem ? would >>> that make >>> sens ?? >>> >>> thanks for your reply, >>> Jerome >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> _______________________________________________ >>> Gmod-ajax mailing list >>> Gmo...@li... >>> https://lists.sourceforge.net/lists/listinfo/gmod-ajax >>> >> >> >> >> > -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. |