annotate test-data/index.html @ 1:593bb8f5488b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
author bgruening
date Wed, 07 Feb 2018 06:22:58 -0500
parents
children 5784e268efca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
1 <!doctype html>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
2 <html>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
3 <head>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
4 <title>ARBH01000003.1 - 1 clusters - antiSMASH results</title>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
5 <link rel="stylesheet" type="text/css" href="css/bacteria.css">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
6 <meta charset="utf-8">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
7 </head>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
8 <body>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
9 <div id="header">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
10 <div class="top-header">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
11 <img class="antismash-logo" src="images/bacteria_logo.png" alt="antiSMASH">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
12 <span class="antismash-title"><a class="main-link" href="http://antismash.secondarymetabolites.org/">antibiotics &amp; Secondary Metabolite Analysis SHell</a><br>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
13 <span class="white">Version <span id="antismash-version">4.0.2</span></span>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
14 </span>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
15 <div id="icons">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
16 <a class="main-link" href="http://antismash.secondarymetabolites.org/"><img src="images/bacteria_home.png" alt="home" title="Go to start page"></a>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
17 <a class="help-link" href="http://antismash.secondarymetabolites.org/#!/help"><img src="images/bacteria_help.png" alt="help" title="Get help using antiSMASH"></a>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
18 <a class="about-link" href="http://antismash.secondarymetabolites.org/#!/about"><img src="images/bacteria_about.png" alt="about" title="About antiSMASH"></a>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
19 <a href="#" id="download"><img src="images/bacteria_download.png" alt="download" title="Download results"></a>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
20 <div id="downloadmenu">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
21 <ul id="downloadoptions">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
22 <li><a href="ARBH01000003.1.zip">Download all results</a></li><li><a href="ARBH01000003.1.geneclusters.xls">Download XLS overview file</a></li><li><a href="ARBH01000003.1.final.embl">Download EMBL summary file</a></li><li><a href="ARBH01000003.1.final.gbk">Download GenBank summary file</a></li></ul>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
23 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
24 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
25 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
26 <div id="buttons">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
27 <span id="cluster-type">Select Gene Cluster:</span>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
28 <ul id="clusterbuttons">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
29 <li><div class="arrow-left" id="prev-cluster"></div></li>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
30 <li class="clbutton"><a href="#">Overview</a></li>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
31 <li class="clbutton t1pks cluster-1"><a href="#cluster-1">1</a></li><li id="last-clbutton"><div class="arrow-right" id="next-cluster"></div></li>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
32 </ul>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
33 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
34 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
35
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
36 <!-- overview page -->
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
37 <div class="page" id="overview">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
38 <h3>Identified secondary metabolite clusters<span id="truncated"></span></h3>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
39 <table id="cluster-overview">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
40 <thead>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
41 <tr>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
42 <th>Cluster</th>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
43 <th>Type</th>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
44 <th>From</th>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
45 <th>To</th>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
46 <th>Most similar known cluster</th>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
47 <th>MIBiG BGC-ID</th>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
48 </tr>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
49 </thead>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
50 <tbody>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
51 <tr class="separator-row"><td class="separator-text" colspan="2">The following clusters are from record ARBH01000003.1:</td></tr><tr><td class="clbutton t1pks"><a href="#cluster-1">Cluster 1</a></td><td><a href="http://antismash.secondarymetabolites.org/help#t1pks" target="_blank">T1pks</a></td><td class="digits">1</td><td class="digits">3500</td><td>-</td><td>-</td></tr></tbody>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
52 </table>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
53 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
54
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
55 <div class="page" id="cluster-1"><h3>ARBH01000003.1 - Cluster 1 - T1pks</h3><div class="sidepanel"><div class="structure"><h3>Predicted core structure</h3><a href="images/nostructure_icon.png" target="_new"><img src="images/nostructure_icon.png"></a><div class="as-structure-warning">Rough prediction of core scaffold based on assumed PKS/NRPS colinearity; tailoring reactions not taken into account</div></div><div class="more-details"><h3>Prediction details</h3><dl class="prediction-text"><dt>Monomers prediction:</dt><dd>(mal)</dd><dt>ctg1_1</dt><dd>PKS signature: mal<br></dd><dd>Minowa: mal<br></dd><dd>consensus: mal<br></dd></dl></div></div><div class="content"><div class="description-container"><h3>Gene cluster description</h3><div class="cluster-download"><a href="ARBH01000003.1.cluster001.gbk">Download cluster GenBank file</a></div><div class="description-text">ARBH01000003.1 - Gene Cluster 1. Type = t1pks. Location: 1 - 3500 nt. Click on genes for more information.</div><a class="cluster-rules-header" id="cluster-1-rules-header" href="#cluster-1">Show pHMM detection rules used</a><div class="cluster-rules" id="cluster-1-rules">t1pks: ((PKS_KS &amp; PKS_AT) or (ene_KS &amp; PKS_AT) or (mod_KS &amp; PKS_AT) or (hyb_KS &amp; PKS_AT) or (itr_KS &amp; PKS_AT) or (tra_KS &amp; PKS_AT))<br></div><div id="cluster-1-svg"></div></div><div class="legend"><h4>Legend:</h4><div><div><div class="legend-field legend-type-biosynthetic"></div><div class="legend-label">core biosynthetic genes</div></div><div><div class="legend-field legend-type-biosynthetic-additional"></div><div class="legend-label">additional biosynthetic genes</div></div><div><div class="legend-field legend-type-transport"></div><div class="legend-label">transport-related genes</div></div><div><div class="legend-field legend-type-regulatory"></div><div class="legend-label">regulatory genes</div></div><div><div class="legend-field legend-type-other"></div><div class="legend-label">other genes</div></div></div></div><div class="details"><h3>Detailed annotation</h3><div class="details-svg" id="cluster-1-details-svg"></div></div></div></div><div id="footer">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
56 <div id="logos">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
57 <table id="logo-table">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
58 <tr>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
59 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
60 <img src="images/tueblogo.gif">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
61 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
62 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
63 <img src="images/ruglogo.gif">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
64 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
65 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
66 <img src="images/ucsflogo.gif">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
67 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
68 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
69 <img src="images/wur-logo.png">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
70 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
71 </tr>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
72 <tr>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
73 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
74 <img src="images/uomlogo.jpg">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
75 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
76 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
77 <img src="images/dziflogo.png">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
78 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
79 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
80 <img src="images/cfb-logo.png">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
81 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
82 <td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
83 </td>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
84 </tr>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
85 </table>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
86 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
87 <div id="copyright">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
88 If you have found antiSMASH useful, please <a href="http://antismash.secondarymetabolites.org/about">cite us</a>.
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
89 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
90 </div>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
91
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
92 <script src="js/jquery.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
93 <script src="js/purl.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
94 <script src="js/d3.v2.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
95 <script src="js/svgene.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
96 <script src="js/jsdomain.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
97 <script src="js/clusterblast.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
98 <script src="js/domainalign.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
99 <script src="geneclusters.js"></script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
100 <script type="text/javascript">
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
101 function toggle_downloadmenu(event) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
102 event.preventDefault();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
103 $("#downloadmenu").fadeToggle("fast", "linear");
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
104 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
105
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
106 function switch_to_cluster() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
107 setTimeout(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
108 var url = $.url();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
109 $(".page").hide();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
110 $("li.clbutton").removeClass("active");
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
111 var anchor = url.data.attr.fragment;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
112 if (anchor == "") {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
113 anchor = "overview";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
114 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
115 $("#" + anchor).show();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
116 if (anchor != "overview") {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
117 $("li.clbutton." + anchor).addClass("active");
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
118 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
119
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
120 if (geneclusters[anchor] !== undefined) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
121 svgene.drawClusters(anchor+"-svg", [geneclusters[anchor]], 20, 700);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
122 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
123 if ($("#" + anchor + "-details-svg").length > 0) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
124 jsdomain.drawDomains(anchor+ "-details-svg", details_data[anchor], 40, 700);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
125 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
126 $("#" + anchor + " .clusterblast-selector").change();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
127 $("#" + anchor + " .domainalign-selector").change();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
128 }, 1);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
129 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
130
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
131 function next_cluster() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
132 var num_clusters = Object.keys(geneclusters).length;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
133 var url = $.url();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
134 var anchor = url.data.attr.fragment;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
135 var href = "#" + anchor;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
136 if (anchor == "" || anchor == "overview") {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
137 anchor = "cluster-0";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
138 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
139 var cluster_number = parseInt(anchor.split('-')[1]);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
140 var next_cluster_number = cluster_number + 1;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
141 if (next_cluster_number <= num_clusters) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
142 href = "#cluster-" + next_cluster_number;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
143 } else {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
144 href = "#overview";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
145 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
146 window.location.href = href;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
147 switch_to_cluster();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
148 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
149
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
150 function previous_cluster() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
151 var num_clusters = Object.keys(geneclusters).length;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
152 var url = $.url();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
153 var anchor = url.data.attr.fragment;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
154 var href = "#" + anchor;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
155 if (anchor == "" || anchor == "overview") {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
156 anchor = "cluster-0";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
157 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
158 var cluster_number = parseInt(anchor.split('-')[1]);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
159 var prev_cluster_number = cluster_number - 1;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
160 if (prev_cluster_number == 0 ) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
161 href = "#overview";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
162 } else if (prev_cluster_number < 0){
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
163 href = "#cluster-" + num_clusters;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
164 } else {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
165 href = "#cluster-" + prev_cluster_number;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
166 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
167 window.location.href = href;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
168 switch_to_cluster();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
169 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
170
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
171 function toggle_cluster_rules(ev) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
172 ev.preventDefault();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
173 var id = $(this).attr('id').replace(/-header/, '');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
174 var rules = $('#' + id);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
175 if (rules.css('display') == "none") {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
176 $(this).text('Hide pHMM detection rules used');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
177 } else {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
178 $(this).text('Show pHMM detection rules used');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
179 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
180 rules.fadeToggle("fast", "linear");
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
181 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
182
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
183 function map_type_to_desc(type) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
184 switch(type) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
185 case "nrps": return "NRPS";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
186 case "t1pks": return "Type I PKS";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
187 case "t2pks": return "Type II PKS";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
188 case "t3pks": return "Type III PKS";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
189 case "t4pks": return "Type IV PKS";
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
190 default: return type;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
191 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
192 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
193
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
194 function copyToClipboard (text) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
195 window.prompt ("Copy to clipboard: Ctrl+C, Enter", text);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
196 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
197
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
198 $(document).ready(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
199
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
200 $("#download").click(toggle_downloadmenu);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
201
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
202 $("#next-cluster").click(next_cluster);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
203 $("#prev-cluster").click(previous_cluster);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
204
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
205 $(".clbutton").click(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
206 /* Make sure that even if user missed the link and clicked the
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
207 background we still have the correct anchor */
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
208 var href = $(this).children().first().attr('href');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
209
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
210 if (href === undefined) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
211 return;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
212 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
213 window.location.href = href;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
214
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
215 switch_to_cluster();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
216 }).mouseover(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
217 /* Set the select cluster label text to cluster type */
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
218 var classes = $(this).attr('class').split(' ');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
219 if (classes.length < 2) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
220 return;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
221 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
222 if (classes[1] == 'separator') {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
223 return;
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
224 }
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
225 var cluster_type = map_type_to_desc(classes[1]);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
226 var label = $('#cluster-type');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
227 label.data("orig_text", label.text());
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
228 label.text(cluster_type + ":");
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
229 }).mouseout(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
230 /* and reset the select cluster label text */
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
231 var label = $('#cluster-type');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
232 label.text(label.data("orig_text"));
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
233 });
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
234
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
235 $('.clusterblast-selector').change(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
236 var id = $(this).attr('id').replace('-select', '');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
237 var url = $(this).val();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
238 $.get(url, function(data) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
239 $('#' + id + '-svg').html(data);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
240 clusterblast.init(id + '-svg');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
241 // id =
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
242 }, 'html');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
243 $('#' + id + '-download').off('click');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
244 $('#' + id + '-download').click(function () {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
245 var url = $("#" + id + "-select").val();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
246 window.open(url, '_blank');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
247 });
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
248 });
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
249
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
250 $('.domainalign-selector').change(function() {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
251 var id = $(this).attr('id').replace('-select', '');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
252 var url = $(this).val();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
253 $.get(url, function(data) {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
254 $('#' + id + '-svg').html(data);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
255 domainalign.init(id + '-svg');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
256 // id =
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
257 }, 'html');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
258 $('#' + id + '-download').off('click');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
259 $('#' + id + '-download').click(function () {
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
260 var url = $("#" + id + "-select").val();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
261 window.open(url, '_blank');
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
262 });
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
263 });
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
264
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
265 $('.cluster-rules-header').click(toggle_cluster_rules);
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
266
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
267 switch_to_cluster();
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
268
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
269 });
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
270 </script>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
271
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
272 </body>
593bb8f5488b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
bgruening
parents:
diff changeset
273 </html>