Repository 'antismash'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/antismash

Changeset 1:593bb8f5488b (2018-02-07)
Previous changeset 0:5db064bbb3be (2014-07-15) Next changeset 2:3f0077c88c16 (2018-02-10)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/antismash commit 654a4f3b3a1602cec2510d51fb953fd456427e08
modified:
antismash.xml
readme.rst
static/images/antismash_user_interface.png
added:
test-data/ARBH01000003.1.cluster001
test-data/ARBH01000003.1.final
test-data/index.2.html
test-data/index.html
test-data/sequence.fasta
test-data/sequence.gb
removed:
repository_dependencies.xml
tool-data/antismash.loc.sample
tool_data_table_conf.xml.sample
tool_dependencies.xml
b
diff -r 5db064bbb3be -r 593bb8f5488b antismash.xml
--- a/antismash.xml Tue Jul 15 14:34:55 2014 -0400
+++ b/antismash.xml Wed Feb 07 06:22:58 2018 -0500
[
b'@@ -1,253 +1,166 @@\n-<tool id="antismash" name="Secondary Metabolites" version="2.0.2.2">\n-    <description>and Antibiotics Analysis (antiSMASH)</description>\n+<?xml version=\'1.0\' encoding=\'utf-8\'?>\n+<tool id="antismash" name="Antismash" version="4.0.2" profile="17.01">\n+    <description>allows the genome-wide identification, annotation and analysis of secondary metabolite biosynthesis gene clusters</description>\n     <requirements>\n-        <requirement type="package" version="3.0">hmmer</requirement>\n-        <requirement type="package">hmmer</requirement>\n-        <requirement type="package" version="2.2.28">blast+</requirement>\n-        <requirement type="package">blast+</requirement>\n-        <requirement type="package" version="3.8.31">muscle</requirement>\n-        <requirement type="package">muscle</requirement>\n-        <requirement type="package" version="1.4.0-post-1">straight.plugin</requirement>\n-        <requirement type="package">straight.plugin</requirement>\n-        <requirement type="package" version="1.62">biopython</requirement>\n-        <requirement type="package">biopython</requirement>\n-        <requirement type="package" version="1.2.6">pyquery</requirement>\n-        <requirement type="package">pyquery</requirement>\n-        <requirement type="package" version="0.1.2">helperlibs</requirement>\n-        <requirement type="package">helperlibs</requirement>\n-        <requirement type="package" version="0.9">cssselect</requirement>\n-        <requirement type="package">cssselect</requirement>\n-        <requirement type="package" version="2.0.2">antismash</requirement>\n-        <requirement type="package">antismash</requirement>\n-        <requirement type="package">glimmer</requirement>\n+        <requirement type="package" version="4.0.2">antismash</requirement>\n     </requirements>\n-    <command>\n+    <version_command>antismash --version</version_command>\n+    <command detect_errors="aggressive">\n+<![CDATA[\n         #import os, glob\n-        #set $outputfolder = $html.files_path\n+        #set $htmloutputfolder = $html.files_path\n         #if str($infile.ext) == \'genbank\':\n             #set $file_extension = \'gb\'\n         #else:\n-            ## TODO add embl as input file\n-            #set $file_extension = \'gb\'\n-        #end if\n-\n-        ln -s $infile #echo \'input_tempfile.\' + $file_extension#;\n-        mkdir -p $outputfolder;\n-        run_antismash.py \n-            --cpus "\\${GALAXY_SLOTS:-12}"\n-            --enable $types\n-            --input-type \'nucl\'\n-            $smcogs\n-            $clusterblast\n-            $subclusterblast\n-            $inclusive\n-            $full_hmmer\n-            $full_blast\n-            $eukaryotic\n-\n-\n-            #if str($pfam_database) != "None":\n-                --pfamdir $pfam_database.fields.path\n-            #end if\n-\n-            ##--debug\n-\n-            --disable-embl\n-            --outputfolder $outputfolder\n-\n-            #echo \'input_tempfile.\' + $file_extension#\n-\n-            ## leave out the start and end features, it can be easily replaced with Galaxy tools\n-            ##--from START          Start analysis at nucleotide specified\n-            ##--to END\n-\n-        2>&#38;1\n-\n-        ##\n-        ## shuffling files to create the correct outputs for Galaxy\n-        ##\n-\n-        ## html output\n-        ;\n-        cp #echo os.path.join($outputfolder, \'index.html\')# $html 2> /dev/null\n-        \n-        ## gene clusters\n-        #if \'geneclusterprots_tabular\' in str($outputs).split(\',\'):\n-            ;\n-            cp #echo os.path.join($outputfolder, \'geneclusters.txt\')# $geneclusterprots_tabular 2> /dev/null\n-        #end if\n-\n-        #if \'geneclusterprots_fasta\' in str($outputs).split(\',\'):\n-            ;\n-            cp #echo os.path.join($outputfolder, \'*_genecluster_proteins.fa\')# $geneclusterprots_fasta 2> /dev/null\n-        #end if\n-\n-\n-        ##SVG images\n-        #if \'archive_svgs\' in str($outputs).split(\',\'):\n-            ;\n-            cd #echo os.p'..b'ogous to the gene cluster that was detected in your query nucleotide sequence.\n-\n+Alternatively, you can provide a FASTA file containing a single sequence. antiSMASH will generate a preliminary annotation using Prodigal, and use that to run the rest of the analysis.\n+You can also provide gene annotations in GFF3 foramt. Input files should be properly formatted.\n+If you are creating your GBK/EMBL/FASTA file manually, be sure to do so in a plain text editor like Notepad or Emacs, and saving your files as "All files (.)", ending with the correct extension (for example ".fasta", ".gbk", or ".embl".\n \n-Also available is the analysis of secondary metabolism gene families (smCOGs). \n-This analysis attempts to allocate each gene in the detected gene clusters to a secondary metabolism-specific gene \n-family using profile hidden Markov models specific for the conserved sequence region characteristic of this family. \n-Additionally, a phylogenetic tree is constructed of each gene together with the (max. 100) sequences of the smCOG seed alignment.\n+There are several optional analyses that may or may not be run on your sequence. Highly recommended is the Gene Cluster Blast Comparative Analysis, which runs BlastP using each amino acid sequence from a detected gene cluster as a query on a large database of predicted protein sequences from secondary metabolite biosynthetic gene clusters, and pools the results to identify the gene clusters that are most homologous to the gene cluster that was detected in your query nucleotide sequence.\n+This analysis is selected by default\n \n+Also available is the analysis of secondary metabolism gene families (smCOGs). This analysis attempts to allocate each gene in the detected gene clusters to a secondary metabolism-specific gene family using profile hidden Markov models specific for the conserved sequence region characteristic of this family.\n+Additionally, a phylogenetic tree is constructed of each gene together with the (max. 100) sequences of the smCOG seed alignment. This analysis is selected by default\n \n-For the most thorough genome analysis, we provide genome-wide PFAM HMM analysis of all genes in the genome through modules of the CLUSEAN pipeline. \n-Of course, some regions important to secondary metabolism may have been missed in the gene cluster identification stage \n-(e.g. because they represent the biosynthetic pathway of a yet unknown secondary metabolite). \n-Therefore, when genome-wide PFAM HMM analysis is selected, the PFAM frequencies are also used to find all genome regions in which PFAM domains typical for secondary metabolism are overrepresented.\n+**Ouput**\n \n-\n-**References**\n+The output of the antiSMASH analysis pipeline is organized in an interactive HTML page with SVG graphics, and different parts of the analysis are displayed in different panels for every gene cluster\n \n-Marnix H. Medema, Kai Blin, Peter Cimermancic, Victor de Jager, Piotr Zakrzewski, Michael A. Fischbach, Tilmann Weber, \n-Rainer Breitling and Eriko Takano (2011). antiSMASH: Rapid identification, annotation and analysis of secondary metabolite biosynthesis gene clusters. Nucleic Acids Research, doi: 10.1093/nar/gkr466.\n-\n-http://antismash.secondarymetabolites.org/help.html\n+In the upper right, a small list of buttons offers further functionality. The house-shaped button will get you back on the antiSMASH start page.\n+The question-mark button will get you to this help page. The exclamation-mark button leads to a page explaining about antiSMASH.\n+The downward-pointing arrow will open a menu offering to download the complete set of results from the antiSMASH run, a summary Excel file and to the summary EMBL/GenBank output file.\n+The EMBL/GenBank file can be viewed in a genome browser such as Artemis.\n \n-\n-Bjoern A. Gruening: https://github.com/bgruening/galaxytools/tree/master/antismash\n-\n-  </help>\n+]]>\n+    </help>\n+    <citations>\n+        <citation type="doi">10.1093/nar/gkv437</citation>\n+    </citations>\n </tool>\n'
b
diff -r 5db064bbb3be -r 593bb8f5488b readme.rst
--- a/readme.rst Tue Jul 15 14:34:55 2014 -0400
+++ b/readme.rst Wed Feb 07 06:22:58 2018 -0500
b
@@ -17,28 +17,12 @@
 Installation
 ============
 
-Galaxy should be able to automatically install the dependencies, i.e. the
-'package_hmmer_3_0' or 'package_blast_plus_2_2_28' repository.
-
-You must tell Galaxy about any system level Pfam databases using the configuration
-file antismash.loc.
-
-You can download the Pfam provided databases as compressed archives from here:
-
-* ftp://ftp.sanger.ac.uk/pub/databases/Pfam/current_release/
-
-
-External Data
-=============
-
-The antismash.loc file contains the path to a Pfam database.
-For any other tool that also uses a Pfam database *.log file, you can sync or link both *.loc files.
-
-
+Galaxy should be able to automatically install the dependencies using conda
 
 History
 =======
 
+v0.2 - Antismash update 4.0.2
 v0.1 - Initial public release
 
 
@@ -62,4 +46,3 @@
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
-
b
diff -r 5db064bbb3be -r 593bb8f5488b repository_dependencies.xml
--- a/repository_dependencies.xml Tue Jul 15 14:34:55 2014 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<repositories description="AntiSmash requires the Galaxy applicable data formats used by Emboss tools, especially genbank.">
-  <repository changeset_revision="a89163f31369" name="emboss_datatypes" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
-</repositories>
b
diff -r 5db064bbb3be -r 593bb8f5488b static/images/antismash_user_interface.png
b
Binary file static/images/antismash_user_interface.png has changed
b
diff -r 5db064bbb3be -r 593bb8f5488b test-data/ARBH01000003.1.cluster001
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/ARBH01000003.1.cluster001 Wed Feb 07 06:22:58 2018 -0500
b
b'@@ -0,0 +1,309 @@\n+LOCUS       ARBH01000003            3500 bp    DNA     linear   BCT 22-APR-2013\n+DEFINITION  Amycolatopsis balhimycina FH 1894 strain DSM 44591\n+            A3CEDRAFT_scaffold1.1_C3, whole genome shotgun sequence.\n+ACCESSION   ARBH01000003\n+VERSION     ARBH01000003.1\n+KEYWORDS    .\n+SOURCE      Amycolatopsis balhimycina FH 1894\n+  ORGANISM  Amycolatopsis balhimycina FH 1894\n+            Bacteria; Actinobacteria; Pseudonocardiales; Pseudonocardiaceae;\n+            Amycolatopsis.\n+FEATURES             Location/Qualifiers\n+     source          1..3500\n+                     /organism="Amycolatopsis balhimycina FH 1894"\n+                     /mol_type="genomic DNA"\n+                     /strain="DSM 44591"\n+                     /culture_collection="DSM:44591"\n+                     /db_xref="taxon:1089545"\n+     cluster         1..3500\n+                     /note="Cluster number: 1"\n+                     /note="Detection rule(s) for this cluster type: t1pks:\n+                     ((PKS_KS & PKS_AT) or (ene_KS & PKS_AT) or (mod_KS &\n+                     PKS_AT) or (hyb_KS & PKS_AT) or (itr_KS & PKS_AT) or\n+                     (tra_KS & PKS_AT));"\n+                     /note="Monomers prediction: (mal)"\n+                     /note="Structure image: structures/genecluster1.png"\n+                     /cutoff=20000\n+                     /extension=20000\n+                     /product="t1pks"\n+                     /contig_edge="True"\n+     CDS             3..3500\n+                     /aSProdPred="mal"\n+                     /note="smCOG:\n+                     SMCOG1001:short-chain_dehydrogenase/reductase_SDR (Score:\n+                     64.2; E-value: 2.2e-19);"\n+                     /locus_tag="ctg1_1"\n+                     /translation="GGVLALPAELDRRGGDRLAAVLSGATGEDQLAIRAAGVFGRRVVR\n+                     APAGDRAPARTWTPRGTTLITGGTGTLAPHLARWLAEQGAEHIVLTSRTGAEAPKARQL\n+                     LAELGETVEAVACDVTDKAALAALLARLRAEGRTVRNVVHTAAVIELHTLAETDLAAFS\n+                     RTVHAKVVGARNLDELLDTDELDAFVLYSSTAGLWGTGAHAAYVAGNAYLHALAAHRRA\n+                     RGLRATALSWGIWADDRELGRVDPEQIVRSGLVFMAPELALEGLRRALDDDETALAVAD\n+                     LDWERYYPVYTAVRPTLLFDELPEVRRLTEAAAATAATGAGGEFAARLRTLPEAERAHL\n+                     LLELVRAEAAAVLGHASADALPEDRAFRDVGFDSVTAVDLRNRISAGTGLTLPATMVFD\n+                     HPTPRRLAGFLAATITGSGAVEQAPAVAGVDTGEPVAIIGMACRYPGGANTPERLWDLV\n+                     VGGVDAISGFPADRNWPTDALYDPDPDAGGKTYSVQGGFLHEAAEFDPGFFGISPREAL\n+                     SMDPQQRLLLETAWEAFERAGIDPHTLRGSGTGTFIGASYQDYTAAVSGAVDNADGHMI\n+                     TGSLGSILSGRLSYLFGLEGPAVTLDTACSSSLVAIHLAAQSLRSGESSLALAGGVSVM\n+                     ATPGAFVGFSRQRALATDGRCKAYSDRADGMTLGEGVGLVLLEKLSDAQRNGHRILAVV\n+                     RGSATNQDGASNGMTAPSGPSQQRVIRQALANARLSASEVDVIEGHGTGTALGDPIEAQ\n+                     ALLATYGQDRERPLLLGSVKSNIGHTQMASGVAGVIKVVQALRHGLVPKTLHVDEPSTH\n+                     VDWSTGSIELPSGSVPWPESGRPRRAGISSFGLSGTNVHTILEQAPEPAAEAGPEPEPG\n+                     LVPVPLSGRTEAALRAQAATVLDTLDDGVSPAVLGYSLASTRSAFEHRAVLLAEDHDEL\n+                     RRGLAALAGDQPDGGVVRGTVTRGRTAFLFAGQGSQRAGMGRELYERHPVFADALDAVL\n+                     GHFDLPRALRDVMWDDDSTALDETGYTQPALFAFEVALFRLLESWGVTPDYLAGHSIGE\n+                     IAAAHVAGVLSLADACALVAARGALMQALPSGGAMVSVRGSEADVAGHLGEDVAVAAVN\n+                     GPESVVLAGTEDAVLQAAGRLEAAGHKVRRLRVSHAFHSPLMDPVLAEFATVAQGLTYH\n+                     "\n+                     /sec_met="Type: t1pks"\n+                     /sec_met="Domains detected: PP-binding (E-value: 1.3e-15,\n+                     bitscore: 44.0, seeds: 164); PKS_AT (E-value: 8.7e-82,\n+                     bitscore: 260.9, seeds: 1682); mod_KS (E-value: 9.4e-224,\n+                     bitscore: 729.0, seeds: 217); adh_short (E-value: 7.1e-52,\n+                     bitscore: 162.1, seeds: 230)"\n+                     /sec_met="Kind: biosynthetic"\n+                     /sec_met="NRPS/PKS subtype: Type I Modular PKS"\n+                     /sec_met="NRPS/PKS Domain: PKS_KR'..b'g cgcggttgcg ggccgagggc cggaccgtgc\n+      421 ggaacgtggt gcacacggcc gccgtgatcg agctgcacac gctggccgag accgacctgg\n+      481 ccgcgttctc ccggaccgtg cacgccaagg tggtgggcgc gcgcaacctg gacgagctgc\n+      541 tcgacaccga cgagctcgat gcgttcgtgc tgtactcctc caccgccggc ctgtggggca\n+      601 ccggcgcgca cgccgcctac gtggccggca acgcgtactt gcacgcgctg gcagcccacc\n+      661 ggcgcgcccg ggggctgcgg gccaccgcgc tgtcgtgggg catctgggcc gacgaccgcg\n+      721 aactcggccg ggtcgacccg gagcagatcg tgcgcagcgg cctggtgttc atggcgccgg\n+      781 agctggcgct ggagggtctg cgccgggccc tggacgacga cgagaccgcg ctggccgtgg\n+      841 ccgatctgga ctgggagcgg tactacccgg tctacaccgc cgtccggccg acgctgctgt\n+      901 tcgacgagct gccggaggtg cggcggctca ccgaggccgc cgccgccacg gccgccaccg\n+      961 gcgccggcgg cgagttcgcc gcccggctgc gcacgctgcc cgaggccgag cgcgcccacc\n+     1021 tgctcctgga actggtccgg gccgaggccg cggccgtgct gggccacgcg tcggccgacg\n+     1081 cgctgcccga ggaccgcgcc ttccgcgacg tcggcttcga ctcggtcacc gcggtcgacc\n+     1141 tgcgcaaccg gatctccgcc ggcaccggcc tgaccctgcc cgccaccatg gtgttcgacc\n+     1201 acccgacgcc gaggcggctg gccgggttcc tggccgccac gatcaccggc tcgggtgccg\n+     1261 tcgagcaggc accggccgtg gccggcgtgg acaccggcga gcccgtcgcc atcatcggga\n+     1321 tggcctgccg ctacccgggt ggcgcgaaca ccccggaacg gttgtgggac ctggtcgtgg\n+     1381 gcggcgtgga cgccatctcc ggcttcccgg ccgaccgcaa ctggccgacc gacgcgctct\n+     1441 acgacccgga cccggacgcc ggcggcaaga cctattcggt gcagggcggc ttcctgcacg\n+     1501 aggcggccga gttcgacccg ggcttcttcg gcatctcgcc gcgggaggca ctgtccatgg\n+     1561 atccgcagca gcgcctgctg ctggagacgg cgtgggaggc gttcgagcgg gccgggatcg\n+     1621 acccgcacac gctgcggggc agcggcaccg gcaccttcat cggggccagc taccaggact\n+     1681 acaccgcggc cgtgtccggc gcggtggaca acgccgacgg ccacatgatc accggctcgc\n+     1741 tgggcagcat cctgtccggc cggctctcct acctgttcgg gctggagggc ccggcggtca\n+     1801 ccctggacac cgcctgctcg tcgtcgctgg tcgccatcca cctggccgcg cagtcgctgc\n+     1861 ggtcggggga gagcagcctg gcgctggccg gcggggtgag cgtgatggcg acgccggggg\n+     1921 cgttcgtcgg cttctcgcgc cagcgcgcac tggccacgga cggccgttgc aaggcctact\n+     1981 cggaccgggc cgacggcatg accctcggcg agggcgtcgg cctggtgctg ctggagaagc\n+     2041 tgtccgacgc gcagcgcaac gggcaccgga tcctggcggt ggtccggggt tcggccacga\n+     2101 accaggacgg cgcgtccaac ggcatgaccg cgcccagcgg cccgtcccag cagcgggtga\n+     2161 tccggcaggc gctggccaac gcgcggctct cggcgtccga ggtggacgtg atcgagggcc\n+     2221 acggcaccgg caccgcgctg ggcgacccga tcgaggccca ggccctgctg gccacctacg\n+     2281 gccaggaccg ggaacggccg ctgctgctcg gctcggtgaa gtccaacatc ggccacaccc\n+     2341 agatggcctc cggcgtggcc ggcgtgatca aggtggtgca ggcgctgcgg cacgggctgg\n+     2401 tacccaagac gctgcacgtg gacgagccct ccacgcacgt cgactggagc accggctcga\n+     2461 tcgagctgcc gtccggcagc gtgccgtggc cggagagcgg ccggccgcgc cgggccggta\n+     2521 tctcgtcctt cgggctgagc ggcacgaacg tgcacaccat cctcgagcag gccccggaac\n+     2581 cggccgccga agccggcccc gagccggagc ccggcctggt gccggtcccg ctgtccggcc\n+     2641 ggacggaagc agcgctgcgc gctcaggccg ccaccgtgct ggacaccctg gacgacggcg\n+     2701 tgtcgccggc cgtgctcggg tactcgctgg cctccacccg gtcggccttc gaacaccgtg\n+     2761 cggtgctgct ggccgaggac cacgacgaac tgcggcgcgg cctggccgca ctggccggcg\n+     2821 accagccgga cggcggcgtg gtgcggggca ccgtgacgcg gggccgcacg gcgttcctgt\n+     2881 tcgccggcca gggcagccag cgggccggga tgggccgcga gctgtacgag cgccacccgg\n+     2941 tgttcgccga cgcgctggac gcggtgctgg ggcacttcga cctgccccgt gcgctgcggg\n+     3001 acgtgatgtg ggacgacgat tccacggccc tcgacgagac ggggtacacc cagccggcgt\n+     3061 tgttcgcctt cgaggtggcg ttgttccggt tgctggagtc gtggggtgtg acgccggatt\n+     3121 acctggccgg gcattcgatc ggtgagatcg ccgcggcgca cgtggccgga gtgttgtcgc\n+     3181 tggccgatgc ctgtgcgttg gtcgctgcgc ggggtgcgct gatgcaggcg ctgccgtccg\n+     3241 gcggggccat ggtttcggtg cgcggctccg aggccgacgt cgccgggcac ctcggcgagg\n+     3301 acgtcgccgt cgcggcggtc aacgggcccg agtcggtggt gctggccggg accgaggacg\n+     3361 cggtgctcca ggcggccggc cgcctggagg ccgccggcca caaggtccgc cgcctgcggg\n+     3421 tcagccacgc cttccactcg cccttgatgg atcccgtgct ggccgagttc gcgacggtgg\n+     3481 ctcagggcct gacctaccac\n+//\n'
b
diff -r 5db064bbb3be -r 593bb8f5488b test-data/ARBH01000003.1.final
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/ARBH01000003.1.final Wed Feb 07 06:22:58 2018 -0500
b
b'@@ -0,0 +1,339 @@\n+LOCUS       ARBH01000003            3500 bp    DNA     linear   BCT 22-APR-2013\n+DEFINITION  Amycolatopsis balhimycina FH 1894 strain DSM 44591\n+            A3CEDRAFT_scaffold1.1_C3, whole genome shotgun sequence.\n+ACCESSION   ARBH01000003\n+VERSION     ARBH01000003.1\n+DBLINK      BioProject:PRJNA165347\n+            BioSample:SAMN02256403\n+KEYWORDS    WGS; GSC:MIGS:2.1; IMPROVED_HIGH_QUALITY_DRAFT.\n+SOURCE      Amycolatopsis balhimycina FH 1894\n+  ORGANISM  Amycolatopsis balhimycina FH 1894\n+            Bacteria; Actinobacteria; Pseudonocardiales; Pseudonocardiaceae;\n+            Amycolatopsis.\n+REFERENCE   1  (bases 1 to 3500)\n+  AUTHORS   Klenk,H.-P., Huntemann,M., Han,J., Chen,A., Kyrpides,N.,\n+            Mavromatis,K., Markowitz,V., Palaniappan,K., Ivanova,N.,\n+            Schaumberg,A., Pati,A., Liolios,K., Nordberg,H.P., Cantor,M.N.,\n+            Hua,S.X. and Woyke,T.\n+  TITLE     Direct Submission\n+  JOURNAL   Submitted (16-APR-2013) DOE Joint Genome Institute, 2800 Mitchell\n+            Drive, Walnut Creek, CA 94598-1698, USA\n+COMMENT     URL -- http://www.jgi.doe.gov\n+            JGI Project ID: 404843\n+            Source DNA and Organism available from Hans-Peter  Klenk\n+            (hpk@dsmz.de)\n+            Source DNA available from Hans-Peter  Klenk (hpk@dsmz.de)\n+            Organism available from Hans-Peter  Klenk (hpk@dsmz.de)\n+            Contacts: Hans-Peter  Klenk (hpk@dsmz.de)\n+            Tanja Woyke (microbe@cuba.jgi-psf.org)\n+            Whole genome sequencing and draft assembly at JGI-PGF\n+            Annotation by JGI-ORNL\n+            The JGI and collaborators endorse the principles for the\n+            distribution and use of large scale sequencing data adopted by the\n+            larger genome sequencing community and urge users of this data to\n+            follow them. It is our intention to publish the work of this\n+            project in a timely fashion and we welcome collaborative\n+            interaction on the project and analysis.\n+            (http://www.genome.gov/page.cfm?pageID=10506376)\n+            Full annotations are available from IMG.\n+            v. 4.24\n+            Phrap v. 4.24\n+FEATURES             Location/Qualifiers\n+     source          1..3500\n+                     /culture_collection="DSM:44591"\n+                     /db_xref="taxon:1089545"\n+                     /mol_type="genomic DNA"\n+                     /organism="Amycolatopsis balhimycina FH 1894"\n+                     /strain="DSM 44591"\n+     cluster         1..3500\n+                     /contig_edge="True"\n+                     /cutoff=20000\n+                     /extension=20000\n+                     /note="Cluster number: 1"\n+                     /note="Detection rule(s) for this cluster type: t1pks:\n+                     ((PKS_KS & PKS_AT) or (ene_KS & PKS_AT) or (mod_KS &\n+                     PKS_AT) or (hyb_KS & PKS_AT) or (itr_KS & PKS_AT) or\n+                     (tra_KS & PKS_AT));"\n+                     /note="Monomers prediction: (mal)"\n+                     /note="Structure image: structures/genecluster1.png"\n+                     /product="t1pks"\n+     CDS             3..3500\n+                     /aSProdPred="mal"\n+                     /locus_tag="ctg1_1"\n+                     /note="smCOG:\n+                     SMCOG1001:short-chain_dehydrogenase/reductase_SDR (Score:\n+                     64.2; E-value: 2.2e-19);"\n+                     /sec_met="Type: t1pks"\n+                     /sec_met="Domains detected: PP-binding (E-value: 1.3e-15,\n+                     bitscore: 44.0, seeds: 164); PKS_AT (E-value: 8.7e-82,\n+                     bitscore: 260.9, seeds: 1682); mod_KS (E-value: 9.4e-224,\n+                     bitscore: 729.0, seeds: 217); adh_short (E-value: 7.1e-52,\n+                     bitscore: 162.1, seeds: 230)"\n+                     /sec_met="Kind: biosynthetic"\n+                     /sec_met="NRPS/PKS subtype: Type I Modular PKS"\n+                     /sec_met="NRP'..b'g cgcggttgcg ggccgagggc cggaccgtgc\n+      421 ggaacgtggt gcacacggcc gccgtgatcg agctgcacac gctggccgag accgacctgg\n+      481 ccgcgttctc ccggaccgtg cacgccaagg tggtgggcgc gcgcaacctg gacgagctgc\n+      541 tcgacaccga cgagctcgat gcgttcgtgc tgtactcctc caccgccggc ctgtggggca\n+      601 ccggcgcgca cgccgcctac gtggccggca acgcgtactt gcacgcgctg gcagcccacc\n+      661 ggcgcgcccg ggggctgcgg gccaccgcgc tgtcgtgggg catctgggcc gacgaccgcg\n+      721 aactcggccg ggtcgacccg gagcagatcg tgcgcagcgg cctggtgttc atggcgccgg\n+      781 agctggcgct ggagggtctg cgccgggccc tggacgacga cgagaccgcg ctggccgtgg\n+      841 ccgatctgga ctgggagcgg tactacccgg tctacaccgc cgtccggccg acgctgctgt\n+      901 tcgacgagct gccggaggtg cggcggctca ccgaggccgc cgccgccacg gccgccaccg\n+      961 gcgccggcgg cgagttcgcc gcccggctgc gcacgctgcc cgaggccgag cgcgcccacc\n+     1021 tgctcctgga actggtccgg gccgaggccg cggccgtgct gggccacgcg tcggccgacg\n+     1081 cgctgcccga ggaccgcgcc ttccgcgacg tcggcttcga ctcggtcacc gcggtcgacc\n+     1141 tgcgcaaccg gatctccgcc ggcaccggcc tgaccctgcc cgccaccatg gtgttcgacc\n+     1201 acccgacgcc gaggcggctg gccgggttcc tggccgccac gatcaccggc tcgggtgccg\n+     1261 tcgagcaggc accggccgtg gccggcgtgg acaccggcga gcccgtcgcc atcatcggga\n+     1321 tggcctgccg ctacccgggt ggcgcgaaca ccccggaacg gttgtgggac ctggtcgtgg\n+     1381 gcggcgtgga cgccatctcc ggcttcccgg ccgaccgcaa ctggccgacc gacgcgctct\n+     1441 acgacccgga cccggacgcc ggcggcaaga cctattcggt gcagggcggc ttcctgcacg\n+     1501 aggcggccga gttcgacccg ggcttcttcg gcatctcgcc gcgggaggca ctgtccatgg\n+     1561 atccgcagca gcgcctgctg ctggagacgg cgtgggaggc gttcgagcgg gccgggatcg\n+     1621 acccgcacac gctgcggggc agcggcaccg gcaccttcat cggggccagc taccaggact\n+     1681 acaccgcggc cgtgtccggc gcggtggaca acgccgacgg ccacatgatc accggctcgc\n+     1741 tgggcagcat cctgtccggc cggctctcct acctgttcgg gctggagggc ccggcggtca\n+     1801 ccctggacac cgcctgctcg tcgtcgctgg tcgccatcca cctggccgcg cagtcgctgc\n+     1861 ggtcggggga gagcagcctg gcgctggccg gcggggtgag cgtgatggcg acgccggggg\n+     1921 cgttcgtcgg cttctcgcgc cagcgcgcac tggccacgga cggccgttgc aaggcctact\n+     1981 cggaccgggc cgacggcatg accctcggcg agggcgtcgg cctggtgctg ctggagaagc\n+     2041 tgtccgacgc gcagcgcaac gggcaccgga tcctggcggt ggtccggggt tcggccacga\n+     2101 accaggacgg cgcgtccaac ggcatgaccg cgcccagcgg cccgtcccag cagcgggtga\n+     2161 tccggcaggc gctggccaac gcgcggctct cggcgtccga ggtggacgtg atcgagggcc\n+     2221 acggcaccgg caccgcgctg ggcgacccga tcgaggccca ggccctgctg gccacctacg\n+     2281 gccaggaccg ggaacggccg ctgctgctcg gctcggtgaa gtccaacatc ggccacaccc\n+     2341 agatggcctc cggcgtggcc ggcgtgatca aggtggtgca ggcgctgcgg cacgggctgg\n+     2401 tacccaagac gctgcacgtg gacgagccct ccacgcacgt cgactggagc accggctcga\n+     2461 tcgagctgcc gtccggcagc gtgccgtggc cggagagcgg ccggccgcgc cgggccggta\n+     2521 tctcgtcctt cgggctgagc ggcacgaacg tgcacaccat cctcgagcag gccccggaac\n+     2581 cggccgccga agccggcccc gagccggagc ccggcctggt gccggtcccg ctgtccggcc\n+     2641 ggacggaagc agcgctgcgc gctcaggccg ccaccgtgct ggacaccctg gacgacggcg\n+     2701 tgtcgccggc cgtgctcggg tactcgctgg cctccacccg gtcggccttc gaacaccgtg\n+     2761 cggtgctgct ggccgaggac cacgacgaac tgcggcgcgg cctggccgca ctggccggcg\n+     2821 accagccgga cggcggcgtg gtgcggggca ccgtgacgcg gggccgcacg gcgttcctgt\n+     2881 tcgccggcca gggcagccag cgggccggga tgggccgcga gctgtacgag cgccacccgg\n+     2941 tgttcgccga cgcgctggac gcggtgctgg ggcacttcga cctgccccgt gcgctgcggg\n+     3001 acgtgatgtg ggacgacgat tccacggccc tcgacgagac ggggtacacc cagccggcgt\n+     3061 tgttcgcctt cgaggtggcg ttgttccggt tgctggagtc gtggggtgtg acgccggatt\n+     3121 acctggccgg gcattcgatc ggtgagatcg ccgcggcgca cgtggccgga gtgttgtcgc\n+     3181 tggccgatgc ctgtgcgttg gtcgctgcgc ggggtgcgct gatgcaggcg ctgccgtccg\n+     3241 gcggggccat ggtttcggtg cgcggctccg aggccgacgt cgccgggcac ctcggcgagg\n+     3301 acgtcgccgt cgcggcggtc aacgggcccg agtcggtggt gctggccggg accgaggacg\n+     3361 cggtgctcca ggcggccggc cgcctggagg ccgccggcca caaggtccgc cgcctgcggg\n+     3421 tcagccacgc cttccactcg cccttgatgg atcccgtgct ggccgagttc gcgacggtgg\n+     3481 ctcagggcct gacctaccac\n+//\n'
b
diff -r 5db064bbb3be -r 593bb8f5488b test-data/index.2.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/index.2.html Wed Feb 07 06:22:58 2018 -0500
[
b'@@ -0,0 +1,273 @@\n+<!doctype html>\n+<html>\n+  <head>\n+    <title>ARBH01000003.1 - 1 clusters - antiSMASH results</title>\n+    <link rel="stylesheet" type="text/css" href="css/bacteria.css">\n+    <meta charset="utf-8">\n+  </head>\n+  <body>\n+    <div id="header">\n+      <div class="top-header">\n+        <img class="antismash-logo" src="images/bacteria_logo.png" alt="antiSMASH">\n+        <span class="antismash-title"><a class="main-link" href="http://antismash.secondarymetabolites.org/">antibiotics &amp; Secondary Metabolite Analysis SHell</a><br>\n+            <span class="white">Version <span id="antismash-version">4.0.2</span></span>\n+        </span>\n+        <div id="icons">\n+          <a class="main-link" href="http://antismash.secondarymetabolites.org/"><img src="images/bacteria_home.png" alt="home" title="Go to start page"></a>\n+          <a class="help-link" href="http://antismash.secondarymetabolites.org/#!/help"><img src="images/bacteria_help.png" alt="help" title="Get help using antiSMASH"></a>\n+          <a class="about-link" href="http://antismash.secondarymetabolites.org/#!/about"><img src="images/bacteria_about.png" alt="about" title="About antiSMASH"></a>\n+          <a href="#" id="download"><img src="images/bacteria_download.png" alt="download" title="Download results"></a>\n+          <div id="downloadmenu">\n+            <ul id="downloadoptions">\n+            <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>\n+          </div>\n+        </div>\n+      </div>\n+      <div id="buttons">\n+        <span id="cluster-type">Select Gene Cluster:</span>\n+        <ul id="clusterbuttons">\n+          <li><div class="arrow-left" id="prev-cluster"></div></li>\n+          <li class="clbutton"><a href="#">Overview</a></li>\n+          <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>\n+        </ul>\n+      </div>\n+    </div>\n+\n+    <!-- overview page -->\n+    <div class="page" id="overview">\n+      <h3>Identified secondary metabolite clusters<span id="truncated"></span></h3>\n+      <table id="cluster-overview">\n+        <thead>\n+          <tr>\n+            <th>Cluster</th>\n+            <th>Type</th>\n+            <th>From</th>\n+            <th>To</th>\n+            <th>Most similar known cluster</th>\n+            <th>MIBiG BGC-ID</th>\n+          </tr>\n+        </thead>\n+        <tbody>\n+        <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>\n+      </table>\n+    </div>\n+\n+    <div class="page" id="cluster-1"><h3>ARBH01000003 - 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 - Gene Cluster 1. Type'..b';\n+    }\n+    window.location.href = href;\n+    switch_to_cluster();\n+}\n+\n+function previous_cluster() {\n+    var num_clusters = Object.keys(geneclusters).length;\n+    var url = $.url();\n+    var anchor = url.data.attr.fragment;\n+    var href = "#" + anchor;\n+    if (anchor == "" || anchor == "overview") {\n+        anchor = "cluster-0";\n+    }\n+    var cluster_number = parseInt(anchor.split(\'-\')[1]);\n+    var prev_cluster_number = cluster_number - 1;\n+    if (prev_cluster_number == 0 ) {\n+        href = "#overview";\n+    } else if (prev_cluster_number < 0){\n+        href = "#cluster-" + num_clusters;\n+    } else {\n+        href = "#cluster-" + prev_cluster_number;\n+    }\n+    window.location.href = href;\n+    switch_to_cluster();\n+}\n+\n+function toggle_cluster_rules(ev) {\n+    ev.preventDefault();\n+    var id = $(this).attr(\'id\').replace(/-header/, \'\');\n+    var rules = $(\'#\' + id);\n+    if (rules.css(\'display\') == "none") {\n+        $(this).text(\'Hide pHMM detection rules used\');\n+    } else {\n+        $(this).text(\'Show pHMM detection rules used\');\n+    }\n+    rules.fadeToggle("fast", "linear");\n+}\n+\n+function map_type_to_desc(type) {\n+    switch(type) {\n+      case "nrps": return "NRPS";\n+      case "t1pks": return "Type I PKS";\n+      case "t2pks": return "Type II PKS";\n+      case "t3pks": return "Type III PKS";\n+      case "t4pks": return "Type IV PKS";\n+      default: return type;\n+    }\n+}\n+\n+function copyToClipboard (text) {\n+    window.prompt ("Copy to clipboard: Ctrl+C, Enter", text);\n+}\n+\n+$(document).ready(function() {\n+\n+    $("#download").click(toggle_downloadmenu);\n+\n+    $("#next-cluster").click(next_cluster);\n+    $("#prev-cluster").click(previous_cluster);\n+\n+    $(".clbutton").click(function() {\n+        /* Make sure that even if user missed the link and clicked the\n+           background we still have the correct anchor */\n+        var href = $(this).children().first().attr(\'href\');\n+\n+        if (href === undefined) {\n+            return;\n+        }\n+        window.location.href = href;\n+\n+        switch_to_cluster();\n+    }).mouseover(function() {\n+        /* Set the select cluster label text to cluster type */\n+        var classes = $(this).attr(\'class\').split(\' \');\n+        if (classes.length < 2) {\n+          return;\n+        }\n+        if (classes[1] == \'separator\') {\n+          return;\n+        }\n+        var cluster_type = map_type_to_desc(classes[1]);\n+        var label = $(\'#cluster-type\');\n+        label.data("orig_text", label.text());\n+        label.text(cluster_type + ":");\n+    }).mouseout(function() {\n+        /* and reset the select cluster label text */\n+        var label = $(\'#cluster-type\');\n+        label.text(label.data("orig_text"));\n+    });\n+\n+    $(\'.clusterblast-selector\').change(function() {\n+        var id = $(this).attr(\'id\').replace(\'-select\', \'\');\n+        var url = $(this).val();\n+        $.get(url, function(data) {\n+            $(\'#\' + id + \'-svg\').html(data);\n+            clusterblast.init(id + \'-svg\');\n+            //            id =\n+        }, \'html\');\n+        $(\'#\' + id + \'-download\').off(\'click\');\n+        $(\'#\' + id + \'-download\').click(function () {\n+            var url = $("#" + id + "-select").val();\n+            window.open(url, \'_blank\');\n+        });\n+    });\n+\n+    $(\'.domainalign-selector\').change(function() {\n+        var id = $(this).attr(\'id\').replace(\'-select\', \'\');\n+        var url = $(this).val();\n+        $.get(url, function(data) {\n+            $(\'#\' + id + \'-svg\').html(data);\n+            domainalign.init(id + \'-svg\');\n+            //            id =\n+        }, \'html\');\n+        $(\'#\' + id + \'-download\').off(\'click\');\n+        $(\'#\' + id + \'-download\').click(function () {\n+            var url = $("#" + id + "-select").val();\n+            window.open(url, \'_blank\');\n+        });\n+    });\n+\n+    $(\'.cluster-rules-header\').click(toggle_cluster_rules);\n+\n+    switch_to_cluster();\n+\n+});\n+    </script>\n+\n+  </body>\n+</html>\n\\ No newline at end of file\n'
b
diff -r 5db064bbb3be -r 593bb8f5488b test-data/index.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/index.html Wed Feb 07 06:22:58 2018 -0500
[
b'@@ -0,0 +1,273 @@\n+<!doctype html>\n+<html>\n+  <head>\n+    <title>ARBH01000003.1 - 1 clusters - antiSMASH results</title>\n+    <link rel="stylesheet" type="text/css" href="css/bacteria.css">\n+    <meta charset="utf-8">\n+  </head>\n+  <body>\n+    <div id="header">\n+      <div class="top-header">\n+        <img class="antismash-logo" src="images/bacteria_logo.png" alt="antiSMASH">\n+        <span class="antismash-title"><a class="main-link" href="http://antismash.secondarymetabolites.org/">antibiotics &amp; Secondary Metabolite Analysis SHell</a><br>\n+            <span class="white">Version <span id="antismash-version">4.0.2</span></span>\n+        </span>\n+        <div id="icons">\n+          <a class="main-link" href="http://antismash.secondarymetabolites.org/"><img src="images/bacteria_home.png" alt="home" title="Go to start page"></a>\n+          <a class="help-link" href="http://antismash.secondarymetabolites.org/#!/help"><img src="images/bacteria_help.png" alt="help" title="Get help using antiSMASH"></a>\n+          <a class="about-link" href="http://antismash.secondarymetabolites.org/#!/about"><img src="images/bacteria_about.png" alt="about" title="About antiSMASH"></a>\n+          <a href="#" id="download"><img src="images/bacteria_download.png" alt="download" title="Download results"></a>\n+          <div id="downloadmenu">\n+            <ul id="downloadoptions">\n+            <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>\n+          </div>\n+        </div>\n+      </div>\n+      <div id="buttons">\n+        <span id="cluster-type">Select Gene Cluster:</span>\n+        <ul id="clusterbuttons">\n+          <li><div class="arrow-left" id="prev-cluster"></div></li>\n+          <li class="clbutton"><a href="#">Overview</a></li>\n+          <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>\n+        </ul>\n+      </div>\n+    </div>\n+\n+    <!-- overview page -->\n+    <div class="page" id="overview">\n+      <h3>Identified secondary metabolite clusters<span id="truncated"></span></h3>\n+      <table id="cluster-overview">\n+        <thead>\n+          <tr>\n+            <th>Cluster</th>\n+            <th>Type</th>\n+            <th>From</th>\n+            <th>To</th>\n+            <th>Most similar known cluster</th>\n+            <th>MIBiG BGC-ID</th>\n+          </tr>\n+        </thead>\n+        <tbody>\n+        <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>\n+      </table>\n+    </div>\n+\n+    <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. '..b';\n+    }\n+    window.location.href = href;\n+    switch_to_cluster();\n+}\n+\n+function previous_cluster() {\n+    var num_clusters = Object.keys(geneclusters).length;\n+    var url = $.url();\n+    var anchor = url.data.attr.fragment;\n+    var href = "#" + anchor;\n+    if (anchor == "" || anchor == "overview") {\n+        anchor = "cluster-0";\n+    }\n+    var cluster_number = parseInt(anchor.split(\'-\')[1]);\n+    var prev_cluster_number = cluster_number - 1;\n+    if (prev_cluster_number == 0 ) {\n+        href = "#overview";\n+    } else if (prev_cluster_number < 0){\n+        href = "#cluster-" + num_clusters;\n+    } else {\n+        href = "#cluster-" + prev_cluster_number;\n+    }\n+    window.location.href = href;\n+    switch_to_cluster();\n+}\n+\n+function toggle_cluster_rules(ev) {\n+    ev.preventDefault();\n+    var id = $(this).attr(\'id\').replace(/-header/, \'\');\n+    var rules = $(\'#\' + id);\n+    if (rules.css(\'display\') == "none") {\n+        $(this).text(\'Hide pHMM detection rules used\');\n+    } else {\n+        $(this).text(\'Show pHMM detection rules used\');\n+    }\n+    rules.fadeToggle("fast", "linear");\n+}\n+\n+function map_type_to_desc(type) {\n+    switch(type) {\n+      case "nrps": return "NRPS";\n+      case "t1pks": return "Type I PKS";\n+      case "t2pks": return "Type II PKS";\n+      case "t3pks": return "Type III PKS";\n+      case "t4pks": return "Type IV PKS";\n+      default: return type;\n+    }\n+}\n+\n+function copyToClipboard (text) {\n+    window.prompt ("Copy to clipboard: Ctrl+C, Enter", text);\n+}\n+\n+$(document).ready(function() {\n+\n+    $("#download").click(toggle_downloadmenu);\n+\n+    $("#next-cluster").click(next_cluster);\n+    $("#prev-cluster").click(previous_cluster);\n+\n+    $(".clbutton").click(function() {\n+        /* Make sure that even if user missed the link and clicked the\n+           background we still have the correct anchor */\n+        var href = $(this).children().first().attr(\'href\');\n+\n+        if (href === undefined) {\n+            return;\n+        }\n+        window.location.href = href;\n+\n+        switch_to_cluster();\n+    }).mouseover(function() {\n+        /* Set the select cluster label text to cluster type */\n+        var classes = $(this).attr(\'class\').split(\' \');\n+        if (classes.length < 2) {\n+          return;\n+        }\n+        if (classes[1] == \'separator\') {\n+          return;\n+        }\n+        var cluster_type = map_type_to_desc(classes[1]);\n+        var label = $(\'#cluster-type\');\n+        label.data("orig_text", label.text());\n+        label.text(cluster_type + ":");\n+    }).mouseout(function() {\n+        /* and reset the select cluster label text */\n+        var label = $(\'#cluster-type\');\n+        label.text(label.data("orig_text"));\n+    });\n+\n+    $(\'.clusterblast-selector\').change(function() {\n+        var id = $(this).attr(\'id\').replace(\'-select\', \'\');\n+        var url = $(this).val();\n+        $.get(url, function(data) {\n+            $(\'#\' + id + \'-svg\').html(data);\n+            clusterblast.init(id + \'-svg\');\n+            //            id =\n+        }, \'html\');\n+        $(\'#\' + id + \'-download\').off(\'click\');\n+        $(\'#\' + id + \'-download\').click(function () {\n+            var url = $("#" + id + "-select").val();\n+            window.open(url, \'_blank\');\n+        });\n+    });\n+\n+    $(\'.domainalign-selector\').change(function() {\n+        var id = $(this).attr(\'id\').replace(\'-select\', \'\');\n+        var url = $(this).val();\n+        $.get(url, function(data) {\n+            $(\'#\' + id + \'-svg\').html(data);\n+            domainalign.init(id + \'-svg\');\n+            //            id =\n+        }, \'html\');\n+        $(\'#\' + id + \'-download\').off(\'click\');\n+        $(\'#\' + id + \'-download\').click(function () {\n+            var url = $("#" + id + "-select").val();\n+            window.open(url, \'_blank\');\n+        });\n+    });\n+\n+    $(\'.cluster-rules-header\').click(toggle_cluster_rules);\n+\n+    switch_to_cluster();\n+\n+});\n+    </script>\n+\n+  </body>\n+</html>\n\\ No newline at end of file\n'
b
diff -r 5db064bbb3be -r 593bb8f5488b test-data/sequence.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/sequence.fasta Wed Feb 07 06:22:58 2018 -0500
b
@@ -0,0 +1,51 @@
+>ARBH01000003.1 Amycolatopsis balhimycina FH 1894 strain DSM 44591 A3CEDRAFT_scaffold1.1_C3, whole genome shotgun sequence
+GGGGCGGCGTGCTCGCCCTGCCCGCCGAGCTGGACCGCCGCGGCGGCGACCGGCTGGCGGCTGTGCTGTC
+CGGCGCCACCGGCGAAGACCAGCTGGCCATCCGCGCCGCCGGCGTGTTCGGCCGCCGCGTGGTGCGGGCC
+CCGGCCGGCGACCGCGCGCCGGCGCGGACCTGGACCCCGCGCGGCACCACGCTGATCACCGGCGGCACCG
+GCACCCTGGCCCCGCACCTGGCCCGCTGGCTGGCCGAGCAGGGCGCCGAGCACATCGTGCTGACCAGCCG
+CACCGGCGCCGAGGCCCCGAAGGCCCGGCAGCTGCTGGCGGAGCTGGGCGAGACCGTCGAGGCGGTGGCC
+TGCGACGTCACCGACAAGGCGGCGCTGGCCGCCCTGCTGGCGCGGTTGCGGGCCGAGGGCCGGACCGTGC
+GGAACGTGGTGCACACGGCCGCCGTGATCGAGCTGCACACGCTGGCCGAGACCGACCTGGCCGCGTTCTC
+CCGGACCGTGCACGCCAAGGTGGTGGGCGCGCGCAACCTGGACGAGCTGCTCGACACCGACGAGCTCGAT
+GCGTTCGTGCTGTACTCCTCCACCGCCGGCCTGTGGGGCACCGGCGCGCACGCCGCCTACGTGGCCGGCA
+ACGCGTACTTGCACGCGCTGGCAGCCCACCGGCGCGCCCGGGGGCTGCGGGCCACCGCGCTGTCGTGGGG
+CATCTGGGCCGACGACCGCGAACTCGGCCGGGTCGACCCGGAGCAGATCGTGCGCAGCGGCCTGGTGTTC
+ATGGCGCCGGAGCTGGCGCTGGAGGGTCTGCGCCGGGCCCTGGACGACGACGAGACCGCGCTGGCCGTGG
+CCGATCTGGACTGGGAGCGGTACTACCCGGTCTACACCGCCGTCCGGCCGACGCTGCTGTTCGACGAGCT
+GCCGGAGGTGCGGCGGCTCACCGAGGCCGCCGCCGCCACGGCCGCCACCGGCGCCGGCGGCGAGTTCGCC
+GCCCGGCTGCGCACGCTGCCCGAGGCCGAGCGCGCCCACCTGCTCCTGGAACTGGTCCGGGCCGAGGCCG
+CGGCCGTGCTGGGCCACGCGTCGGCCGACGCGCTGCCCGAGGACCGCGCCTTCCGCGACGTCGGCTTCGA
+CTCGGTCACCGCGGTCGACCTGCGCAACCGGATCTCCGCCGGCACCGGCCTGACCCTGCCCGCCACCATG
+GTGTTCGACCACCCGACGCCGAGGCGGCTGGCCGGGTTCCTGGCCGCCACGATCACCGGCTCGGGTGCCG
+TCGAGCAGGCACCGGCCGTGGCCGGCGTGGACACCGGCGAGCCCGTCGCCATCATCGGGATGGCCTGCCG
+CTACCCGGGTGGCGCGAACACCCCGGAACGGTTGTGGGACCTGGTCGTGGGCGGCGTGGACGCCATCTCC
+GGCTTCCCGGCCGACCGCAACTGGCCGACCGACGCGCTCTACGACCCGGACCCGGACGCCGGCGGCAAGA
+CCTATTCGGTGCAGGGCGGCTTCCTGCACGAGGCGGCCGAGTTCGACCCGGGCTTCTTCGGCATCTCGCC
+GCGGGAGGCACTGTCCATGGATCCGCAGCAGCGCCTGCTGCTGGAGACGGCGTGGGAGGCGTTCGAGCGG
+GCCGGGATCGACCCGCACACGCTGCGGGGCAGCGGCACCGGCACCTTCATCGGGGCCAGCTACCAGGACT
+ACACCGCGGCCGTGTCCGGCGCGGTGGACAACGCCGACGGCCACATGATCACCGGCTCGCTGGGCAGCAT
+CCTGTCCGGCCGGCTCTCCTACCTGTTCGGGCTGGAGGGCCCGGCGGTCACCCTGGACACCGCCTGCTCG
+TCGTCGCTGGTCGCCATCCACCTGGCCGCGCAGTCGCTGCGGTCGGGGGAGAGCAGCCTGGCGCTGGCCG
+GCGGGGTGAGCGTGATGGCGACGCCGGGGGCGTTCGTCGGCTTCTCGCGCCAGCGCGCACTGGCCACGGA
+CGGCCGTTGCAAGGCCTACTCGGACCGGGCCGACGGCATGACCCTCGGCGAGGGCGTCGGCCTGGTGCTG
+CTGGAGAAGCTGTCCGACGCGCAGCGCAACGGGCACCGGATCCTGGCGGTGGTCCGGGGTTCGGCCACGA
+ACCAGGACGGCGCGTCCAACGGCATGACCGCGCCCAGCGGCCCGTCCCAGCAGCGGGTGATCCGGCAGGC
+GCTGGCCAACGCGCGGCTCTCGGCGTCCGAGGTGGACGTGATCGAGGGCCACGGCACCGGCACCGCGCTG
+GGCGACCCGATCGAGGCCCAGGCCCTGCTGGCCACCTACGGCCAGGACCGGGAACGGCCGCTGCTGCTCG
+GCTCGGTGAAGTCCAACATCGGCCACACCCAGATGGCCTCCGGCGTGGCCGGCGTGATCAAGGTGGTGCA
+GGCGCTGCGGCACGGGCTGGTACCCAAGACGCTGCACGTGGACGAGCCCTCCACGCACGTCGACTGGAGC
+ACCGGCTCGATCGAGCTGCCGTCCGGCAGCGTGCCGTGGCCGGAGAGCGGCCGGCCGCGCCGGGCCGGTA
+TCTCGTCCTTCGGGCTGAGCGGCACGAACGTGCACACCATCCTCGAGCAGGCCCCGGAACCGGCCGCCGA
+AGCCGGCCCCGAGCCGGAGCCCGGCCTGGTGCCGGTCCCGCTGTCCGGCCGGACGGAAGCAGCGCTGCGC
+GCTCAGGCCGCCACCGTGCTGGACACCCTGGACGACGGCGTGTCGCCGGCCGTGCTCGGGTACTCGCTGG
+CCTCCACCCGGTCGGCCTTCGAACACCGTGCGGTGCTGCTGGCCGAGGACCACGACGAACTGCGGCGCGG
+CCTGGCCGCACTGGCCGGCGACCAGCCGGACGGCGGCGTGGTGCGGGGCACCGTGACGCGGGGCCGCACG
+GCGTTCCTGTTCGCCGGCCAGGGCAGCCAGCGGGCCGGGATGGGCCGCGAGCTGTACGAGCGCCACCCGG
+TGTTCGCCGACGCGCTGGACGCGGTGCTGGGGCACTTCGACCTGCCCCGTGCGCTGCGGGACGTGATGTG
+GGACGACGATTCCACGGCCCTCGACGAGACGGGGTACACCCAGCCGGCGTTGTTCGCCTTCGAGGTGGCG
+TTGTTCCGGTTGCTGGAGTCGTGGGGTGTGACGCCGGATTACCTGGCCGGGCATTCGATCGGTGAGATCG
+CCGCGGCGCACGTGGCCGGAGTGTTGTCGCTGGCCGATGCCTGTGCGTTGGTCGCTGCGCGGGGTGCGCT
+GATGCAGGCGCTGCCGTCCGGCGGGGCCATGGTTTCGGTGCGCGGCTCCGAGGCCGACGTCGCCGGGCAC
+CTCGGCGAGGACGTCGCCGTCGCGGCGGTCAACGGGCCCGAGTCGGTGGTGCTGGCCGGGACCGAGGACG
+CGGTGCTCCAGGCGGCCGGCCGCCTGGAGGCCGCCGGCCACAAGGTCCGCCGCCTGCGGGTCAGCCACGC
+CTTCCACTCGCCCTTGATGGATCCCGTGCTGGCCGAGTTCGCGACGGTGGCTCAGGGCCTGACCTACCAC
b
diff -r 5db064bbb3be -r 593bb8f5488b test-data/sequence.gb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/sequence.gb Wed Feb 07 06:22:58 2018 -0500
b
b'@@ -0,0 +1,146 @@\n+LOCUS       ARBH01000003            3500 bp    DNA     linear   BCT 22-APR-2013\n+DEFINITION  Amycolatopsis balhimycina FH 1894 strain DSM 44591\n+            A3CEDRAFT_scaffold1.1_C3, whole genome shotgun sequence.\n+ACCESSION   ARBH01000003 ARBH01000000\n+VERSION     ARBH01000003.1\n+DBLINK      BioProject: PRJNA165347\n+            BioSample: SAMN02256403\n+KEYWORDS    WGS; GSC:MIGS:2.1; IMPROVED_HIGH_QUALITY_DRAFT.\n+SOURCE      Amycolatopsis balhimycina FH 1894\n+  ORGANISM  Amycolatopsis balhimycina FH 1894\n+            Bacteria; Actinobacteria; Pseudonocardiales; Pseudonocardiaceae;\n+            Amycolatopsis.\n+REFERENCE   1  (bases 1 to 3500)\n+  AUTHORS   Klenk,H.-P., Huntemann,M., Han,J., Chen,A., Kyrpides,N.,\n+            Mavromatis,K., Markowitz,V., Palaniappan,K., Ivanova,N.,\n+            Schaumberg,A., Pati,A., Liolios,K., Nordberg,H.P., Cantor,M.N.,\n+            Hua,S.X. and Woyke,T.\n+  TITLE     Direct Submission\n+  JOURNAL   Submitted (16-APR-2013) DOE Joint Genome Institute, 2800 Mitchell\n+            Drive, Walnut Creek, CA 94598-1698, USA\n+COMMENT     URL -- http://www.jgi.doe.gov\n+            JGI Project ID: 404843\n+            Source DNA and Organism available from Hans-Peter  Klenk\n+            (hpk@dsmz.de)\n+            Source DNA available from Hans-Peter  Klenk (hpk@dsmz.de)\n+            Organism available from Hans-Peter  Klenk (hpk@dsmz.de)\n+            Contacts: Hans-Peter  Klenk (hpk@dsmz.de)\n+                      Tanja Woyke (microbe@cuba.jgi-psf.org)\n+            Whole genome sequencing and draft assembly at JGI-PGF\n+            Annotation by JGI-ORNL\n+            The JGI and collaborators endorse the principles for the\n+            distribution and use of large scale sequencing data adopted by the\n+            larger genome sequencing community and urge users of this data to\n+            follow them. It is our intention to publish the work of this\n+            project in a timely fashion and we welcome collaborative\n+            interaction on the project and analysis.\n+            (http://www.genome.gov/page.cfm?pageID=10506376)\n+            Full annotations are available from IMG.\n+\n+            ##MIGS-Data-START##\n+            investigation_type  :: bacteria_archaea\n+            project_name        :: Amycolatopsis balhimycina DSM 44591\n+            collection_date     :: Missing\n+            lat_lon             :: Missing\n+            depth               :: Missing\n+            alt_elev            :: Missing\n+            country             :: India\n+            num_replicons       :: Missing\n+            ref_biomaterial     :: DSM 44591\n+            biotic_relationship :: Free living\n+            rel_to_oxygen       :: Aerobe\n+            isol_growth_condt   :: Missing\n+            assembly            :: Velvet v. 1.1.05; ALLPATHS v. r38445; Phrap\n+                                   v. 4.24\n+            finishing_strategy  :: Missing\n+            environment         :: Soil\n+            trophic_level       :: Missing\n+            sequencing_meth     :: WGS\n+            GOLD Stamp ID       :: Gi10728\n+            Type Strain         :: Yes\n+            Funding Program     :: DOE-CSP 2011\n+            Isolation Site      :: Soil\n+            Cell Shape          :: Filament-shaped\n+            Motility            :: Nonmotile\n+            Sporulation         :: Sporulating\n+            Temperature Range   :: Mesophile\n+            Gram Staining       :: Gram+\n+            Diseases            :: None\n+            ##MIGS-Data-END##\n+\n+            ##Genome-Assembly-Data-START##\n+            Finishing Goal           :: Improved High-Quality Draft\n+            Current Finishing Status :: Improved High-Quality Draft\n+            Assembly Method          :: Velvet v. 1.1.05; ALLPATHS v. r38445;\n+                                        Phrap v. 4.24\n+            Genome Coverage          :: Unknown\n+            Sequencing Technology    :: Illumina GAii\n+            ##Genome-Assembly-Data-EN'..b'g cgcggttgcg ggccgagggc cggaccgtgc\n+      421 ggaacgtggt gcacacggcc gccgtgatcg agctgcacac gctggccgag accgacctgg\n+      481 ccgcgttctc ccggaccgtg cacgccaagg tggtgggcgc gcgcaacctg gacgagctgc\n+      541 tcgacaccga cgagctcgat gcgttcgtgc tgtactcctc caccgccggc ctgtggggca\n+      601 ccggcgcgca cgccgcctac gtggccggca acgcgtactt gcacgcgctg gcagcccacc\n+      661 ggcgcgcccg ggggctgcgg gccaccgcgc tgtcgtgggg catctgggcc gacgaccgcg\n+      721 aactcggccg ggtcgacccg gagcagatcg tgcgcagcgg cctggtgttc atggcgccgg\n+      781 agctggcgct ggagggtctg cgccgggccc tggacgacga cgagaccgcg ctggccgtgg\n+      841 ccgatctgga ctgggagcgg tactacccgg tctacaccgc cgtccggccg acgctgctgt\n+      901 tcgacgagct gccggaggtg cggcggctca ccgaggccgc cgccgccacg gccgccaccg\n+      961 gcgccggcgg cgagttcgcc gcccggctgc gcacgctgcc cgaggccgag cgcgcccacc\n+     1021 tgctcctgga actggtccgg gccgaggccg cggccgtgct gggccacgcg tcggccgacg\n+     1081 cgctgcccga ggaccgcgcc ttccgcgacg tcggcttcga ctcggtcacc gcggtcgacc\n+     1141 tgcgcaaccg gatctccgcc ggcaccggcc tgaccctgcc cgccaccatg gtgttcgacc\n+     1201 acccgacgcc gaggcggctg gccgggttcc tggccgccac gatcaccggc tcgggtgccg\n+     1261 tcgagcaggc accggccgtg gccggcgtgg acaccggcga gcccgtcgcc atcatcggga\n+     1321 tggcctgccg ctacccgggt ggcgcgaaca ccccggaacg gttgtgggac ctggtcgtgg\n+     1381 gcggcgtgga cgccatctcc ggcttcccgg ccgaccgcaa ctggccgacc gacgcgctct\n+     1441 acgacccgga cccggacgcc ggcggcaaga cctattcggt gcagggcggc ttcctgcacg\n+     1501 aggcggccga gttcgacccg ggcttcttcg gcatctcgcc gcgggaggca ctgtccatgg\n+     1561 atccgcagca gcgcctgctg ctggagacgg cgtgggaggc gttcgagcgg gccgggatcg\n+     1621 acccgcacac gctgcggggc agcggcaccg gcaccttcat cggggccagc taccaggact\n+     1681 acaccgcggc cgtgtccggc gcggtggaca acgccgacgg ccacatgatc accggctcgc\n+     1741 tgggcagcat cctgtccggc cggctctcct acctgttcgg gctggagggc ccggcggtca\n+     1801 ccctggacac cgcctgctcg tcgtcgctgg tcgccatcca cctggccgcg cagtcgctgc\n+     1861 ggtcggggga gagcagcctg gcgctggccg gcggggtgag cgtgatggcg acgccggggg\n+     1921 cgttcgtcgg cttctcgcgc cagcgcgcac tggccacgga cggccgttgc aaggcctact\n+     1981 cggaccgggc cgacggcatg accctcggcg agggcgtcgg cctggtgctg ctggagaagc\n+     2041 tgtccgacgc gcagcgcaac gggcaccgga tcctggcggt ggtccggggt tcggccacga\n+     2101 accaggacgg cgcgtccaac ggcatgaccg cgcccagcgg cccgtcccag cagcgggtga\n+     2161 tccggcaggc gctggccaac gcgcggctct cggcgtccga ggtggacgtg atcgagggcc\n+     2221 acggcaccgg caccgcgctg ggcgacccga tcgaggccca ggccctgctg gccacctacg\n+     2281 gccaggaccg ggaacggccg ctgctgctcg gctcggtgaa gtccaacatc ggccacaccc\n+     2341 agatggcctc cggcgtggcc ggcgtgatca aggtggtgca ggcgctgcgg cacgggctgg\n+     2401 tacccaagac gctgcacgtg gacgagccct ccacgcacgt cgactggagc accggctcga\n+     2461 tcgagctgcc gtccggcagc gtgccgtggc cggagagcgg ccggccgcgc cgggccggta\n+     2521 tctcgtcctt cgggctgagc ggcacgaacg tgcacaccat cctcgagcag gccccggaac\n+     2581 cggccgccga agccggcccc gagccggagc ccggcctggt gccggtcccg ctgtccggcc\n+     2641 ggacggaagc agcgctgcgc gctcaggccg ccaccgtgct ggacaccctg gacgacggcg\n+     2701 tgtcgccggc cgtgctcggg tactcgctgg cctccacccg gtcggccttc gaacaccgtg\n+     2761 cggtgctgct ggccgaggac cacgacgaac tgcggcgcgg cctggccgca ctggccggcg\n+     2821 accagccgga cggcggcgtg gtgcggggca ccgtgacgcg gggccgcacg gcgttcctgt\n+     2881 tcgccggcca gggcagccag cgggccggga tgggccgcga gctgtacgag cgccacccgg\n+     2941 tgttcgccga cgcgctggac gcggtgctgg ggcacttcga cctgccccgt gcgctgcggg\n+     3001 acgtgatgtg ggacgacgat tccacggccc tcgacgagac ggggtacacc cagccggcgt\n+     3061 tgttcgcctt cgaggtggcg ttgttccggt tgctggagtc gtggggtgtg acgccggatt\n+     3121 acctggccgg gcattcgatc ggtgagatcg ccgcggcgca cgtggccgga gtgttgtcgc\n+     3181 tggccgatgc ctgtgcgttg gtcgctgcgc ggggtgcgct gatgcaggcg ctgccgtccg\n+     3241 gcggggccat ggtttcggtg cgcggctccg aggccgacgt cgccgggcac ctcggcgagg\n+     3301 acgtcgccgt cgcggcggtc aacgggcccg agtcggtggt gctggccggg accgaggacg\n+     3361 cggtgctcca ggcggccggc cgcctggagg ccgccggcca caaggtccgc cgcctgcggg\n+     3421 tcagccacgc cttccactcg cccttgatgg atcccgtgct ggccgagttc gcgacggtgg\n+     3481 ctcagggcct gacctaccac\n+//\n'
b
diff -r 5db064bbb3be -r 593bb8f5488b tool-data/antismash.loc.sample
--- a/tool-data/antismash.loc.sample Tue Jul 15 14:34:55 2014 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,16 +0,0 @@
-#This is a sample file distributed with Galaxy that is used to define a
-#list of PFAM hmms, using three columns tab separated
-#(longer whitespace are TAB characters):
-#
-#The entries are as follows:
-#
-#<unique_id> <PFAM name> <path>
-#
-#Your antismash.loc file should include an entry per line.  For example:
-#
-#pfam01 PFAM 27 08 Aug 2013 /data/0/galaxy_data/antismash/pfam/08_08_2013/
-#
-#...etc...
-#
-
-
b
diff -r 5db064bbb3be -r 593bb8f5488b tool_data_table_conf.xml.sample
--- a/tool_data_table_conf.xml.sample Tue Jul 15 14:34:55 2014 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,8 +0,0 @@
-<!-- Use the file tool_data_table_conf.xml.oldlocstyle if you don't want to update your loc files as changed in revision 4550:535d276c92bc-->
-<tables>
-    <!-- Locations of indexes in the AntiSmash Pfam database -->
-    <table name="antismash_pfam" comment_char="#">
-        <columns>value, dbkey, name, path</columns>
-        <file path="tool-data/antismash.loc" />
-    </table>
-</tables>
b
diff -r 5db064bbb3be -r 593bb8f5488b tool_dependencies.xml
--- a/tool_dependencies.xml Tue Jul 15 14:34:55 2014 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
b'@@ -1,217 +0,0 @@\n-<?xml version="1.0"?>\n-<tool_dependency>\n-  <package name="blast+" version="2.2.28">\n-      <repository changeset_revision="23b9ba41ad00" name="package_blast_plus_2_2_28" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu" />\n-    </package>\n-    <package name="hmmer" version="3.0">\n-      <repository changeset_revision="bae6be83ada5" name="package_hmmer_3_0" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu" />\n-    </package>\n-    <package name="muscle" version="3.8.31">\n-      <repository changeset_revision="8f20b47725d8" name="package_muscle_3_8_31" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu" />\n-    </package>\n-    <package name="biopython" version="1.62">\n-      <repository changeset_revision="3e82cbc44886" name="package_biopython_1_62" owner="biopython" toolshed="http://toolshed.g2.bx.psu.edu" />\n-    </package>\n-    <package name="helperlibs" version="0.1.2">\n-      <install version="1.0">\n-          <actions>\n-              <action type="download_by_url">https://pypi.python.org/packages/source/h/helperlibs/helperlibs-0.1.2.tar.gz</action>\n-                <action type="make_directory">$INSTALL_DIR/lib/python</action>\n-                <action type="shell_command">\n-                        export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; \n-                        python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin\n-                    </action>\n-                <action type="set_environment">\n-                  <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>\n-                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>\n-                </action>\n-            </actions>\n-        </install>\n-        <readme>\n-            helperlibs python library\n-        </readme>\n-    </package>\n-    <package name="cssselect" version="0.9">\n-      <install version="1.0">\n-          <actions>\n-              <action type="download_by_url">https://pypi.python.org/packages/source/c/cssselect/cssselect-0.9.tar.gz</action>\n-                <action type="make_directory">$INSTALL_DIR/lib/python</action>\n-                <action type="shell_command">\n-                        export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; \n-                        python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin\n-                    </action>\n-                <action type="set_environment">\n-                  <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>\n-                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>\n-                </action>\n-            </actions>\n-        </install>\n-        <readme>\n-            cssselect python library\n-        </readme>\n-    </package>\n-    <package name="pyquery" version="1.2.6">\n-      <install version="1.0">\n-          <actions>\n-              <action type="download_by_url">https://github.com/gawel/pyquery/archive/1.2.6.tar.gz</action>\n-                <action type="make_directory">$INSTALL_DIR/lib/python</action>\n-                <action type="shell_command">\n-                        export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; \n-                        python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin\n-                    </action>\n-                <action type="set_environment">\n-                  <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>\n-                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>\n-                </action>\n-            </actions>\n-        </install>\n-        <readme>\n-            pyquery python library\n-        </readme>\n-    </package>\n-    <'..b'             <action type="make_directory">$INSTALL_DIR/antismash/output_modules/genecluster_sequence/</action>\n-                    <action type="move_file">\n-                      <source>__init__.py</source>\n-                        <destination>$INSTALL_DIR/antismash/output_modules/genecluster_sequence/</destination>\n-                    </action>\n-                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we\n-                        do not offer the option for genprediction and do not install glimmer and Co.\n-                        For that reason deactivate the check.\n-                    -->\n-                    <action type="shell_command">sed -i \'s/check_prereqs(plugins, options) &gt; 0/False/g\' $INSTALL_DIR/run_antismash.py</action>\n-                    <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>\n-                    <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>\n-                </actions>\n-                <!-- Download the binaries for AntiSmash compatible with 32-bit Linux. -->\n-                <actions architecture="i386" os="linux">\n-                  <action type="download_by_url">https://bitbucket.org/antismash/antismash2/downloads/antismash-2.0.2.i686.tar.bz2</action>\n-                    <action type="move_directory_files">\n-                      <source_directory>.</source_directory>\n-                        <destination_directory>$INSTALL_DIR</destination_directory>\n-                    </action>\n-                    <action type="chmod">\n-                      <file mode="750">$INSTALL_DIR/run_antismash.py</file>\n-                    </action>\n-                    <!-- As last step we created an additional output plugin, that generates protein FASTA files from all clusters and\n-                        we need to copy this plugin into the correct location.\n-                    -->\n-                    <action type="download_file">https://raw.github.com/bgruening/galaxytools/master/antismash/src/genecluster_sequence/__init__.py</action>\n-                    <action type="make_directory">$INSTALL_DIR/antismash/output_modules/genecluster_sequence/</action>\n-                    <action type="move_file">\n-                      <source>__init__.py</source>\n-                        <destination>$INSTALL_DIR/antismash/output_modules/genecluster_sequence/</destination>\n-                    </action>\n-                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we\n-                        do not offer the option for genprediction and do not install glimmer and Co.\n-                        For that reason deactivate the check.\n-                    -->\n-                    <action type="shell_command">sed -i \'s/check_prereqs(plugins, options) &gt; 0/False/g\' $INSTALL_DIR/run_antismash.py</action>\n-                    <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>\n-                    <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>\n-                </actions>\n-                <actions>\n-\n-                </actions>\n-                <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->\n-                <action type="set_environment">\n-                  <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>\n-                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>\n-                </action>\n-            </actions_group>\n-        </install>\n-        <readme>\n-            AntiSmash installation with all dependencies.\n-            Java needs to be installed.\n-        </readme>\n-    </package>\n-</tool_dependency>\n'