DataStandardisation » History » Version 12

Paweł Widera, 11/23/2007 07:59 PM
Experiment and method wrapping tags introduced.

1 11 Anonymous
= The ProCKSI "stand-alone" applications =
2 1 Anonymous
3 11 Anonymous
== ProCKSI/Comparison ==
4 11 Anonymous
ProCKSI/Comparison integrates a variety of similarity comparison methods (e.g. USM, MaxCMO, TMaling, ...) producing different similarity measures  (e.g. Zscore, TMscore, RMSD, ...) each. Each of the comparison methods produces output with different formats and additional content such as alignments, rotation matrix, etc. Some of them produce just one output file, others a set of linked HTML files.
5 1 Anonymous
6 11 Anonymous
Additionally, there are pre-processing methods, e.g. extracting models/chains from PDB structures, or preparing contact maps from structures/chains.
7 1 Anonymous
8 11 Anonymous
== ProCKSI/Consensus ==
9 11 Anonymous
ProCKSI/Consensus integrates a variety of post-processing methods that all deal with an etire dataset in form of similarity matrices or trees. The former can be clustered or combined in order to form a consensus using a Total Evidence approach, the latter can be combined using a Total Consensus approach. Each of these methods has its own input parameters and produces output in different format.
10 11 Anonymous
11 11 Anonymous
= Why is Data Standardisation necessary? =
12 9 Anonymous
The goal can be described as follows: [[br]]
13 11 Anonymous
Allow the  ProCKSI "stand-alone" applications to 
14 11 Anonymous
 1. be developped independently from the ProCKSI/Server (incl. webserver/database), and allow collaborators to seamlessly integrate their own methods. One might even think of making the code publically available and allow the community to improve it.
15 1 Anonymous
 2. run on any (Linux) machine that has the necessary methods installed. This can be either a collaborator's desktop machine, the ProCKSI cluster, the University Cluster, or even a machine on the Grid.
16 7 Anonymous
 3. further distribute the given task using local machines, Grid and Web Service technology in order to obtain their results without the need to schedule everything from one central point (''Orchestration'' vs. ''Choreography'').
17 11 Anonymous
 4. return its results in a standardised format that can easily be integrated into ProCKSI/Database and thus resused be the ProCKSI/Server and all other experiments "on the command line".
