Mercurial > repos > yating-l > gbtofasta
comparison gbToFasta.xml @ 0:9573618e2afe draft
planemo upload commit f3fb68f4faf6766eef195b8b36157035ab95e7b1
author | yating-l |
---|---|
date | Wed, 12 Apr 2017 17:43:55 -0400 |
parents | |
children | b673449d111a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9573618e2afe |
---|---|
1 <?xml version="1.0"?> | |
2 <tool id="gbtofasta" name="gbToFasta" version="1.0"> | |
3 <description>Convert GenBank records to fasta and Create table with coding regions information for each mRNA record</description> | |
4 <requirements> | |
5 <requirement type="package" version="1.0">ucsc_tools_340_for_BLAT</requirement> | |
6 </requirements> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 gbToFaRa | |
9 /dev/null | |
10 '${outputfa}' | |
11 outputra | |
12 outputta | |
13 '${gbfile}' | |
14 #if $cds == "yes" | |
15 && raToTab | |
16 -cols=acc,cds | |
17 outputra | |
18 '${outputcds}' | |
19 #end if | |
20 ]]></command> | |
21 <inputs> | |
22 <param type="data" name="gbfile" format="genbank" /> | |
23 <param type="select" name="cds" label="Create table with coding regions information for each mRNA record" > | |
24 <option value="yes">Yes</option> | |
25 <option value="no">No</option> | |
26 </param> | |
27 | |
28 </inputs> | |
29 <outputs> | |
30 <data format="fasta" name="outputfa" label="${tool.name} on ${on_string}:fasta"></data> | |
31 <data format="tabular" name="outputcds" label="${tool.name} on ${on_string}:cds"> | |
32 <filter>cds == "yes"</filter> | |
33 </data> | |
34 </outputs> | |
35 <tests> | |
36 <test> | |
37 <param name="gbfile" value="Gallus_gallus_RefSeq.gb" /> | |
38 <param name="cds" value="yes" /> | |
39 <output name="outputfa" value="Gallus_gallus_RefSeq.fa" /> | |
40 <output name="outputcds" value="Gallus_gallus_RefSeq.cds" /> | |
41 </test> | |
42 <test> | |
43 <param name="gbfile" value="Gallus_gallus_RefSeq.gb" /> | |
44 <param name="cds" value="no" /> | |
45 <output name="outputfa" value="Gallus_gallus_RefSeq.fa" /> | |
46 </test> | |
47 </tests> | |
48 <help> | |
49 <![CDATA[ | |
50 gbToFasta | |
51 ========= | |
52 | |
53 Convert GenBank records to fasta | |
54 --------------------------------- | |
55 | |
56 gbToFaRa - Convert GenBank flat format file to an fa file containing | |
57 the sequence data, an ra file containing other relevant info and | |
58 a ta file containing summary statistics. | |
59 usage: | |
60 gbToFaRa filterFile faFile raFile taFile genBankFile(s) | |
61 where filterFile is definition of which records and fields | |
62 use /dev/null if you want no filtering. | |
63 | |
64 gbToFaRa /dev/null gbfile.fa \ | |
65 gbfile.ra gbfile.ta gbfile | |
66 | |
67 Create table with coding regions information for each mRNA record | |
68 ----------------------------------------------------------------- | |
69 raToTab - Convert ra file to table. | |
70 raToTab -cols=acc,cds gbfile.ra gbfile.cds | |
71 | |
72 Source code: | |
73 ============ | |
74 | |
75 http://hgdownload.cse.ucsc.edu/admin/exe/ | |
76 | |
77 ]]></help> | |
78 <citations> | |
79 <citation type="bibtex">@article{kent2002blat, | |
80 title={BLAT—the BLAST-like alignment tool}, | |
81 author={Kent, W James}, | |
82 journal={Genome research}, | |
83 volume={12}, | |
84 number={4}, | |
85 pages={656--664}, | |
86 year={2002}, | |
87 publisher={Cold Spring Harbor Lab} | |
88 }</citation> | |
89 </citations> | |
90 | |
91 </tool> | |
92 | |
93 | |
94 | |
95 | |
96 |