annotate fasta_nucleotide_changer.xml @ 1:8789a0450ad4

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