annotate test-data/meme_output_test2.html @ 7:47e7ae719765 draft default tip

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