migrate.rst 2.4 KB

123456789101112131415161718192021222324252627282930313233
  1. Tripal JBrowse Nodes Migration
  2. ================================
  3. The old method of Tripal JBrowse page integration using nodes has been **deprecated**. If you are still using this method of integration, administrators will see a warning directing you here.
  4. The new method of page integration using the Tripal JBrowse Management module to register instances with your Tripal site. The following steps will help you register your existing JBrowse instances with Tripal JBrowse Management in order to take advantage of the new page integration.
  5. 1. Enable Tripal JBrowse Management as you would any other Drupal/Tripal module. This can be done using ``drush pm-enable tripal_jbrowse_mgmt``.
  6. 2. Download JBrowse and install a single instance in a web-accessible location. We recommend ``DRUPAL_ROOT/tools/jbrowse``.
  7. 3. Create symbolic links to each of your existing instances where the name of the link matches the organism it is for: ``genus_species__common_name``.
  8. .. code::
  9. cd DRUPAL_ROOT/tools/jbrowse
  10. mkdir data
  11. cd data
  12. ln -s path/to/existing/instance/data/directory genus_species__common_name
  13. 4. Navigate to Administration » Tripal » Extensions » Tripal JBrowse and click on "Settings". Fill out the paths for your new single JBrowse instance.
  14. +------------------------------------+---------------------------------------+
  15. | Data Directory | DRUPAL_ROOT/tools/jbrowse/data |
  16. +------------------------------------+---------------------------------------+
  17. | Data Path | ./tools/jbrowse/data |
  18. +------------------------------------+---------------------------------------+
  19. | Path to JBrowse's Index File | ./tools/jbrowse |
  20. +------------------------------------+---------------------------------------+
  21. | Path to JBrowse's bin Directory | DRUPAL_ROOT/tools/jbrowse/bin |
  22. +------------------------------------+---------------------------------------+
  23. 5. Navigate to Administration » Tripal » Extensions » Tripal JBrowse and click on "Register Existing Instance". Fill in the details for each of your existing instances.
  24. 6. Enable the new Tripal JBrowse Page Integration module and dynamic pages will now be available for each of your newly registered instances. This can be done using ``drush pm-enable tripal_jbrowse_page``.
  25. 7. Delete your existing Tripal JBrowse Instance nodes under Admin » Content and disable the old module using ``drush pm-disable tripal_jbrowse``.