annotate fastq_to_fasta.xml @ 0:04614cf6ed39 draft

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