wiki:DAS

Version 2 (modified by jvelde, 14 years ago) (diff)

--

XGAP-DAS connection project

The DAS servlet itself is served directly from the source, it cannot be edited:

<servlet>
	<servlet-name>DasServlet</servlet-name>
	<servlet-class>uk.ac.ebi.mydas.controller.MydasServlet</servlet-class>
</servlet>
<servlet-mapping>
	<servlet-name>DasServlet</servlet-name>
	<url-pattern>/das/*</url-pattern>
</servlet-mapping>

The servlet reads a file named 'MydasServerConfig.xml' located in the WebContent folder.

Inside MydasServerConfig.xml, all needed properties for a DAS server are set. For example:

  • URL of the DAS server (ie. XGAP application running on some IP adress)
  • XSLT transformation services of the DAS output
  • Default stylesheet for data sources

The important bits are in the datasources section. Here we define what data goes into the DAS service. In the example:

  • We point to a class file: <class>mydas.examples.EnsemblTestDataSource</class>
  • A coordinate system is entered, needed to map the data to other DAS sources
  • The capabilities are defined. We tell DAS what this datasource can provide.

What we want is:

Phase 1.

  • New datasource(s) that provide data from an XGAP database in the form of class file(s).
  • Proper configuration of this source in the config xml.
  • A working connection to a DAS client

Phase 2.

  • A plugin to 'edit' the config xml. For example, adjust organism and coordinate system.
  • Smart datasource/config files that serve out the data they can provide, depending on what is in the database.
  • A client integrated in XGAP that uses our own data as a source
  • Expanding the client so it uses other sources as well, build a plugin around this to the user can quickly add/remove sources

The last two can be done by eg. IFRAMing an existing client and entering our application URL to the list of sources, making use of existing software and source listings.