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