Closed nataled closed 3 months ago
On Fri, Sep 22, 2023 at 2:18 PM Darren A. Natale @.***> wrote:
Considering pages for PR:000000364:Development page is: https://proconsortium.org/cgi-bin/entry_pro_ori_dev
Now, this page's source data are dynamically linked to the same data files used by https://proconsortium.org/cgi-bin/browser_pro plus some new data files newly built from;
/home/www/pro/pro2complex.dat
-rw-r--r-- 1 www users 99198 Feb 13 2023 pro2complex.dat
/home/www/pro/pro.dat
-rw-r--r-- 1 www users 188200333 Feb 13 2023 pro.dat
.......
Current public page is: https://proconsortium.org/app/entry/PR:000000364/In the Ontology Information table, the first line "PRO ID" also shows a link to PAF and (for organism-level terms) GPI. Each of these are just grabbed from the relevant files using grep. The PAF display would consist of the first line of the file (with header information) plus any line that begins with the desired term ID. The GPI display would consists of all lines that begin with '!!' plus any line that begins with the desired term ID. @hongzhanhuang https://github.com/hongzhanhuang can you indicate where these files will be found?
For stanza and paf, the retrieval program is also the publicly used by website:
/home/www/pro/get_pro
-rwxr-xr-x 1 www users 1693 Jun 3 2014 get_pro
Hello Hongzhan, could you let me know any similar one for GPI retrieval? Thanks.
.......
https://proconsortium.org/download/current/pro.gpi
pir1:/data/www/WWW-pro/html/download/current/pro.gpi
You'll need to grep for both '!!' to get the header, and for the PRO identifier to get the data.
The DAG link should go to the currently-displayed PRO term instead of the parent term.
Considering pages for PR:000000364:
Development page is: https://proconsortium.org/cgi-bin/entry_pro_ori_dev Current public page is: https://proconsortium.org/app/entry/PR:000000364/
The top of the dev page and the first table (Ontology Information) of that page should have the same look as the current public page. At the moment the dev page looks like this:
The pages should look the same for this part. Only one difference: the dev page won't have a cytoscape link.
Aside from the look and feel, a few links will be needed:
1) Above the gray bar (with the words "Ontology Information") the public page has links to 'Protein Forms', 'Complex', and 'Annotations'. Each of these link to the appropriate tables on the same page. These links should only appear if the table is present.
2) In the Ontology Information table, the first line "PRO ID" also shows a link to PAF and (for organism-level terms) GPI. Each of these are just grabbed from the relevant files using grep. The PAF display would consist of the first line of the file (with header information) plus any line that begins with the desired term ID. The GPI display would consists of all lines that begin with '!!' plus any line that begins with the desired term ID. @hongzhanhuang can you indicate where these files will be found?
Note that the dev page also shows a 'Related Cross References' table for term PR:000000364. This term should not have this. The table should only appear if the entry has an 'xref' line, and the content shown on the dev page should only be the identifier (some xrefs have additional information enclosed in quotes; these can be ignored).