Mercurial > repos > devteam > fasta_nucleotide_changer
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 |
rev | line source |
---|---|
0 | 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 | 3 <requirements> |
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement> | |
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 | 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 | 35 **What it does** |
36 | |
37 This tool converts RNA FASTA files to DNA (and vice-versa). | |
38 | |
39 In **RNA-to-DNA** mode, U's are changed into T's. | |
40 | |
41 In **DNA-to-RNA** mode, T's are changed into U's. | |
42 | |
43 -------- | |
44 | |
45 **Example** | |
46 | |
47 Input RNA FASTA file ( from Sanger's mirBase ):: | |
48 | |
49 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7 | |
50 UGAGGUAGUAGGUUGUAUAGUU | |
51 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4 | |
52 UCCCUGAGACCUCAAGUGUGA | |
53 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1 | |
54 UGGAAUGUAAAGAAGUAUGUA | |
55 | |
56 Output DNA FASTA file (with RNA-to-DNA mode):: | |
57 | |
58 >cel-let-7 MIMAT0000001 Caenorhabditis elegans let-7 | |
59 TGAGGTAGTAGGTTGTATAGTT | |
60 >cel-lin-4 MIMAT0000002 Caenorhabditis elegans lin-4 | |
61 TCCCTGAGACCTCAAGTGTGA | |
62 >cel-miR-1 MIMAT0000003 Caenorhabditis elegans miR-1 | |
63 TGGAATGTAAAGAAGTATGTA | |
64 | |
65 | |
66 ------ | |
67 | |
68 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | |
69 | |
70 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ | |
2
1cabf6626797
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
71 </help> |
0 | 72 </tool> |