Difference between revisions of "WebApollo Embed"

From GMOD
Jump to: navigation, search
(Unsorted odds and ends)
(Unsorted odds and ends)
Line 17: Line 17:
 
[[File:refseqs.png]]
 
[[File:refseqs.png]]
 
[[File:refseqs_in_db.png]]
 
[[File:refseqs_in_db.png]]
 +
 +
 +
 +
==Anatomy of a WebApollo clone==
 +
* The clone of the webapp is almost entirely symbolic links, except where otherwise noted.
 +
* We canpt just create a symbolic link to the base WebApollo installation because some of the internal components are real files
  
 
  WebApollo_clone
 
  WebApollo_clone
|-- META-INF -> symlink
+
  |-- META-INF -> symlink
|-- WEB-INF -> symlink
+
  |-- WEB-INF -> symlink
  <b><font color=red>|-- annotations</font></b>
+
  <b><font color=red> A|-- annotations</font></b>
|-- config
+
  |-- config
|  |-- blat_config.xml -> symlink
+
  |  |-- blat_config.xml -> symlink
|  |-- canned_comments.xml -> symlink
+
  |  |-- canned_comments.xml -> symlink
|  |-- chado_config.xml -> symlink
+
  |  |-- chado_config.xml -> symlink
|   |-- <b><font color=red>config.xml</font></b>
+
   <b><font color=red> B|  |-- config.xml</font></b>
|  |-- gff3_config.xml -> symlink
+
  |  |-- gff3_config.xml -> symlink
|  |-- hibernate.xml -> symlink
+
  |  |-- hibernate.xml -> symlink
|  |-- mapping.xml -> symlink
+
  |  |-- mapping.xml -> symlink
|  |-- track_name_comparator.js -> symlink
+
  |  |-- track_name_comparator.js -> symlink
|  `-- translation_tables -> symlink
+
  |  `-- translation_tables -> symlink
|-- images -> symlink
+
  |-- images -> symlink
|-- index.html -> symlink
+
  |-- index.html -> symlink
|-- jbrowse
+
  |-- jbrowse
|  |-- bin -> symlink
+
  |  |-- bin -> symlink
|  |-- combination_tracks.css -> symlink
+
  |  |-- combination_tracks.css -> symlink
|  |-- data
+
  |  |-- data
|  |  |-- names -> symlink
+
  |  |  |-- names -> symlink
|  |  |-- seq -> symlink
+
  |  |  |-- seq -> symlink
|  |  |-- trackList.json
+
  |  |  |-- trackList.json
  |  |  <b><font color=red>`-- tracks</font></b>
+
  <b><font color=red>C |  |  `-- tracks</font></b>
|  |      `-- EG -> symlink
+
  |  |      `-- EG -> symlink  
|  |-- export_dialog.css -> symlink
+
  |  |-- export_dialog.css -> symlink
|  |-- faceted_track_selector.css -> symlink
+
  |  |-- faceted_track_selector.css -> symlink
|  |-- file_dialog.css -> symlink
+
  |  |-- file_dialog.css -> symlink
|  |-- genome.css -> symlink
+
  |  |-- genome.css -> symlink
|  |-- icons.css -> symlink
+
  |  |-- icons.css -> symlink
|  |-- img -> symlink
+
  |  |-- img -> symlink
|  |-- index.html -> symlink
+
  |  |-- index.html -> symlink
|  |-- jbrowse_conf.json -> symlink
+
  |  |-- jbrowse_conf.json -> symlink
|  |-- main.css -> symlink
+
  |  |-- main.css -> symlink
|  |-- maker.css -> symlink
+
  |  |-- maker.css -> symlink
|  |-- menubar.css -> symlink
+
  |  |-- menubar.css -> symlink
|  |-- plugins -> symlink
+
  |  |-- plugins -> symlink
|  |-- sample_data -> symlink
+
  |  |-- sample_data -> symlink
|  |-- src -> symlink
+
  |  |-- src -> symlink
|  `-- track_styles.css -> symlink
+
  |  `-- track_styles.css -> symlink
|-- js -> symlink
+
  |-- js -> symlink
|-- jslib -> symlink
+
  |-- jslib -> symlink
|-- selectTrack.jsp -> symlink
+
  |-- selectTrack.jsp -> symlink
|-- styles -> symlink
+
  |-- styles -> symlink
  |-- <b><font color=red>tmp</font></b>
+
  <b><font color=red>D |-- tmp</font></b>
|-- userPermissions.jsp -> symlink
+
  |-- userPermissions.jsp -> symlink
`-- user_interfaces -> symlink
+
  `-- user_interfaces -> symlink

Revision as of 17:12, 8 October 2013

Description of setting up WebApollo as an embedded web application

Use case

  1. Run WebApollo as an integrated component of a web application
  2. Support multiple species
  3. Support multiple users with private editing session
    • Users can have multiple projects/species
  4. Jump straight to edit mode without user login

Installation

  1. Use the regular installation/configuration procedure
  2. Use exemplar species sequence annotations, we will add multiple species support below

Unsorted odds and ends

The key thing that must be done for multiple species/users/sessions on one server is creating multiple tomcat webapps by cloning the WebApollo Directory tree.

Demo user.png Refseqs.png Refseqs in db.png


Anatomy of a WebApollo clone

  • The clone of the webapp is almost entirely symbolic links, except where otherwise noted.
  • We canpt just create a symbolic link to the base WebApollo installation because some of the internal components are real files
WebApollo_clone
 |-- META-INF -> symlink
 |-- WEB-INF -> symlink
 A|-- annotations
 |-- config
 |   |-- blat_config.xml -> symlink
 |   |-- canned_comments.xml -> symlink
 |   |-- chado_config.xml -> symlink
  B|   |-- config.xml
 |   |-- gff3_config.xml -> symlink
 |   |-- hibernate.xml -> symlink
 |   |-- mapping.xml -> symlink
 |   |-- track_name_comparator.js -> symlink
 |   `-- translation_tables -> symlink
 |-- images -> symlink
 |-- index.html -> symlink
 |-- jbrowse
 |   |-- bin -> symlink
 |   |-- combination_tracks.css -> symlink
 |   |-- data
 |   |   |-- names -> symlink
 |   |   |-- seq -> symlink
 |   |   |-- trackList.json
C |   |   `-- tracks
 |   |       `-- EG -> symlink 
 |   |-- export_dialog.css -> symlink
 |   |-- faceted_track_selector.css -> symlink
 |   |-- file_dialog.css -> symlink
 |   |-- genome.css -> symlink
 |   |-- icons.css -> symlink
 |   |-- img -> symlink
 |   |-- index.html -> symlink
 |   |-- jbrowse_conf.json -> symlink
 |   |-- main.css -> symlink
 |   |-- maker.css -> symlink
 |   |-- menubar.css -> symlink
 |   |-- plugins -> symlink
 |   |-- sample_data -> symlink
 |   |-- src -> symlink
 |   `-- track_styles.css -> symlink
 |-- js -> symlink
 |-- jslib -> symlink
 |-- selectTrack.jsp -> symlink
 |-- styles -> symlink
D |-- tmp
 |-- userPermissions.jsp -> symlink
 `-- user_interfaces -> symlink