changeset 0:470f58372a68 draft

Uploaded
author dfornika
date Fri, 21 Feb 2020 01:09:27 +0000
parents
children 8bcac51c233c
files chewbbaca_createschema.xml
diffstat 1 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chewbbaca_createschema.xml	Fri Feb 21 01:09:27 2020 +0000
@@ -0,0 +1,34 @@
+<tool id="chewbbaca_prepexternalschema" name="chewBBACA PrepExternalSchema" version="@TOOL_VERSION@+galaxy0">
+    <description>Adapt an external schema to be used with chewBBACA.</description>
+    <requirements>
+        <requirement type="package" version="@TOOL_VERSION@">chewbbaca</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        chewBBACA.py PrepExternalSchema
+          --cpu \${GALAXY_SLOTS:-1}
+          -i '${input_files}'
+          #if str( translation_table ) != "":
+            --tbl '${translation_table}'
+          #end if
+          --bsr '${bsr}'
+          --len '${len}'
+          -o schema
+          && tar -czf schema.tgz schema
+        ]]>
+    </command>
+    <inputs>
+        <param name="input_files" format="fasta" type="data" multiple="true" label="Schema files (fasta)" />
+        <param name="bsr" type="float" value="0.6" optional="true" label="BSR score" />
+        <param name="min_len" type="integer" min="1" value="100" max="100000" optional="true" label="Minimum length" />
+    </inputs>
+    <outputs>
+        <data name="schema_zipped" format="zip" label="${tool.name}: on ${on_string}: Schema (zipped)" from_work_dir="schema.tgz"/>
+    </outputs>
+    <tests>
+        
+    </tests>
+    <help><![CDATA[
+    ]]>
+    </help>
+   <expand macro="citations"/>
+</tool>