annotate fasta_nucleotide_changer.xml @ 0:78a7d28f2a15 draft

Uploaded
author idot
date Wed, 10 Jul 2013 06:13:48 -0400
parents
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_fasta_nucleotides_changer" name="RNA/DNA" >
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 fasta_nucleotide_changer $mode -v -o '$output'</command>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
6 <inputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
7 <param format="fasta" name="input" type="data" label="Library to convert" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
8
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
9 <param name="mode" type="select" label="Convert">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
10 <option value="-d">RNA to DNA (U to T)</option>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
11 <option value="-r">DNA to RNA (T to U)</option>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
12 </param>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
13 </inputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
14
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
15 <tests>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
16 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
17 <!-- DNA-to-RNA -->
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
18 <param name="input" value="fasta_nuc_changer1.fasta" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
19 <param name="mode" value="DNA to RNA (T to U)" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
20 <output name="output" file="fasta_nuc_changer1.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
21 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
22 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
23 <!-- RNA-to-DNA -->
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
24 <param name="input" value="fasta_nuc_changer2.fasta" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
25 <param name="mode" value="RNA to DNA (U to T)" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
26 <output name="output" file="fasta_nuc_changer2.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
27 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
28 </tests>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
29
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
30
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
31 <outputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
32 <data format="input" name="output" metadata_source="input"
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
33 />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
34 </outputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
35
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
36 <help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
37 **What it does**
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
38
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
39 This tool converts RNA FASTA files to DNA (and vice-versa).
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
40
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
41 In **RNA-to-DNA** mode, U's are changed into T's.
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
42
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
43 In **DNA-to-RNA** mode, T's are changed into U's.
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
44
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
45 --------
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
46
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
47 **Example**
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
48
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
49 Input RNA FASTA file ( from Sanger's mirBase )::
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
50
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
51 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
52 UGAGGUAGUAGGUUGUAUAGUU
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
53 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
54 UCCCUGAGACCUCAAGUGUGA
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
55 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
56 UGGAAUGUAAAGAAGUAUGUA
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
57
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
58 Output DNA FASTA file (with RNA-to-DNA mode)::
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
59
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
60 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
61 TGAGGTAGTAGGTTGTATAGTT
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
62 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
63 TCCCTGAGACCTCAAGTGTGA
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
64 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
65 TGGAATGTAAAGAAGTATGTA
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
66
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
67 ------
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
68
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
69 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
70
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
71 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
72 </help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
73 </tool>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
74 <!-- FASTQ-to-FASTA is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->