annotate fastq_to_fasta.xml @ 0:9d253ab73d8b draft

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