18 1 Anonymous
19 1 Anonymous
20 8 Anonymous
= Standardising Results with XML =  
21 1 Anonymous
22 11 Anonymous
The principle API for the ProCKSI "stand-alone" applications can be visualised as follows:
23 8 Anonymous
24 8 Anonymous
[[Image(ProCKSI-core-API.png)]]
25 8 Anonymous
26 11 Anonymous
One file in XML format is fed into the ProCKSI/Comparison and ProCKSI/Consensus applications, describing the entire dataset, all tasks and the necessary input parameters. At the end, one output file in XML format is written, which might link to further external files in specific format (e.g. PDF, CM, ...) if necessary.
27 8 Anonymous
28 1 Anonymous
29 8 Anonymous
== Input Specifications ==
30 11 Anonymous
These are the specifications for the XML input file:
31 9 Anonymous
32 9 Anonymous
In principle, all possible results from the requested methods are returned. All unnecessary results can be requested to be excluded. A log file is generated if a file name is provided.
33 9 Anonymous
34 6 Paweł Widera
Optional tags: '''exclude''' (measure, result), '''log'''[[BR]]
35 1 Anonymous
Optional attributes: '''description'''
36 1 Anonymous
37 10 Anonymous
{{{
38 5 Paweł Widera
<package id="ID" description="TEXT">
39 5 Paweł Widera
  <log filename="FILENAME" />
40 10 Anonymous
  
41 5 Paweł Widera
  <dataset type="structure|tree|contact map|similarity matrix">
42 6 Paweł Widera
    <item id="ID" label="TEXT" filename="FILENAME" />
43 5 Paweł Widera
    :::
44 10 Anonymous
    <item id="ID" label="TEXT" filename="FILENAME" />
45 1 Anonymous
  </dataset>  
46 10 Anonymous
47 12 Paweł Widera
  <experiment id="ID" name="NAME">
48 12 Paweł Widera
    <method id="ID" name="NAME">
49 12 Paweł Widera
      <parameters>
50 12 Paweł Widera
        <param name="TEXT">VALUE</param>
51 12 Paweł Widera
        :::
52 12 Paweł Widera
        <param name="TEXT">VALUE</param>
53 12 Paweł Widera
      </parameters>
54 1 Anonymous
55 12 Paweł Widera
      <exclude>
56 12 Paweł Widera
        <measure>NAME</measure>
57 12 Paweł Widera
        :::
58 12 Paweł Widera
        <measure>NAME</measure>
59 1 Anonymous
60 12 Paweł Widera
        <result>NAME</result>
61 12 Paweł Widera
        :::
62 12 Paweł Widera
        <result>NAME</result>
63 12 Paweł Widera
      </exclude>
64 12 Paweł Widera
    </method>
65 12 Paweł Widera
    :::
66 12 Paweł Widera
    <method>
67 12 Paweł Widera
      ...
68 12 Paweł Widera
    </method>
69 12 Paweł Widera
  </experiment>
70 12 Paweł Widera
  :::
71 12 Paweł Widera
  <experiment>
72 12 Paweł Widera
    ...
73 12 Paweł Widera
  </experiment>
74 9 Anonymous
</package>
75 1 Anonymous
}}}
76 6 Paweł Widera
77 1 Anonymous
The data used as an input could be protein structures, similarity trees, contact maps or similarity matrices. All specified methods should be able to operate on given data files. This dependency could be verified automatically using XML Schema.
78 1 Anonymous
79 1 Anonymous
== Output Specifications ==
80 1 Anonymous
These are the specifications for the XML output file:
81 1 Anonymous
82 1 Anonymous
Optional tags: '''log''', '''message''', '''similarity''' (used only if output is a ''comparison'') [[BR]]
83 1 Anonymous
Optional attributes: '''description''', '''node''', '''start''', '''end''', '''ref_id''' (only if output type is ''composition''), '''ref_id2''' (only if output type is not ''comparison'')
84 1 Anonymous
85 1 Anonymous
{{{
86 1 Anonymous
<package id="ID" description="TEXT" node="TEXT" start="TIME" end="TIME">
87 1 Anonymous
  <log filename="FILENAME" />
88 1 Anonymous
89 1 Anonymous
  <message type="error|warning|info">TEXT</message>
90 1 Anonymous
  :::
91 1 Anonymous
  <message type="error|warning|info">TEXT</message>
92 1 Anonymous
  
93 1 Anonymous
  <dataset type="structure|tree|contact map|similarity matrix">
94 1 Anonymous
    <item id="ID" label="TEXT" filename="FILENAME" />
95 1 Anonymous
    :::
96 1 Anonymous
    <item id="ID" label="TEXT" filename="FILENAME" />
97 1 Anonymous
  </dataset>  
98 1 Anonymous
99 12 Paweł Widera
  <experiment id="ID" name="NAME">
100 6 Paweł Widera
    <method id="ID" name="NAME">
101 12 Paweł Widera
      <parameters>
102 12 Paweł Widera
        <parameter name="TEXT">VALUE</parameter>
103 12 Paweł Widera
        :::
104 12 Paweł Widera
        <parameter name="TEXT">VALUE</parameter>
105 12 Paweł Widera
      </parameters>
106 6 Paweł Widera
107 12 Paweł Widera
      <results type="transformation|comparison|composition" ref_id="" ref_id2=" ">
108 12 Paweł Widera
        <message type="error|warning|info">TEXT</message>
109 12 Paweł Widera
        :::
110 12 Paweł Widera
        <message type="error|warning|info">TEXT</message>
111 6 Paweł Widera
112 12 Paweł Widera
        <similarity measure="NAME">VALUE</similarity>
113 12 Paweł Widera
        :::
114 12 Paweł Widera
        <similarity measure="NAME">VALUE</similarity>
115 6 Paweł Widera
116 12 Paweł Widera
        <file type="TEXT" label="TEXT" name="FILENAME" />
117 12 Paweł Widera
        :::
118 12 Paweł Widera
        <file type="TEXT" label="TEXT" name="FILENAME" />
119 12 Paweł Widera
      </results>
120 1 Anonymous
      :::
121 12 Paweł Widera
      <results>
122 12 Paweł Widera
        ...
123 12 Paweł Widera
      </results>
124 12 Paweł Widera
    </method>
125 12 Paweł Widera
    :::
126 10 Anonymous
    <method>
127 12 Paweł Widera
      ...
128 12 Paweł Widera
    </method>
129 12 Paweł Widera
  </experiment>
130 12 Paweł Widera
  :::
131 12 Paweł Widera
  <experiment>
132 12 Paweł Widera
    ...
133 12 Paweł Widera
  </experiment>
134 1 Anonymous
</package>
135 1 Anonymous
}}}
136 1 Anonymous
137 1 Anonymous
Message being an error, warning or additional information could be passed on a global or a method level. Dataset and parameterset defined in the input file (package) could be repeated in the output (results) if needed (self-contained output). Output could be a 1->1 transformation (e.g. structure -> contact map), a 2->1 comparison (e.g. 2*structure -> similarity measure) or N->1 composition (e.g. N*tree -> total tree or N*similarity matrix -> consensus similarity matrix). The results other than similarity measures for a pair of proteins are stored in external files and are just referenced from the XML file.
138 1 Anonymous
139 1 Anonymous
The alignment data could be described in the XML file, as there is no single format used by all programs.