' )
+
+for filename in os.listdir( sys.argv[2] ):
+ if os.path.isfile( os.path.join( sys.argv[2], filename) ) and False ==(filename.endswith('epm') or filename.endswith('fa') or filename.endswith('aln') or filename.endswith('html')):
+ o.write( ' ' % ( filename ))
+
+o.write( '' )
+o.close()
+
+# create zip file
+
+zf = zipfile.ZipFile(sys.argv[1], mode='w')
+for files in os.listdir(sys.argv[2]):
+ zf.write(files)
+zf.close()
diff -r 000000000000 -r d2738fed5e8b exparna.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/exparna.xml Tue Jan 14 09:26:18 2014 -0500
@@ -0,0 +1,75 @@
+
+
+
+ exparna
+ EXPARNA_SCRIPT_PATH
+
+
+ExpaRNA
+-t$emp_scoring
+#if $check == "no":
+-n$max_used_sub
+#end if
+-s$min_incl_sub
+$locarna_input
+$alignment_to_file
+$list_in_file
+$all_in_file
+$fastafile;
+ mkdir $outfile.files_path;
+ cp ./ExpaRNA-results/* $outfile.files_path;
+ python \$EXPARNA_SCRIPT_PATH/create_html.py $outfile $outfile.files_path;
+#if $locarna_input:
+ cp ./ExpaRNA-results/LCSEPM_LocARNA_* $locarna_inputfile
+#end if
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ locarna_input is True
+
+
+
+
+
+
+
+
+
+
+
+
+ **What it does**
+ http://rna.informatik.uni-freiburg.de/ExpaRNA/Input.jsp
+
+ExpaRNA is a fast, motif-based comparison and alignment tool for RNA molecules. Instead of computing a full sequence-structure alignment, it computes the best arrangement of sequence-structure motifs common to two RNAs. A motif is a local (or isolated) substructure which is identical to both RNAs. ExpaRNA requires a given nested secondary structure for both RNAs. If no structure is available, RNAfold from Vienna RNA Package is used for a structure prediction. The accuracy of the algorithm is mainly controlled by the minimal size of the included sequence-structure motifs. ExpaRNA is especially useful for comparative structural RNA analysis and to speed-up complex sequence-structure alignment methods. For this purpose, the predicted common substructures by ExpaRNA are used as anchor constraints for a full structural alignment.
+
+**Output**
+
+You will receive a zip file containing all output files and optionally the outputfile made for postprocessing with locarna.
+
+
diff -r 000000000000 -r d2738fed5e8b test-data/input.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/input.fasta Tue Jan 14 09:26:18 2014 -0500
@@ -0,0 +1,4 @@
+>AF165050.379
+UUGGGGGCGACAUUCCACCAUAGAUAAUUCCCCUGUGAGGAAUUACUGUUUUAACGCAGAAAGCGUUUAGCCAUGGCGUUAGUAUGAGUGUCGUGCAGCUUCCAGGACCCCCCCUCCCGGGAGAGCCAUAGUGGUCUGCGGAACCGGUGAGUACACCGGAAUUGCCAGGAUGACCGGGUCCUUUCUUGGAUCAACCCGCUCAAUGCCUGGAGAUUUGGGCGUGCCCCCGCGAGACUGCUAGCCGAGUAGUGUUGGGUCGCGAAAGGCCUUGUGGUACUGCCUGAUAGGGUGCUUGCGAGUGCCCCGGGAGGUCUCGUAGACCGUGCAUCAUGAGCACAAAUCCUAAACCCCAAAGAAAAACCAAACGUAACACCAACCG
+>D45172.391
+GCCAGCCCCCUGAUGGGGGCGACACUCCACCAUAGAUCACUCCCCUGUGAGGAACUACUGUCUUCACGCAGAAAGCGUCUAGCCAUGGCGUUAGUAUGAGUGUCGUGCAGCCUCCAGGACCCCCCCUCCCGGGAGAGCCAUAGUGGUCUGCGGAACCGGUGAGUACACCGGAAUUGCCAGGACGACCGGGUCCUUUCUUGGAUCAACCCGCUCAAUGCCUGGAGAUUUGGGCGUGCCCCCGCGAGACUGCUAGCCGAGUAGUGUUGGGUCGCGAAAGGCCUUGUGGUACUGCCUGAUAGGGUGCUUGCGAGUGCCCCGGGAGGUCUCGUAGACCGUGCAUCAUGAGCACAAAUCCAAAACCCCAAAGAAAAAUCAAACGUAACACCAACCG
diff -r 000000000000 -r d2738fed5e8b tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Tue Jan 14 09:26:18 2014 -0500
@@ -0,0 +1,33 @@
+
+
+
+ $REPOSITORY_INSTALL_DIR
+
+
+
+
+
+
+
+
+ http://www.bioinf.uni-freiburg.de/Software/expaRNA/exparna-1.0.tar.gz
+
+
+
+
+
+ ./configure --prefix $INSTALL_DIR --with-RNA=$ROOT_VIENNA_RNA_DIR
+
+
+ create_html.py
+ $INSTALL_DIR
+
+
+ $INSTALL_DIR/bin
+
+
+
+
+ Compiling ExpaRNA requires a C compiler (typically gcc)
+
+