Open dustine32 opened 5 years ago
Sounds good ! I suppose changes on different dates will be captured chronologically ?
Yes. The date will be in the first column and sorted in descending order i.e. later dates will precede earlier ones.
Excellent!
The evidence codes should also be stored with the comment section. It should be formatted as follows:
There can be up to 4 sections in the following order:
a. # molecular_function
b. # cellular_component
c. # biological_process
d. # Notes
If the data does not have any of these sections, the PAINT code will prepend ‘# Notes’ to any existing curator notes.
For each GO aspect in section 1, the data will be ordered in date descending order i.e. later dates precede earlier ones. The columns will be as tab-delimited and formatted as follows:
a. Date – formatted as yyyymmdd
b. UserName – User name of user or entity updating the family
c. Operation – Either Save or Obsolete
d. Evidence code - if there are multiple codes, delimit with commas
e. Public id – Node persistent id
f. Term and qualifier(s)– Term accession followed by hyphen ‘-‘ followed by qualifiers delimited by commas and enclosed by round brackets
Notes is free-form text that can be modified by the curator.
The initial version of this update is available on PAINT. Similar change is required for monthly database update.
Pasting from Anushya's 2019-04-10 email:
The update pipeline can be changed to record its operations (e.g. obsolete, un-obsolete) in this comment record. Will likely take advantage of refactoring/replacing the paint_annotation, paint_evidence update SQL queries with a more programmatic approach (looping through queried data and submitting updates through DB-connected Django).