comparison fastx_reverse_complement.xml @ 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
comparison
equal deleted inserted replaced
1:5bd826723d61 2:e246088b6e34
1 <tool id="cshl_fastx_reverse_complement" version="1.0.0" name="Reverse-Complement"> 1 <tool id="cshl_fastx_reverse_complement" version="1.0.0" name="Reverse-Complement">
2 <description></description> 2 <description></description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement> 4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
5 </requirements> 5 </requirements>
6 <command>zcat -f '$input' | fastx_reverse_complement -v -o $output 6 <command>
7 <![CDATA[
8 zcat -f < '$input' | fastx_reverse_complement -v -o '$output'
7 #if $input.ext == "fastqsanger": 9 #if $input.ext == "fastqsanger":
8 -Q 33 10 -Q 33
9 #end if 11 #end if
10 </command> 12 ]]>
11 <inputs> 13 </command>
12 <param format="fasta,fastqsolexa,fastqsanger" name="input" type="data" label="Library to reverse-complement" /> 14 <inputs>
13 </inputs> 15 <param format="fasta,fastqsolexa,fastqsanger" name="input" type="data" label="Library to reverse-complement" />
14 16 </inputs>
15 <tests> 17 <outputs>
16 <test> 18 <data format_source="input" name="output" metadata_source="input" />
17 <!-- Reverse-complement a FASTA file --> 19 </outputs>
18 <param name="input" value="fastx_rev_comp1.fasta" /> 20 <tests>
19 <param name="output" file="fastx_reverse_complement1.out" /> 21 <test>
20 </test> 22 <!-- Reverse-complement a FASTA file -->
21 <test> 23 <param name="input" value="fastx_rev_comp1.fasta" />
22 <!-- Reverse-complement a FASTQ file --> 24 <output name="output" ftype="fasta" file="fastx_reverse_complement1.out" />
23 <param name="input" value="fastx_rev_comp2.fastq" ftype="fastqsolexa"/> 25 </test>
24 <param name="output" file="fastx_reverse_complement2.out" /> 26 <test>
25 </test> 27 <!-- Reverse-complement a FASTQ file -->
26 </tests> 28 <param name="input" value="fastx_rev_comp2.fastq" ftype="fastqsolexa"/>
27 29 <output name="output" ftype="fastqsolexa" file="fastx_reverse_complement2.out" />
28 30 </test>
29 <outputs> 31 </tests>
30 <data format="input" name="output" metadata_source="input" /> 32 <help>
31 </outputs>
32
33 <help>
34 **What it does** 33 **What it does**
35 34
36 This tool reverse-complements each sequence in a library. 35 This tool reverse-complements each sequence in a library.
37 If the library is a FASTQ, the quality-scores are also reversed. 36 If the library is a FASTQ, the quality-scores are also reversed.
38 37
39 -------- 38 --------
40 39
41 **Example** 40 **Example**
42 41
43 Input FASTQ file:: 42 Input FASTQ file::
58 ------ 57 ------
59 58
60 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. 59 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
61 60
62 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ 61 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
63 62 </help>
64 </help>
65 </tool> 63 </tool>