annotate fasta_nucleotide_changer.xml @ 0:4b41e3076a50

Uploaded tool tarball.
author devteam
date Wed, 25 Sep 2013 10:56:43 -0400
parents
children 2f868bfbe9de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
1 <tool id="cshl_fasta_nucleotides_changer" version="1.0.0" name="RNA/DNA" >
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
2 <description>converter</description>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
3 <requirements>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
5 </requirements>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
6 <command>zcat -f '$input' | fasta_nucleotide_changer -$mode -v -o $output</command>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
7 <inputs>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
8 <param format="fasta" version="1.0.0" name="input" type="data" label="Library to convert" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
9
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
10 <param version="1.0.0" name="mode" type="select" label="Convert">
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
11 <option value="d">RNA to DNA (U to T)</option>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
12 <option value="r">DNA to RNA (T to U)</option>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
13 </param>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
14 </inputs>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
15
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
16 <!--
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
17 Functional tests with param value starting with - fail.
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
18 -->
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
19 <tests>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
20 <test>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
21 <param version="1.0.0" name="input" value="fasta_nuc_changer1.fasta" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
22 <param version="1.0.0" name="mode" value="r" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
23 <output version="1.0.0" name="output" file="fasta_nuc_change1.out" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
24 </test>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
25 <test>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
26 <param version="1.0.0" name="input" value="fasta_nuc_changer2.fasta" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
27 <param version="1.0.0" name="mode" value="d" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
28 <output version="1.0.0" name="output" file="fasta_nuc_change2.out" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
29 </test>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
30 </tests>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
31
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
32 <outputs>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
33 <data format="input" version="1.0.0" name="output" metadata_source="input" />
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
34 </outputs>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
35
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
36 <help>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
37 **What it does**
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
38
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
39 This tool converts RNA FASTA files to DNA (and vice-versa).
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
40
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
41 In **RNA-to-DNA** mode, U's are changed into T's.
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
42
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
43 In **DNA-to-RNA** mode, T's are changed into U's.
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
44
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
45 --------
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
46
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
47 **Example**
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
48
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
49 Input RNA FASTA file ( from Sanger's mirBase )::
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
50
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
51 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
52 UGAGGUAGUAGGUUGUAUAGUU
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
53 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
54 UCCCUGAGACCUCAAGUGUGA
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
55 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
56 UGGAAUGUAAAGAAGUAUGUA
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
57
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
58 Output DNA FASTA file (with RNA-to-DNA mode)::
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
59
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
60 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
61 TGAGGTAGTAGGTTGTATAGTT
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
62 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
63 TCCCTGAGACCTCAAGTGTGA
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
64 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
65 TGGAATGTAAAGAAGTATGTA
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
66
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
67
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
68 ------
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
69
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
70 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
71
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
72 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
73
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
74 </help>
4b41e3076a50 Uploaded tool tarball.
devteam
parents:
diff changeset
75 </tool>