UofS-Pulse-Binfo / nd_genotypes

Drupal/Tripal: Tripal interface for Chado Natural Diversity Genotypic data.
https://nd-genotypes.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
4 stars 1 forks source link

Missing docs to show how to sync data #60

Open laceysanderson opened 2 years ago

laceysanderson commented 2 years ago

How to Sync Data for this module

The following steps are needed to make your data loaded by the genotypes loader available to this module. It is needed to increase performance to the point that it's feasible to show genotypic data through the web browser and is not optional. You will need to re-do these steps each time you import genotypic data into your site.

  1. You need to go to Tripal > Extensions > Natural Diversity Genotypes in the top administration bar and then click on the "Sync" tab. You should see a form similar to that below but with your organisms.

    Screen Shot 2022-03-03 at 9 31 58 AM
  2. Select the checkbox beside the organism you want to have genotype displays for then click the "Sync" button.

  3. This submits a Tripal Job to populate internal materialized views for better performance. Please run the tripal job on the command line (not through the user interface!)

cornellyujy commented 2 years ago

Hi @laceysanderson , I have ran the 'Sync' step after loading data through genotypes loaders, and found tripal generated the webpages of Genetic Marker automatically, but no webpage of Variant published. Here is the webpage of my matirx: image So there is no link with Variant Name. I am not sure how to fix it. Thanks~

laceysanderson commented 2 years ago

Hi @cornellyujy,

Variant pages are created by Tripal through "Publish Chado Content". Here are the Tripal docs for publishing gene pages: https://tripal.readthedocs.io/en/latest/user_guide/example_genomics/genomes_genes.html#creating-gene-pages. You would follow the same approach but for Sequence Variants and Genetic Markers. This needs to be done each time you import new variants.

cornellyujy commented 2 years ago

Thanks @laceysanderson , it works well. 😸