Lacey Sanderson fc79b595b4 Document upgrade path for Tripal JBrowse nodes. 5 年之前
..
theme 80ada47913 Add support for data directory. 6 年之前
README.md 1482aac686 Merge hardwoods_jbrowse to tripal_jbrowse and rename it to tripal_jbrowse_mgmt 6 年之前
tripal_jbrowse.info c27918fbe7 Ensure all our modules are in the same package. 5 年之前
tripal_jbrowse.install ae9536b4d6 Add support for data directory. 6 年之前
tripal_jbrowse.module fc79b595b4 Document upgrade path for Tripal JBrowse nodes. 5 年之前

README.md

Tripal JBrowse

This module provides integration between Drupal/Tripal sites and pre-existing GMOD Jbrowse instances.

Dependencies

Installation

  1. First install the link module.
  2. Then install this module as you would any other Drupal module (Drupal Documentation)

##Functionality This module creates a "JBrowse Instance" content type with fields (uses the Drupal Field API) for specifying the URL of the pre-existing JBrowse instance, the start location and the tracks to display by default. There is extensive documentation in the add/edit.

Screenshot of Add/Edit Form

This allows you to create a page for each JBrowse Instance you want to embed in your site. You can use the Drupal "URL path alias" settings on the add/edit form to provide a friendly URL and theme it the same way you would any other node page.

Screenshot of JBrowse Instance Page

Future Work

  1. Embed JBrowse natively (not inside an iFrame) --depends on https://github.com/GMOD/jbrowse/issues/777
  2. Create a Drupal 7 field (perhaps a Tripal3 TripalField) which embeds a JBrowse on Tripal content pages. NOTE: This module is already Tripal 3 compatible. The next version will continue to use a node for the JBrowse instance page since it is simply a page and not biological content.