This module is designed to provide a number of custom fields for various content types on Tripal i5k websites.
The files to create the fields were generated by the Tripal Fields Generator. For historical purposes, in each field directory, there is a text file that describes the values used in the Fields Generator.
Currently, the following fields are provided:
- Parent publication for gene/mRNA
- On gene and mRNA pages, any publications tied to the originating analysis will be shown. Origin: #315
- Analysis Author(s)
- A list of authors tied to the analysis. ADC equivalent: 'Author name'. Origin: #344
- Analysis Contact
- A primary contact for the analysis. ADC equivalent: 'Contact name'. Origin: #317
- Contact Identifier
- A published identifier (Orcid, Google Scholar, etc.) tied to a specific contact. Origin: #345
- Polypeptide Annotations
- On mRNA pages, related polypeptide annotations will be shown. Currently exists as a separate module, to be absorbed into this one at a future date. It currently does not exist on Github.
- Gene JBrowse
- Uses an iframe to display a JBrowse instance featuring the gene. Currently exists as a separate module, to be absorbed into this one at a futre date. It currently lives here.
- Enable this module like any other Drupal module, either:
or visit the Modules page of your Drupal site and enable from there.
drush pm-enable i5k_custom_fields
- Navigate to
admin/structure/bio_data
(In the menu: Structure > Tripal Content Types) - For each content type that may have new fields, perform the following: a. Click 'Manage Fields' b. At the top of the Manage Fields page, click "+ Check for new fields". Tripal will work its magic and find any fields added by this module. c. Click on the 'Manage Display' tab at the top. d. The new fields should be listed on this page. Use the UI to drag the fields to where you want them to appear in your page.
- Content types affected:
- Gene
- mRNA
- For any analyses linked to the gene or mRNA, a link is provided that leads to the original publication page during which the analysis was performed.
- Label: Genome Annotation Publication
- Machine name:
local__parent_analysis_pub
- Content types affected:
- Genome Annotation
- Genome Assembly
- Label: Analysis Contact, Analysis Authors
- Machine name:
datacite__contributor
,datacite__creator
- For analysis types, people related to the analysis have their Contact page linked to. People listed as 'Contact Analysis' are the primary contact for the analysis while 'Contact Authors' is a list of people who are otherwise associated to the analysis. A person can be included as types simultaneously for the same analysis as well as related to multiple analyses.
- Content types affected:
- Contact Utilizes a dbxref table, contact_dbxref
- Field name: Contact Identifier
- Machine name:
datacite__nameidentifier
- For Contact types, a field is added which display's a number of identifiers for that person such as ORCID and Google Scholar. The chado.contact_dbxref table is used to store a list of database cross references (chado.dbxref).
This field does not include the ability to edit values via the UI. Data is expected to be loaded. A few required items must be in place for the field to work.
- At least one database entry must exist in the
chado.db
table, such as ORCID. These can be loaded via the Chado Databases page. - An entry must be made in the
chado.dbxref
table which references thechado.db
entry (via the db_id column). - Finally, an entry must be made in the newly-created
chado.contact_dbxref
table which links thechado.dbxref
entry (via the dbxref_id column) to an existing contact (via the contact_id column). - Clear the cache:
drush cc all