changeset 2:e246088b6e34 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_reverse_complement commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author devteam
date Wed, 11 Nov 2015 12:40:00 -0500
parents 5bd826723d61
children 3f1017d3f785
files fastx_reverse_complement.xml tool_dependencies.xml
diffstat 2 files changed, 29 insertions(+), 31 deletions(-) [+]
line wrap: on
line diff
--- a/fastx_reverse_complement.xml	Tue Dec 03 12:36:14 2013 -0500
+++ b/fastx_reverse_complement.xml	Wed Nov 11 12:40:00 2015 -0500
@@ -1,41 +1,40 @@
 <tool id="cshl_fastx_reverse_complement" version="1.0.0" name="Reverse-Complement">
-	<description></description>
+    <description></description>
     <requirements>
         <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
     </requirements>
-	<command>zcat -f '$input' | fastx_reverse_complement -v -o $output
+    <command>
+<![CDATA[
+zcat -f < '$input' | fastx_reverse_complement -v -o '$output'
 #if $input.ext == "fastqsanger":
--Q 33
+    -Q 33
 #end if
-	</command>
-	<inputs>
-		<param format="fasta,fastqsolexa,fastqsanger" name="input" type="data" label="Library to reverse-complement" />
-	</inputs>
-
-	<tests>
-		<test>
-			<!-- Reverse-complement a FASTA file -->
-			<param name="input" value="fastx_rev_comp1.fasta" /> 
-			<param name="output" file="fastx_reverse_complement1.out" />
-		</test>
-		<test>
-			<!-- Reverse-complement a FASTQ file -->
-			<param name="input" value="fastx_rev_comp2.fastq" ftype="fastqsolexa"/>
-			<param name="output" file="fastx_reverse_complement2.out" />
-		</test>
-	</tests>
-
-  
-	<outputs>
-		<data format="input" name="output" metadata_source="input" />
-	</outputs>
-
-<help>
+]]>
+    </command>
+    <inputs>
+        <param format="fasta,fastqsolexa,fastqsanger" name="input" type="data" label="Library to reverse-complement" />
+    </inputs>
+    <outputs>
+        <data format_source="input" name="output" metadata_source="input" />
+    </outputs>
+    <tests>
+        <test>
+            <!-- Reverse-complement a FASTA file -->
+            <param name="input" value="fastx_rev_comp1.fasta" />
+            <output name="output" ftype="fasta" file="fastx_reverse_complement1.out" />
+        </test>
+        <test>
+            <!-- Reverse-complement a FASTQ file -->
+            <param name="input" value="fastx_rev_comp2.fastq" ftype="fastqsolexa"/>
+            <output name="output" ftype="fastqsolexa" file="fastx_reverse_complement2.out" />
+        </test>
+    </tests>
+    <help>
 **What it does**
 
 This tool reverse-complements each sequence in a library.
 If the library is a FASTQ, the quality-scores are also reversed.
-  
+
 --------
 
 **Example**
@@ -60,6 +59,5 @@
 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
 
  .. __: http://hannonlab.cshl.edu/fastx_toolkit/
- 
-</help>
+    </help>
 </tool>
--- a/tool_dependencies.xml	Tue Dec 03 12:36:14 2013 -0500
+++ b/tool_dependencies.xml	Wed Nov 11 12:40:00 2015 -0500
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="fastx_toolkit" version="0.0.13">
-        <repository changeset_revision="ec66ae4c269b" name="package_fastx_toolkit_0_0_13" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="ec66ae4c269b" name="package_fastx_toolkit_0_0_13" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu" />
     </package>
 </tool_dependency>