annotate fastx_renamer.xml @ 1:defaa5ba1ee2 draft

planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author devteam
date Tue, 13 Oct 2015 12:41:46 -0400
parents 4ed1114bfe88
children 2b324adf4e58
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
1 <tool id="cshl_fastx_renamer" name="Rename sequences" version="0.0.11" >
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
2 <description></description>
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
3 <requirements>
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
5 </requirements>
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
6 <command>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
7 <![CDATA[
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
8 zcat -f < '$input' | fastx_renamer -n $TYPE -o '$output' -v
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
9 #if $input.ext == "fastqsanger":
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
10 -Q 33
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
11 #end if
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
12 ]]>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
13 </command>
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
14
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
15 <inputs>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
16 <param format="fastqsolexa,fasta,fastqsanger" name="input" type="data" label="FASTQ/A Library to rename" />
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
17
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
18 <param name="TYPE" type="select" label="Rename sequence identifiers to">
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
19 <option value="SEQ">Nucleotides sequence</option>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
20 <option value="COUNT">Numeric Counter</option>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
21 </param>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
22 </inputs>
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
23
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
24 <outputs>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
25 <data format_source="input" name="output" metadata_source="input" />
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
26 </outputs>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
27 <tests>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
28 </tests>
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
29 <help>
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
30 **What it does**
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
31
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
32 This tool renames the sequence identifiers in a FASTQ/A file.
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
33
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
34 .. class:: infomark
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
35
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
36 Use this tool at the beginning of your workflow, as a way to keep the original sequence (before trimming, clipping, barcode-removal, etc).
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
37
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
38 --------
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
39
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
40 **Example**
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
41
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
42 The following Solexa-FASTQ file::
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
43
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
44 @CSHL_4_FC042GAMMII_2_1_517_596
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
45 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
46 +CSHL_4_FC042GAMMII_2_1_517_596
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
47 40 40 40 40 40 40 40 40 40 40 38 40 40 40 40 40 14 40 40 40 40 40 36 40 13 14 24 24 9 24 9 40 10 10 15 40
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
48
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
49 Renamed to **nucleotides sequence**::
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
50
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
51 @GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
52 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
53 +GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
54 40 40 40 40 40 40 40 40 40 40 38 40 40 40 40 40 14 40 40 40 40 40 36 40 13 14 24 24 9 24 9 40 10 10 15 40
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
55
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
56 Renamed to **numeric counter**::
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
57
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
58 @1
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
59 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
60 +1
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
61 40 40 40 40 40 40 40 40 40 40 38 40 40 40 40 40 14 40 40 40 40 40 36 40 13 14 24 24 9 24 9 40 10 10 15 40
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
62
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
63 ------
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
64
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
65 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
66
1
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
67 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
defaa5ba1ee2 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
68 </help>
0
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
69 <!-- FASTQ-to-FASTA is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->
4ed1114bfe88 Uploaded
devteam
parents:
diff changeset
70 </tool>