todo update
[jabaws.git] / TODO.txt
1 TODO write some help on the executable.properties within this file! \r
2 check that after binaries relocation build tasks point to correct locations!\r
3 GET rid of binaries/help directory!\r
4 update binaries\r
5  + muscle binary version 3.8.31 for win/lin32/lin64 and sources, docs in website/prog_docs\r
6  - test Muscle on the cluster\r
7  - test Muscle compilation\r
8  + probcons up-to-date\r
9  + clustal up-to-date \r
10  - update tcoffee (8.99 latest)\r
11  - update Mafft (6.857 latest)\r
12 + make sure conf files are optional!\r
13 \r
14 TODO: \r
15 Registry 1 week\r
16 webservices - 1 week\r
17 client - 1 week\r
18 docs - 1 week\r
19 \r
20 Cluster stats: \r
21  +cancelled should not be reported as incomplete!\r
22  -Remove hyperlinks from tasks which workdirs were removed \r
23  -graph generation \r
24  -user documentation (do not forget how to enable follow symlinks!)\r
25  -use the same name for output for different executables\r
26  +ant task to clean up clean stat db task before packing web app\r
27  +pack web apps with stat db (NOT TESTED!)\r
28  +change input size bites\r
29  +add help info for each column in the detailed job list table\r
30  +replace default -1 with ? \r
31  +delete and re-import the database to fix clustal input staff    \r
32 \r
33 add to help text: To disable a web service remove it from WEB-INF/sun-jaxws.xml descriptor\r
34 \r
35 add to help: VirtualBox 4.0.4 works fine with JABAWS update links \r
36 \r
37 rename jaba.war to jabaws.war and make sure jabaws context path is used throughout. \r
38 \r
39 Current stat collector has to rely on file dates! \r
40 \r
41 Test all WS as names from Executables were removed\r
42 \r
43 Add default names for input and output in every executable and use them consistently\r
44 throughts (e.g. in all WS). Best of all use the same name from SceletalExectuable \r
45 For statistics. \r
46 \r
47 FIXME: \r
48 Conecting to JABAWS version 2 service\r
49 09-Feb-2011 15:27:53 compbio.ws.client.Jws2Client connect\r
50 INFO: Connected successfully!\r
51 Exception in thread "main" java.lang.NullPointerException\r
52         at compbio.ws.client.MetadataHelper.getParametersList(MetadataHelper.java:30)\r
53         at compbio.ws.client.Jws2Client.<init>(Jws2Client.java:179)\r
54         at compbio.ws.client.Jws2Client.main(Jws2Client.java:483)\r
55         \r
56 ScoreManager should output scores properly \r
57 \r
58 Allow empty Parameters and Preset files! \r
59 \r
60 Check the WS input and reject it on submission rather then of access with error message\r
61 \r
62 Globprot need a proper reference to bio python and sav_gol binaries -> they should be \r
63 somehow taken from disembl. \r
64 \r
65 +Add registry service to query services status\r
66 \r
67 +Refactor web services checker to enable a programmatic access to its methods.\r
68 +Finish the client\r
69 \r
70 Add interface for Jalview annotation \r
71 Add the method to return Jalview Annotation to SequenceAnnotation IF  \r
72 \r
73 Develop generic Interface to return Jalview annotation for easy to add new \r
74 services (?) \r
75 \r
76 Replace conservation.Method with server.ws.Method \r
77 and try building WS. If this does not work - get rid of Method\r
78 \r
79 Output file parsing for stat reporting\r
80 cluster engine stat of www-jws2 user\r
81 \r
82 integrate the above to tweak the size of the local job\r
83 \r
84 Add AACon ws\r
85 Add iupred ws http://iupred.enzim.hu/\r
86 Add globprot ws - does not report raw scores, just regions\r
87 Add ronn ws\r
88 \r
89 Philogeny Mrbayes + Philip\r
90  \r
91 USE CASE - TURN ALIGNMENT INTO PROFILE AND SEARCH SEQUENCE DATABASE USECASE\r
92 - Receive user alignment \r
93 - use hmmerbuild to turn it to profile\r
94 - use hmmersearch to search the database \r
95 \r
96 #END OF - TURN ALIGNMENT INTO PROFILE AND SEARCH SEQUENCE DATABASE USECASE \r
97 \r
98 New data model for representing psiblast,blast,phmmer,jackhmmer results\r
99 \r
100 new parsers for the above programmes output (Stockholm MSA format?)\r
101 \r
102 Think hard on what to do with large output files? \r
103 e.g. serve the hits table in full, but retrieve alignments on demand.\r
104 What actually needs to be sent?   \r
105 \r
106 Add facility to distribute other results of the calculations like the trees and \r
107 annotation file for probcons. \r
108 \r
109 # END OF SEARCHING SEQUENCE DATABASE USECASE\r
110 \r
111 Good toString method for Limits (test with command line client -limits)\r
112 \r
113 JABA DOCS\r
114 (later) Define limits for presets - if required\r
115 (later) Add documentation on Presets, Parameters and Limits\r
116 (later) Explain how to define a limit\r
117 \r
118 Add test for repeated result collection from cluster engine\r
119 \r
120 (low) Pack the test cases and build file to run them in one of the distributives \r
121 \r
122 (low) Add logging facility to WSTester so more details of the problem can be reported\r
123 \r
124 (low) Statistics collector for engines (number of operations/timing)\r
125 \r
126 (later) WRAP Amps\r
127 \r
128 (later) Implement utility to rerun died tasks\r
129 \r
130 (later) Add recognition for executables for the different architectures\r
131 \r
132 (later) use Latch to manage engine reservations. Reservations for parallel jobs? \r
133 \r
134 DONE\r
135 WILL NOT DO: Progress bars - needs assessing how long does it take to run a task\r
136 DONE: LocalExecutor service must be shutdown on web application undeploy event not on JVM shutdown. \r
137       This is because JVM is still running even after web application is shut down!\r
138 DONE: Use absolute path for web site download links as archives are not included into distro!\r
139 DONE: Rearrange web site docs - add links to the top of the page to the topics discussed below\r
140 DONE: Put the documentation for various executables online\r
141 DONE: Make left gradient image one-two characters larger + change "For developer ->For Developers"\r
142 DONE: test local/cluster execution - test Load balancer\r
143 DONE: Improve SimpleWS client so it can be scripted against: give user alignment and accept parameters\r
144 DONE: Make a configuration tester class (check that configuration files point to the executables, and they can be executed)\r
145 DONE: PUT CLIENT JAR INTO WEB-INF/LIB - most likely need to get rid of dist prefix in the build file\r
146 DONE: Different packages for download and dundee. generic vs specific settings. \r
147 DONE: JAVADOC\r
148 DONE: Refactor EngineResourcesLeak tester to hide a map implementation!\r
149 DONE: Compile executables for linux in the most generic way\r
150 DONE: Make different log4j configuration files / web services logs.\r
151 DONE: System manual\r
152 DONE: Developer doc\r
153 DONE: How to\r
154 DONE: Prepare different packages\r
155 DONE: extract commonly used names into variable in the build script\r
156 DONE: Test for high load conditions (TestNG?)\r
157 DONE: (low) Fix: Started jobs with unknown completion status reported as FINISHED by  msaws.getJobStatus(taskId) (see SimpleWSClient)\r
158 DONE: fix compile binaries script\r
159 DONE: Make script to change executable flag for linux systems\r
160 DONE: jobsout must be created within war\r
161 DONE: enable relative paths for local engine conf temp dir\r
162 COUND NOT REPRODUCE: fix cluster job status - RUNNING -> UNDEFINED\r
163 DONE: throw JobSubmission exception with appropriate method instead - (low) code discoverer/tester for ws - e.g. after war deployment to find out what actually works\r
164 DONE: fix build scripts after reorganising project\r
165 DONE: package as war file for deployment\r
166 DONE: package for jalview distro for local execution\r
167 DONE: reorganise project into independent chunks\r
168 DONE: test Parameter & Option toCommand method\r
169 DONE: Replace WS methods with new CommandBuilder.toCommand()\r
170 DONE: Setting default values is validated as external method \r
171 DONE: Refactoring to extract data model, and engines is performed\r
172 DONE: Default value is adopted for passing new Option values to server side\r
173 DONE: Converting Options to commands delegated to CommandBuilder  \r
174 DONE: Make Arguments mutable to facilitate default value setting for WS\r
175 DONE: Matrix files for alignment programme\r
176 DONE: Clean up testcases\r
177 DONE: Replace List<String> as command line parameters abstraction to dedicated CommandBuilder class \r
178 DONE: Parallel execution for tcoffee jobs\r
179 DONE: Copyright added\r
180 DONE: WRAP ProbCons\r
181 DONE: think about time limits and cluster parameters for parallel execution - NativeSpecs for cluster is implemented\r
182 DONE: (low) Use for WS: (@WebParam(name = "name") String name) {\r
183 DONE: Implement rough policy for runtimes (e.g. do not run excessively long tasks on the local machine if cluster is available)\r
184 DONE: Write tomcat conf to expose WS\r
185 DONE: access control to web.xml\r
186 DONE: Statistics collector for WS\r
187 DONE: implements limits for web services\r
188 DONE: WS clients must be able to connect to a web service given the service url. \r
189 e.i. ws URL should not be compiled in using wsimport, but determined from \r
190 the configuration file.  \r
191 \r
192 DONE: Could not find configuration files if run from within servlet container\r
193 DONE: Add ways to get engine based on the key for everything but submission of the new tasks \r
194 DONE: Add cache to Cluster JOBID - so that at least jobs for which results have not been collected is cached.\r
195 DONE: FINISHED overrides FINISHED with time stamp!\r
196 DONE: Consider think about JobStatus and StatFileStatus\r
197 DONE: a method to read 3 chars at the beginning of the file to indicate a progress is added\r
198 DONE: ConfiguredExecutable<?> al = sexec.getResults(jobId); || Alignment ?\r
199 DONE: ClustalW - OUTput must be set !\r
200 DONE: Add accessor methods to get a DUMP of the process output \r
201 DONE: FilePuller should be cached to avoid excessive fs exercise\r
202 DONE: Test List of the processes (ensure no memory leaks)\r
203 PART DONE - On the client on shutdown remember the task list - server tasks could be loaded and executed from saved run configurations, client should decide for themselves what they want\r
204 DONE: Persist the task list to enable later result collection on the server side\r
205 DONE Wrap TCoffee\r
206 DONE: improve parameters handling - new schema + update for all parameters\r
207 DONE: Cluster jobs report submitting and result collecting/finishing time (for sync jobs only(!)) and cluster jobid in the corresponding files  \r
208 DONE: Local jobs report starting and finising times in files with corresponding names in the task directory  \r
209 DONE: Generalize getResult method for MSA runners\r
210 DONE: Create test suits\r
211 DONE: Convert junit tests to TestNG\r
212 DONE: Redirect output & error streams to the named files as some processed need this  \r
213 DONE: Extract generilyzed class with most of the method for individual executable to use\r
214 DONE: Refit wrappers to use the generalised class to avoid duplication  \r
215 DONE: Pass environment variable settings to the executable\r
216 DONE: Complete AsyncExecutors implementation\r
217 DONE: Look to unify methods for engines\r
218 DONE: Provide way around of generated directory setup for test cases(?)\r
219 DONE: Fix the test cases for local engine (need to set directory on executable explicitly)\r
220 DONE: Make log files for processes err and out for local execution\r
221 DONE: Trace where AsyncExcel called with null Executable and attempts to create a new directory repeatedly\r
222 DONE: directory generator\r
223 DONE: tests for cancel \r
224 DONE tests for getStatus\r
225 DONE  ws async\r
226 DONE: parametrized clustal operations\r
227 DONE: test large datasets handling \r
228 DONE: write load balancer \r
229 DONE: (low) task persistance\r
230 DONE: Look at CancellableTask if with Sync and AsyncExecutor \r