tripal/fields_generator

simpler rule for CV vs DB?

bradfordcondon opened this issue · 1 comments

Use the EBI breadcrumb.

so teal box = CV, orange box = DB. IF obo namespace is provided in the sidebar, that will override the CV

This works for all DB/CVs except where capitalization is inconsistent between db and cv.

Worded differently from Stephen

  1. Find the appropriate term in the EBI Lookup ervice
  2. Provide the name of the vocabulary that houses the term. It is found on the term page of EBI Lookup service in the breadcrumb (e.g. OS > Bioinformatics operations, data types, formats, identifers and topics EDAM > data:2976). EDAM is surrounded by a teal box and is the name of the vocaulary... and in your code that is used for the cv.name. (edited)
  3. Provide the accession vocabulary prefix by using the portion of the term just before the colon (e.g. data:2976). "data" becomes the db.name in your code.