comparison fastx_renamer.xml @ 2:d8a3d31554d7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
author iuc
date Tue, 08 May 2018 13:28:10 -0400
parents 02f8a17a4ebd
children 3599f5451ee2
comparison
equal deleted inserted replaced
1:02f8a17a4ebd 2:d8a3d31554d7
1 <tool id="cshl_fastx_renamer" name="Rename sequences" version="0.0.11" > 1 <tool id="cshl_fastx_renamer" name="Rename sequences" version="@VERSION@+galaxy0" >
2 <description></description> 2 <description></description>
3 <requirements> 3 <macros>
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement> 4 <import>macros.xml</import>
5 </requirements> 5 </macros>
6 <command> 6 <expand macro="requirements" />
7 <![CDATA[ 7 <command detect_errors="exit_code"><![CDATA[
8 zcat -f < '$input' | fastx_renamer -n $TYPE -o '$output' -v 8 @CATS@ fastx_renamer
9 #if $input.ext == "fastqsanger": 9 -n $TYPE
10 -Q 33 10 -o '$output'
11 #end if 11 -v
12 ]]> 12 @FQQUAL@
13 </command> 13 ]]></command>
14 14
15 <inputs> 15 <inputs>
16 <param format="fastqsolexa,fasta,fastqsanger" name="input" type="data" label="FASTQ/A Library to rename" /> 16 <expand macro="fastx_input" />
17 17
18 <param name="TYPE" type="select" label="Rename sequence identifiers to"> 18 <param name="TYPE" type="select" label="Rename sequence identifiers to">
19 <option value="SEQ">Nucleotides sequence</option> 19 <option value="SEQ">Nucleotides sequence</option>
20 <option value="COUNT">Numeric Counter</option> 20 <option value="COUNT">Numeric Counter</option>
21 </param> 21 </param>
22 </inputs> 22 </inputs>
23 23
24 <outputs> 24 <outputs>
25 <data format_source="input" name="output" metadata_source="input" /> 25 <data name="output" format_source="input" metadata_source="input" />
26 </outputs> 26 </outputs>
27 <tests> 27 <tests>
28 <test>
29 <param name="input" value="fastx_renamer-in1.fastq" />
30 <param name="TYPE" value="SEQ" />
31 <output name="output" file="fastx_renamer-out1.fastq" />
32 </test>
28 </tests> 33 </tests>
29 <help> 34 <help><![CDATA[
30 **What it does** 35 **What it does**
31 36
32 This tool renames the sequence identifiers in a FASTQ/A file. 37 This tool renames the sequence identifiers in a FASTQ/A file.
33 38
34 .. class:: infomark 39 .. class:: infomark
63 ------ 68 ------
64 69
65 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. 70 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
66 71
67 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ 72 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
68 </help> 73 ]]></help>
69 <!-- FASTQ-to-FASTA is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> 74 <expand macro="citations" />
70 </tool> 75 </tool>