annotate test-data/meme_output_test2.html @ 18:19237efe98d1 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
author iuc
date Sat, 09 Apr 2022 08:34:02 +0000
parents 3f0dd362b755
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
1 <script>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
2 {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
3 $("opt_mod").className = data.options.mod;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
4 $("opt_objfun").textContent = data.options.objfun;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
5 $("opt_spfun").textContent = data.options.spfun;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
6 $("opt_strand").className = (current_alphabet.has_complement() ? (data.options.revcomp ? "both" : "given") : "none");
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
7 $("opt_nmotifs").textContent = data.options.nmotifs;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
8 $("opt_evt").textContent = (typeof data.options.evt === "number" ? data.options.evt : "no limit");
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
9 $("opt_minw").textContent = data.options.minw;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
10 $("opt_maxw").textContent = data.options.maxw;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
11 $("opt_minsites").textContent = data.options.minsites;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
12 $("opt_maxsites").textContent = data.options.maxsites;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
13 $("opt_wnsites").textContent = data.options.wnsites;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
14 $("opt_spmap").className = data.options.spmap;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
15 $("opt_spfuzz").textContent = data.options.spfuzz;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
16 $("opt_prior").className = data.options.prior;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
17 if (data.options.prior == "dirichlet") {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
18 $("opt_prior_source").textContent = make_background_source("Source", data.background.source, true);
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
19 } else {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
20 $("opt_prior_source").textContent = (data.options.prior == "addone") ? "motif observed frequencies" : data.options.priors_source;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
21 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
22 $("opt_b").textContent = (data.options.b < 0) ? "not applicable" : (data.options.b == 0) ? "intrinsic strength" : data.options.b;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
23 $("opt_maxiter").textContent = data.options.maxiter;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
24 $("opt_distance").textContent = data.options.distance;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
25 $("opt_searchsize").textContent = data.options.searchsize;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
26 if (typeof data.options.csites != "undefined") {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
27 $("opt_csites").textContent = data.options.csites;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
28 } else {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
29 $("opt_csites").parentElement.style.display = "none"
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
30 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
31 if (typeof data.options.wg != "undefined") {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
32 $("opt_wg").textContent = data.options.wg;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
33 } else {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
34 $("opt_wg").parentElement.style.display = "none"
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
35 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
36 if (typeof data.options.ws != "undefined") {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
37 $("opt_ws").textContent = data.options.ws;
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
38 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
39 else {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
40 $("opt_ws").parentElement.style.display = "none"
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
41 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
42 if (typeof data.options.noendgaps != "undefined") {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
43 $("opt_noendgaps").className = (data.options.noendgaps ? "on" : "off");
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
44 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
45 else {
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
46 $("opt_noendgaps").parentElement.style.display = "none"
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
47 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
48 $("opt_substring").className = (data.options.substring ? "on" : "off");
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
49 }
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
50 </script>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
51 </div>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
52 <!-- list information on this program -->
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
53 <div id="info_sec" class="bar">
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
54 <div class="subsection">
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
55 <h5 id="version">MEME version</h5>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
56 <span id="ins_version"></span>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
57 (Release date: <span id="ins_release"></span>)<br>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
58 </div>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
59 <script>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
60 $("ins_version").innerHTML = data["version"];
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
61 $("ins_release").innerHTML = data["release"];
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
62 </script>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
63 <div class="subsection" id="reference"> <script>print_citation("reference", "MEME");</script></div>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
64 <div class="subsection">
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
65 <h5 id="command">Command line</h5>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
66 <textarea id="cmd" rows="5" style="width:100%;" readonly="readonly">
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
67 </textarea>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
68 <script>$("cmd").value = data["cmd"].join(" ");</script>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
69 </div>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
70 </div>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
71
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
72 </body>
19237efe98d1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme commit 03235f29be6368f58bc730a20d87a13cf215310f"
iuc
parents: 14
diff changeset
73 </html>