PathwayCommons / cpath2

Biological pathway data integration and access platform (Pathway Commons)
http://www.pathwaycommons.org/pc2/
MIT License
6 stars 5 forks source link

Generate BioPAX validation report (both HTML and XML formats) archive files during the "premerge" stage #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, validation reports could be downloaded using the (undocumented) web 
service command: "/validation/<metadata Identifier>" (gets XML) or 
"/validation/<metadata Identifier>.html" (HTML/JavaScript); however, it fails 
(at least the HTML one) in case of large reports (e.g., 20 ~ 25 Mb)...

I propose:

Instead of providing that (undocumented) web service and saving BioPAX 
validation reports acquired during the "premerge" stage in the cpath2 "meta" 
database, we shall generate compressed/archive reports (both for HTML and XML 
formats) and save in a special sub-directory, e.g. $CPATH2_HOME/reports. Then, 
our future batch download web service could also serve validation reports (may 
require authorization).  Seems, this requires writing code (e.g., modifying the 
BioPAX validator) to generate HTML from XML/beans off-line (i.e., not only via 
JSP, Tomcat). 

This task will help provide "batch download" service in the future, because it 
(file storage, and the new web service controller) can be implemented the same 
way in both cases.

Alternatively, we could, at least, save in the "meta" cpath2 db compressed XML 
and HTML reports, or save the compressed XML (BLOB) and provide a simple 
separate method (e.g., as biopax-validator-core utility class) to convert it to 
pretty HTML!

Original issue reported on code.google.com by rod...@gmail.com on 11 Apr 2012 at 9:12

GoogleCodeExporter commented 9 years ago
om

Original comment by rod...@gmail.com on 4 Jan 2013 at 10:41

GoogleCodeExporter commented 9 years ago
Now, after several modifications have been already made to "not core" web 
services,  I am not sure we need to provide downloadable archives. Currently 
one can get the following:

http://www.pathwaycommons.org/pc2/metadata/ (JSON format)

then, using one of metadata "identifier" values (e.g., panther), get the 
reports list, etc. - 

http://www.pathwaycommons.org/pc2/validation/panther/files.html
http://www.pathwaycommons.org/pc2/validation/reactome_hm/files.html

PS:
The XSL stylesheet to convert biopax-validator XML to HTML reports has been 
developed too; mysql db compress/uncompress is used too.

Closing this issue.

Original comment by rod...@gmail.com on 14 Feb 2013 at 7:57

GoogleCodeExporter commented 9 years ago
The latest is available at -  

purl.org/pc2/current/metadata/validations.html

(these are still internally stored in the mysql DB, compressed, BLOB; so, it 
may be worth switching to using local filesystem instead...)

Original comment by rod...@gmail.com on 1 May 2013 at 3:24