view test-data/meme_output_test2.html @ 19:01f5d04846c4 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:40 +0000
parents c5209f38700d
children
line wrap: on
line source

      <script>
      {
        $("opt_mod").className = data.options.mod;
        $("opt_objfun").textContent = data.options.objfun;
        $("opt_spfun").textContent = data.options.spfun;
        $("opt_strand").className = (current_alphabet.has_complement() ? (data.options.revcomp ? "both" : "given") : "none");
        $("opt_nmotifs").textContent = data.options.nmotifs;
        $("opt_evt").textContent = (typeof data.options.evt === "number" ? data.options.evt : "no limit");
        $("opt_minw").textContent = data.options.minw;
        $("opt_maxw").textContent = data.options.maxw;
        $("opt_minsites").textContent = data.options.minsites;
        $("opt_maxsites").textContent = data.options.maxsites;
        $("opt_wnsites").textContent = data.options.wnsites;
        $("opt_spmap").className = data.options.spmap;
        $("opt_spfuzz").textContent = data.options.spfuzz;
        $("opt_prior").className = data.options.prior;
        if (data.options.prior == "dirichlet") {
          $("opt_prior_source").textContent = make_background_source("Source", data.background.source, true);
        } else {
          $("opt_prior_source").textContent = (data.options.prior == "addone") ? "motif observed frequencies" : data.options.priors_source;
        }
        $("opt_b").textContent = (data.options.b < 0) ? "not applicable" : (data.options.b == 0) ? "intrinsic strength" : data.options.b;
        $("opt_maxiter").textContent = data.options.maxiter;
        $("opt_distance").textContent = data.options.distance;
        $("opt_searchsize").textContent = data.options.searchsize;
        if (typeof data.options.csites != "undefined") {
          $("opt_csites").textContent = data.options.csites;
        } else {
          $("opt_csites").parentElement.style.display = "none"
        }
        if (typeof data.options.wg != "undefined") {
          $("opt_wg").textContent = data.options.wg;
        } else {
          $("opt_wg").parentElement.style.display = "none"
        }
        if (typeof data.options.ws != "undefined") {
          $("opt_ws").textContent = data.options.ws;
        }
        else {
          $("opt_ws").parentElement.style.display = "none"
        }
        if (typeof data.options.noendgaps != "undefined") {
          $("opt_noendgaps").className = (data.options.noendgaps ? "on" : "off");
        }
        else {
          $("opt_noendgaps").parentElement.style.display = "none"
        }
        $("opt_substring").className = (data.options.substring ? "on" : "off");
      }
      </script>
    </div>
    <!-- list information on this program -->
    <div id="info_sec" class="bar">
      <div class="subsection">
        <h5 id="version">MEME version</h5>
        <span id="ins_version"></span> 
        (Release date: <span id="ins_release"></span>)<br>
      </div>
      <script>
        $("ins_version").innerHTML = data["version"];
        $("ins_release").innerHTML = data["release"];
      </script>
      <div class="subsection" id="reference"> <script>print_citation("reference", "MEME");</script></div>
      <div class="subsection">
        <h5 id="command">Command line</h5>
        <textarea id="cmd" rows="5" style="width:100%;" readonly="readonly">
        </textarea>
        <script>$("cmd").value = data["cmd"].join(" ");</script>
      </div>
    </div>
    
  </body>
</html>