annotate tools/fastx_toolkit/fastq_to_fasta.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_fastq_to_fasta" name="FASTQ to FASTA">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>converter</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <requirements><requirement type="package">fastx_toolkit</requirement></requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <command>gunzip -cf $input | fastq_to_fasta $SKIPN $RENAMESEQ -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="fastqsanger,fastqsolexa,fastqillumina" name="input" type="data" label="FASTQ Library to convert" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <param name="SKIPN" type="select" label="Discard sequences with unknown (N) bases ">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <option value="">yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <option value="-n">no</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="RENAMESEQ" type="select" label="Rename sequence names in output file (reduces file size)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <option value="-r">yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <option value="">no</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <!-- FASTQ-To-FASTA, keep N, don't rename -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <param name="input" value="fastq_to_fasta1.fastq" ftype="fastqsolexa" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <param name="SKIPN" value=""/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <param name="RENAMESEQ" value=""/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <output name="output" file="fastq_to_fasta1a.out" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <!-- FASTQ-To-FASTA, discard N, rename -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 <param name="input" value="fastq_to_fasta1.fastq" ftype="fastqsolexa" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 <param name="SKIPN" value="no"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 <param name="RENAMESEQ" value="yes"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <output name="output" file="fastq_to_fasta1b.out" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <data format="fasta" name="output" metadata_source="input" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 This tool converts data from Solexa format to FASTA format (scroll down for format description).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 --------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 The following data in Solexa-FASTQ format::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 @CSHL_4_FC042GAMMII_2_1_517_596
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 +CSHL_4_FC042GAMMII_2_1_517_596
9071e359b9a3 Uploaded
xuebing
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
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 Will be converted to FASTA (with 'rename sequence names' = NO)::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 >CSHL_4_FC042GAMMII_2_1_517_596
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 Will be converted to FASTA (with 'rename sequence names' = YES)::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 >1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 GGTCAATGATGAGTTGGCACTGTAGGCACCATCAAT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 </tool>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 <!-- FASTQ-to-FASTA is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->