diff reverse.seqs.xml @ 0:34812b0dc74f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
author iuc
date Fri, 24 Jun 2016 16:48:48 -0400
parents
children 24279ccecac5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/reverse.seqs.xml	Fri Jun 24 16:48:48 2016 -0400
@@ -0,0 +1,45 @@
+<tool profile="16.07" id="mothur_reverse_seqs" name="Reverse.seqs" version="@WRAPPER_VERSION@.0">
+    <description>Reverse complement the sequences</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <expand macro="version_command"/>
+    <command detect_errors="aggressive"><![CDATA[
+        ## create symlinks to input datasets
+        ln -s "$fasta" fasta.dat &&
+
+        echo 'reverse.seqs(
+            fasta=fasta.dat
+        )'
+        | sed 's/ //g'  ## mothur trips over whitespace
+        | mothur
+    ]]></command>
+    <inputs>
+        <param name="fasta" type="data" format="fasta,mothur.align" label="fasta - Sequences to reverse complement"/>
+    </inputs>
+    <outputs>
+        <expand macro="logfile-output"/>
+        <data name="out_fasta" format_source="fasta" from_work_dir="fasta*.rc.*" label="${tool.name} on ${on_string}: rc.fasta"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="fasta" value="Mock_S280_L001_R1_001_small.trim.contigs.good.align_head"/>
+            <output name="out_fasta" file="Mock_S280_L001_R1_001_small.trim.contigs.good.rc.align_head"/>
+            <expand macro="logfile-test"/>
+        </test>
+    </tests>
+    <help>
+<![CDATA[
+
+@MOTHUR_OVERVIEW@
+
+**Command Documenation**
+
+The reverse.seqs_ command will generate a fasta containing the reverse complement of each sequence in the input fasta.
+
+.. _reverse.seqs: http://www.mothur.org/wiki/Reverse.seqs
+]]>
+    </help>
+    <expand macro="citations"/>
+</tool>