annotate tools/fastx_toolkit/fastx_renamer.xml @ 1:cdcb0ce84a1b

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