# HG changeset patch
# User bgruening
# Date 1381521988 14400
# Node ID 9a099b9b6857d0a3a9abf1c15225ee5c24167cc0
# Parent 46fd61e9c310b27512f8d977e2d7b6c8502b46b7
Uploaded
diff -r 46fd61e9c310 -r 9a099b9b6857 antismash.xml
--- a/antismash.xml Thu Oct 10 04:04:57 2013 -0400
+++ b/antismash.xml Fri Oct 11 16:06:28 2013 -0400
@@ -2,20 +2,20 @@
and Antibiotics Analysis (antiSMASH)
hmmer
- hmmer
blast+
muscle
antismash_python_deps
antismash
+ #import os, glob
+ #set $outputfolder = os.path.join($html.files_path, 'antismash')
+ ln -s $infile #echo 'input_tempfile.' + $infile.ext#;
+ mkdir -p $outputfolder;
run_antismash.py
-
- --input $infile
--cpus 4
- ##set $type_list = ','.join([$type for $type in $types])
--enable $types
- --input-type nucl
+ --input-type 'nucl'
$smcogs
$clusterblast
$subclusterblast
@@ -23,11 +23,51 @@
$full_hmmer
$full_blast
- --pfamdir $pfam_database.fields.path
+ #if str($pfam_database) != "None":
+ --pfamdir $pfam_database.fields.path
+ #end if
+
+ --disable-embl
+ --outputfolder $outputfolder
+
+
+ #echo 'input_tempfile.' + $infile.ext#
## leave out the start and end features, it can be easily replaced with Galaxy tools
##--from START Start analysis at nucleotide specified
- ##--to END
+ ##--to END
+
+ ;
+ ## shuffling files to create the correct outputs for Galaxy
+
+ ## html output
+ #if 'html' in $outputs:
+ cp #echo os.path.join($outputfolder, 'index.html')# $html;
+ #end if
+
+ ## gene clusters
+ #if 'geneclusterprots_tabular' in $outputs:
+ cp #echo os.path.join($outputfolder, 'geneclusters.txt')# $geneclusterprots;
+ #end if
+
+ ##SVG images
+ #if 'archive_svgs' in $outputs:
+ cd #echo os.path.join($outputfolder, 'svg')#;
+ tar cfz $archive_svgs *_all.svg genecluster*;
+ #end if
+
+ ##all files in a archive
+ #if 'archive' in $outputs:
+ cd $outputfolder;
+ tar cf $archive *.zip;
+ #end if
+
+ ## genbank
+ #if 'gb' in $outputs:
+ #for $gb_file in glob.glob( os.path.join($outputfolder, '*.gbk') ):
+ cat $gb_file >> $genbank;
+ #end for
+ #end if
@@ -43,7 +83,7 @@
-
+
@@ -76,16 +116,37 @@
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- (wg_blast == True or pfam == True)
+
+ 'geneclusterprots_fasta' in outputs
+
+
+ 'geneclusterprots_tabular' in outputs
+
+
+ 'archive' in outputs
+
+
+ 'archive_svgs' in outputs
+
+
+ 'html' in outputs
+
+
+ 'gb' in outputs
diff -r 46fd61e9c310 -r 9a099b9b6857 tool_dependencies.xml
--- a/tool_dependencies.xml Thu Oct 10 04:04:57 2013 -0400
+++ b/tool_dependencies.xml Fri Oct 11 16:06:28 2013 -0400
@@ -3,9 +3,6 @@
-
-
-
@@ -62,6 +59,11 @@
$INSTALL_DIR/run_antismash.py
+
+ sed -i s/check_prereqs(plugins, options) > 0/True/
https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz
tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast
@@ -86,6 +88,7 @@
$INSTALL_DIR
+ $INSTALL_DIR