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