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