Mercurial > repos > devteam > fastx_renamer
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 |
rev | line source |
---|---|
0 | 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 | 3 <requirements> |
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement> | |
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 | 9 #if $input.ext == "fastqsanger": |
1
defaa5ba1ee2
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
10 -Q 33 |
0 | 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 | 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 | 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 | 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 | 30 **What it does** |
31 | |
32 This tool renames the sequence identifiers in a FASTQ/A file. | |
33 | |
34 .. class:: infomark | |
35 | |
36 Use this tool at the beginning of your workflow, as a way to keep the original sequence (before trimming, clipping, barcode-removal, etc). | |
37 | |
38 -------- | |
39 | |
40 **Example** | |
41 | |
42 The following Solexa-FASTQ file:: | |
43 | |
44 @CSHL_4_FC042GAMMII_2_1_517_596 | |
45 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT | |
46 +CSHL_4_FC042GAMMII_2_1_517_596 | |
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 | 49 Renamed to **nucleotides sequence**:: |
50 | |
51 @GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT | |
52 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT | |
53 +GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT | |
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 | |
55 | |
56 Renamed to **numeric counter**:: | |
57 | |
58 @1 | |
59 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT | |
60 +1 | |
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 | |
62 | |
63 ------ | |
64 | |
65 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | |
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 | 69 <!-- FASTQ-to-FASTA is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> |
70 </tool> |