annotate fastq_to_fasta.xml @ 1:e7c65e398bdd draft default tip

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