tripal_feature_admin.tpl.php 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <h3>Tripal Feature Quick Links:</h3>
  2. <ul>
  3. <li><a href="<?php print url("find/sequences") ?>">Retrieve Sequences</a></li>
  4. <li><a href="<?php print url("admin/tripal/tripal_feature/configuration") ?>">Feature Configuration</a></li>
  5. <li><a href="<?php print url("admin/tripal/tripal_feature/fasta_loader") ?>">Import a multi-FASTA file</a></li>
  6. <li><a href="<?php print url("admin/tripal/tripal_feature/gff3_load") ?>">Import a GFF3 file</a></li>
  7. <li><a href="<?php print url("admin/tripal/tripal_feature/sync") ?>">Sync Features</a></li>
  8. <li><a href="<?php print url("admin/tripal/tripal_feature/delete") ?>">Delete Features</a></li>
  9. </ul>
  10. <h3>Module Description:</h3>
  11. <p>The Tripal Feature module provides a new feature content type and interface for genomic features. </p>
  12. <h3>Setup Instructions:</h3>
  13. <p>After installation of the feature module. The following tasks should be performed</p>
  14. <ol>
  15. <li><p><b>Set Permissions</b>: By default only the site administrator account has access to create, edit, delete
  16. or administer features. Navigate to the <?php print l('permissions page', 'admin/user/permissions')?> and set the
  17. permissions under the 'tripal_feature' section as appropriate for your site. For a simple setup, allow anonymous
  18. users access to view content and create a special role for creating, editing and other administrative tasks.</p></li>
  19. <li><p><b>Loading of Ontologies</b>:
  20. Before loading genomic features you must also have several vocabularies loaded as well. Using the
  21. <?php print l('OGO loader','admin/tripal/tripal_cv/obo_loader')?> you should load the following
  22. ontologies:</p>
  23. <ul>
  24. <li>Chado Feature Properties</li>
  25. <li>Relationship Ontology</li>
  26. <li>Sequence Ontology</li>
  27. <li>Gene Ontology (if loading GO terms for features)</li>
  28. </ul>
  29. </li>
  30. <li><p><b>Create Organisms</b>: Before adding feature data you must already have the
  31. organisms loaded in the database. See the
  32. <?php print l('Tripal Organism Admin Page','admin/tripal/tripal_organism') ?> for
  33. instructions for adding and Syncing organisms.</p></li>
  34. <li><p><b>Create an Analysis</b>: Tripal requires that feature data loaded using the Tripal loaders
  35. be associated with an analyis. This provides a grouping for the feature data and can be used
  36. later to visualize data pipelines. Before loading feature data through the FASTA or GFF loaders
  37. you will need to <?php print l('create an analysis','node/add/chado-analysis') ?> for the data.</p></li>
  38. <li><p><b>Create Database Cross References</b>: If you would like to associate your feature data with an
  39. external database, check to ensure that the <?php print l('database already exists','admin/tripal/tripal_db/edit_db') ?>.
  40. If not you should <?php print l('add a new database record','admin/tripal/tripal_db/add_db') ?> before importing
  41. feature data. Be sure to set the URL and URL prefix for the database if you would like accessions (e.g. GO terms, NCBI
  42. accession) to link out to the external database.</p></li>
  43. <li><p><b>Data Import</b>: if you do not already have an existing Chado database with preloaded data
  44. then you will want
  45. to import data. You can do so using the Chado perl scripts that come with the normal
  46. <a href="http://gmod.org/wiki/Chado">distribution of Chado</a> or you can use
  47. the <a href="<?php print url('admin/tripal/tripal_feature/fasta_loader') ?>">FASTA loader</a> and
  48. <a href="<?php print url('admin/tripal/tripal_feature/gff3_load') ?>">GFF loader</a> provided here. If you
  49. created the Chado database using Tripal then you'll most likely want to use the Tripal loaders. If your data
  50. is not condusive for loading with these loaders and you can get your data into a tab-delimited format you can
  51. use Tripals' bulk loader.
  52. </p></li>
  53. <li><p><b>Sync Features</b>: After data is loaded you need to sync features. This process is what
  54. creates the pages for viewing online. Not all features need be synced. For instance, if you
  55. have loaded whole genome sequence with fully defined gene models with several features to define
  56. a gene and its products (e.g. gene, mRNA, CDS, 5\'UTR, 3\'UTR, etc) you probably only want to create
  57. pages for genes or genes and mRNA. You probably do not want a page for a 5\'UTR.
  58. Using the <a href="<?php print url('admin/tripal/tripal_feature/configuration/sync') ?>">Feature Sync page</a>
  59. you can sync (or create pages) for the desired feature types. </p></li>
  60. <li><p><b>Set Feature URL</b>: It is often convenient to have a simple URL for each feature page.
  61. For example, http://www.mygenomesite.org/[feature], where [feature] is a unique identifier for a feature page.
  62. With this, people can easily include links to feature pages of interest. Use the
  63. <a href="<?php print url('admin/tripal/tripal_feature/configuration') ?>">Feature Configuration page</a>
  64. to specify whether to use the feature name, unique name or internal ID as the [feature] portion of the
  65. URL. Select the one that will guarantee a unique identifier for feature pages.</p></li>
  66. </ol>
  67. <h3>Features of this Module:</h3>
  68. <p>Aside from data loading and feature page setup (as described in the Setup section above),
  69. The Tripal feature module also provides the following functionality</p>
  70. <ul>
  71. <li><p><b>Retrieve Sequences</b>: A tool to <?php print l('retrieve sequences','find/sequences') ?> is provided
  72. which allows end-users to download sequences in FASTA format. The site admin must first load sequence residues
  73. as well as alignments. The <?php print l('organism_feature_count', 'admin/tripal/mviews') ?> and
  74. <?php print l('analysis_organism', 'admin/tripal/mviews') ?> materialized
  75. views must be populated before using this tool. Those views should be re-populated
  76. when new data is added. If you use the <?php print l('jquery_update module', 'http://drupal.org/project/jquery_update') ?>
  77. the tool may break. You will need to update the jquery_update/replace/jquery.form.js file with <?php
  78. print l('a more recent version','https://raw.github.com/malsup/form/master/jquery.form.js') ?>. </p></li>
  79. <li><p><b>Generic Feature URL</b>: As described in the setup instructions above, it is often convenient to have a
  80. simple URL for each feature page. For example, http://www.mygenomesite.org/[feature], where [feature] is a
  81. unique identifier for a feature page. The
  82. <?php print l('Feature Configuration page','admin/tripal/tripal_feature/configuration') ?> allows a
  83. site admin to generate unique URLs for all feature. The unique URL is necessary, however, sometimes
  84. it is easier to allow for links to the feature name without knowing the unique URL. This is possible
  85. using the URL: http://[site url]/feature/[feature name], where [site url] is the URL for the site and
  86. [feature name] is the name of the feature. If the feature name is not unique then a page will be
  87. presented listing all of the features with the same name and allow the user to choose which one to
  88. view. If the feature name is unique then the user will automatically be redirected to the
  89. unique URL for the feature.</p></li>
  90. <li><p><b>Feature Browser:</b> The feature browser is a tabular list of features with links to their
  91. feature pages which appears on the organism
  92. page. It was created to provide a mechanism to allow site visitors to quickly
  93. accesss feature pages when they do not know what to search for. For sites with large numbers of features, this
  94. method for finding a specific pages is inadequate, but may still be included to aid new site
  95. visitors. This browser can be toggled on or off using the
  96. <a href="<?php print url('admin/tripal/tripal_feature/configuration') ?>">Feature Configuration page</a></p></li>
  97. <li><p><b>Feature Summary Report:</b> The feature summary report is a pie chart that indicates the types and quantities
  98. of feature types (Sequence Ontology terms) that are loaded in the database. It appears on the organism
  99. page. The summary can be toggled on or off using the
  100. <a href="<?php print url('admin/tripal/tripal_feature/configuration') ?>">Feature Configuration page</a></p></li>
  101. <li><p><b>Integration with Drupal Views</b>: <a href="http://drupal.org/project/views">Drupal Views</a> is
  102. a powerful tool that allows the site administrator to create lists or basic searching forms of Chado content.
  103. It provides a graphical interface within Drupal to allow the site admin to directly query the Chado database
  104. and create custom lists without PHP programming or customization of Tripal source code. Views can also
  105. be created to filter content that has not yet been synced with Druapl in order to protect access to non
  106. published data (only works if Chado was installed using Tripal). You can see a list of available pre-existing
  107. Views <a href="<?php print url('admin/build/views/') ?>">here</a>, as well as create your own. </p></li>
  108. <li><p><b>Simple Search Tool</b>: A <?php print l('simple search tool','chado/features') ?> is provided for
  109. finding features. This tool relies on Drupal Views. <a href="http://drupal.org/project/views">Drupal Views</a>
  110. which must be installed to see the search tool. Look for it in the navigation menu under the item
  111. "Search Biological Data". </p></li>
  112. <li><p><b>Delete Features</b>: You can <a href="<?php print url('admin/tripal/tripal_feature/delete') ?>">bulk delete features</a>
  113. by providing a list of feature names, or for a specific organism or for a specific feature type. Be sure you have
  114. a full backup of your site before performing a bulk delete.</p></li>
  115. </ul>