annotate fasta_nucleotide_changer.xml @ 2:1cabf6626797 draft

planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author devteam
date Tue, 13 Oct 2015 12:39:17 -0400
parents 8789a0450ad4
children ea1b0d77314d
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" >
2
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
2 <description>converter</description>
0
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>
2
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
6 <command>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
7 <![CDATA[
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
8 zcat -f < '$input' | fasta_nucleotide_changer -$mode -v -o '$output'
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
9 ]]>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
10 </command>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
11 <inputs>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
12 <param format="fasta" name="input" type="data" label="Library to convert" />
0
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
13
2
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
14 <param name="mode" type="select" label="Convert">
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
15 <option value="d">RNA to DNA (U to T)</option>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
16 <option value="r">DNA to RNA (T to U)</option>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
17 </param>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
18 </inputs>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
19 <outputs>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
20 <data format_source="input" name="output" metadata_source="input" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
21 </outputs>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
22 <tests>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
23 <test>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
24 <param name="input" value="fasta_nuc_changer1.fasta" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
25 <param name="mode" value="r" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
26 <output name="output" ftype="fasta" file="fasta_nuc_change1.out" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
27 </test>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
28 <test>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
29 <param name="input" value="fasta_nuc_changer2.fasta" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
30 <param name="mode" value="d" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
31 <output name="output" ftype="fasta" file="fasta_nuc_change2.out" />
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
32 </test>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
33 </tests>
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
34 <help>
0
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
35 **What it does**
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
36
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
37 This tool converts RNA FASTA files to DNA (and vice-versa).
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
38
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
39 In **RNA-to-DNA** mode, U's are changed into T's.
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
40
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
41 In **DNA-to-RNA** mode, T's are changed into U's.
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
42
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
43 --------
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
44
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
45 **Example**
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
46
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
47 Input RNA FASTA file ( from Sanger's mirBase )::
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
48
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
49 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
50 UGAGGUAGUAGGUUGUAUAGUU
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
51 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
52 UCCCUGAGACCUCAAGUGUGA
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
53 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
54 UGGAAUGUAAAGAAGUAUGUA
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
55
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
56 Output DNA FASTA file (with RNA-to-DNA mode)::
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
57
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
58 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
59 TGAGGTAGTAGGTTGTATAGTT
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
60 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
61 TCCCTGAGACCTCAAGTGTGA
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
62 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
63 TGGAATGTAAAGAAGTATGTA
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
64
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
65
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 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
69
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
70 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
2
1cabf6626797 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 1
diff changeset
71 </help>
0
399fe8a8ce37 Uploaded tool tarball.
devteam
parents:
diff changeset
72 </tool>