tripal_feature_help.tpl.php 10 KB

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