annotate ensembl_cdna_translate.xml @ 1:0f70b1b92161 draft

Deleted selected files
author jjohnson
date Wed, 29 Nov 2017 15:56:44 -0500
parents a8218b11216f
children b7f2f5e3390c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
1 <tool id="ensembl_cdna_translate" name="Ensembl cDNA Translations" version="0.1.0">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
2 <description>using Ensembl REST API</description>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
3 <requirements>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
4 <requirement type="package" version="0.4.10">requests-cache</requirement>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
5 <requirement type="package" version="1.62">biopython</requirement>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
6 </requirements>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
7 <stdio>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
8 <exit_code range="1:" />
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
9 </stdio>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
10 <command><![CDATA[
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
11 #if $input:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
12 cat '$input'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
13 #else
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
14 python '$__tool_directory__/ensembl_cdna_translate.py'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
15 #if $species:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
16 --species '$species'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
17 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
18 $transcript_raw
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
19 #if $biotypes:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
20 --biotypes '$biotypes'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
21 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
22 #if str($output_choice).find('transcript_bed') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
23 --transcripts
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
24 #if str($output_choice).find('translation') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
25 '-' | tee '$transcript_bed'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
26 #else
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
27 '$transcript_bed'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
28 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
29 #elif str($output_choice).find('translation') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
30 --transcripts '-'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
31 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
32 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
33 #if str($output_choice).find('translation') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
34 | python '$__tool_directory__/ensembl_cdna_translate.py' -i '-'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
35 #if $input and str($output_choice).find('transcript_bed') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
36 --transcripts '$transcript_bed
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
37 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
38 #if str($output_choice).find('translation_bed') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
39 --bed '$translation_bed'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
40 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
41 #if str($output_choice).find('translation_fasta') >= 0:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
42 --fasta '$translation_fasta'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
43 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
44 #if $enzyme:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
45 --enzyme '$enzyme'
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
46 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
47 #end if
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
48
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
49 ]]></command>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
50 <inputs>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
51 <param name="species" type="text" value="" label="Ensembl species" >
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
52 <help>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
53 </help>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
54 <option value="homo_sapiens">homo_sapiens (Human) taxon_id: 9606</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
55 <option value="mus_musculus">mus_musculus (Mouse) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
56 <option value="ailuropoda_melanoleuca">ailuropoda_melanoleuca (Panda) taxon_id: 9646</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
57 <option value="anas_platyrhynchos">anas_platyrhynchos (Duck) taxon_id: 8839</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
58 <option value="anolis_carolinensis">anolis_carolinensis (Anole lizard) taxon_id: 28377</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
59 <option value="astyanax_mexicanus">astyanax_mexicanus (Cave fish) taxon_id: 7994</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
60 <option value="bos_taurus">bos_taurus (Cow) taxon_id: 9913</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
61 <option value="caenorhabditis_elegans">caenorhabditis_elegans (Caenorhabditis elegans) taxon_id: 6239</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
62 <option value="callithrix_jacchus">callithrix_jacchus (Marmoset) taxon_id: 9483</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
63 <option value="canis_familiaris">canis_familiaris (Dog) taxon_id: 9615</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
64 <option value="carlito_syrichta">carlito_syrichta (Tarsier) taxon_id: 1868482</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
65 <option value="cavia_aperea">cavia_aperea (Brazilian guinea pig) taxon_id: 37548</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
66 <option value="cavia_porcellus">cavia_porcellus (Guinea Pig) taxon_id: 10141</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
67 <option value="chinchilla_lanigera">chinchilla_lanigera (Long-tailed chinchilla) taxon_id: 34839</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
68 <option value="chlorocebus_sabaeus">chlorocebus_sabaeus (Vervet-AGM) taxon_id: 60711</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
69 <option value="choloepus_hoffmanni">choloepus_hoffmanni (Sloth) taxon_id: 9358</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
70 <option value="ciona_intestinalis">ciona_intestinalis (C.intestinalis) taxon_id: 7719</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
71 <option value="ciona_savignyi">ciona_savignyi (C.savignyi) taxon_id: 51511</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
72 <option value="cricetulus_griseus_chok1gshd">cricetulus_griseus_chok1gshd (Chinese hamster CHOK1GS) taxon_id: 10029</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
73 <option value="cricetulus_griseus_crigri">cricetulus_griseus_crigri (Chinese hamster CriGri) taxon_id: 10029</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
74 <option value="danio_rerio">danio_rerio (Zebrafish) taxon_id: 7955</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
75 <option value="dasypus_novemcinctus">dasypus_novemcinctus (Armadillo) taxon_id: 9361</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
76 <option value="dipodomys_ordii">dipodomys_ordii (Kangaroo rat) taxon_id: 10020</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
77 <option value="drosophila_melanogaster">drosophila_melanogaster (Fruitfly) taxon_id: 7227</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
78 <option value="echinops_telfairi">echinops_telfairi (Lesser hedgehog tenrec) taxon_id: 9371</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
79 <option value="equus_caballus">equus_caballus (Horse) taxon_id: 9796</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
80 <option value="erinaceus_europaeus">erinaceus_europaeus (Hedgehog) taxon_id: 9365</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
81 <option value="felis_catus">felis_catus (Cat) taxon_id: 9685</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
82 <option value="ficedula_albicollis">ficedula_albicollis (Flycatcher) taxon_id: 59894</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
83 <option value="fukomys_damarensis">fukomys_damarensis (Damara mole rat) taxon_id: 885580</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
84 <option value="gadus_morhua">gadus_morhua (Cod) taxon_id: 8049</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
85 <option value="gallus_gallus">gallus_gallus (Chicken) taxon_id: 9031</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
86 <option value="gasterosteus_aculeatus">gasterosteus_aculeatus (Stickleback) taxon_id: 69293</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
87 <option value="gorilla_gorilla">gorilla_gorilla (Gorilla) taxon_id: 9595</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
88 <option value="heterocephalus_glaber_female">heterocephalus_glaber_female (Naked mole-rat female) taxon_id: 10181</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
89 <option value="heterocephalus_glaber_male">heterocephalus_glaber_male (Naked mole-rat male) taxon_id: 10181</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
90 <option value="ictidomys_tridecemlineatus">ictidomys_tridecemlineatus (Squirrel) taxon_id: 43179</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
91 <option value="jaculus_jaculus">jaculus_jaculus (Lesser Egyptian jerboa) taxon_id: 51337</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
92 <option value="latimeria_chalumnae">latimeria_chalumnae (Coelacanth) taxon_id: 7897</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
93 <option value="lepisosteus_oculatus">lepisosteus_oculatus (Spotted gar) taxon_id: 7918</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
94 <option value="loxodonta_africana">loxodonta_africana (Elephant) taxon_id: 9785</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
95 <option value="macaca_mulatta">macaca_mulatta (Macaque) taxon_id: 9544</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
96 <option value="meleagris_gallopavo">meleagris_gallopavo (Turkey) taxon_id: 9103</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
97 <option value="mesocricetus_auratus">mesocricetus_auratus (Golden Hamster) taxon_id: 10036</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
98 <option value="microcebus_murinus">microcebus_murinus (Mouse Lemur) taxon_id: 30608</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
99 <option value="microtus_ochrogaster">microtus_ochrogaster (Prairie vole) taxon_id: 79684</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
100 <option value="monodelphis_domestica">monodelphis_domestica (Opossum) taxon_id: 13616</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
101 <option value="mus_caroli">mus_caroli (Ryukyu mouse) taxon_id: 10089</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
102 <option value="mus_musculus_129s1svimj">mus_musculus_129s1svimj (Mouse 129S1/SvImJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
103 <option value="mus_musculus_aj">mus_musculus_aj (Mouse A/J) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
104 <option value="mus_musculus_akrj">mus_musculus_akrj (Mouse AKR/J) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
105 <option value="mus_musculus_balbcj">mus_musculus_balbcj (Mouse BALB/cJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
106 <option value="mus_musculus_c3hhej">mus_musculus_c3hhej (Mouse C3H/HeJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
107 <option value="mus_musculus_c57bl6nj">mus_musculus_c57bl6nj (Mouse C57BL/6NJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
108 <option value="mus_musculus_casteij">mus_musculus_casteij (Mouse CAST/EiJ) taxon_id: 10091</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
109 <option value="mus_musculus_cbaj">mus_musculus_cbaj (Mouse CBA/J) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
110 <option value="mus_musculus_dba2j">mus_musculus_dba2j (Mouse DBA/2J) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
111 <option value="mus_musculus_fvbnj">mus_musculus_fvbnj (Mouse FVB/NJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
112 <option value="mus_musculus_lpj">mus_musculus_lpj (Mouse LP/J) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
113 <option value="mus_musculus_nodshiltj">mus_musculus_nodshiltj (Mouse NOD/ShiLtJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
114 <option value="mus_musculus_nzohlltj">mus_musculus_nzohlltj (Mouse NZO/HlLtJ) taxon_id: 10090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
115 <option value="mus_musculus_pwkphj">mus_musculus_pwkphj (Mouse PWK/PhJ) taxon_id: 39442</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
116 <option value="mus_musculus_wsbeij">mus_musculus_wsbeij (Mouse WSB/EiJ) taxon_id: 10092</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
117 <option value="mus_pahari">mus_pahari (Shrew mouse) taxon_id: 10093</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
118 <option value="mus_spretus_spreteij">mus_spretus_spreteij (Algerian mouse) taxon_id: 10096</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
119 <option value="mustela_putorius_furo">mustela_putorius_furo (Ferret) taxon_id: 9669</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
120 <option value="myotis_lucifugus">myotis_lucifugus (Microbat) taxon_id: 59463</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
121 <option value="nannospalax_galili">nannospalax_galili (Upper Galilee mountains blind mole rat) taxon_id: 1026970</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
122 <option value="nomascus_leucogenys">nomascus_leucogenys (Gibbon) taxon_id: 61853</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
123 <option value="notamacropus_eugenii">notamacropus_eugenii (Wallaby) taxon_id: 9315</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
124 <option value="ochotona_princeps">ochotona_princeps (Pika) taxon_id: 9978</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
125 <option value="octodon_degus">octodon_degus (Degu) taxon_id: 10160</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
126 <option value="oreochromis_niloticus">oreochromis_niloticus (Tilapia) taxon_id: 8128</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
127 <option value="ornithorhynchus_anatinus">ornithorhynchus_anatinus (Platypus) taxon_id: 9258</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
128 <option value="oryctolagus_cuniculus">oryctolagus_cuniculus (Rabbit) taxon_id: 9986</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
129 <option value="oryzias_latipes">oryzias_latipes (Medaka) taxon_id: 8090</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
130 <option value="otolemur_garnettii">otolemur_garnettii (Bushbaby) taxon_id: 30611</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
131 <option value="ovis_aries">ovis_aries (Sheep) taxon_id: 9940</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
132 <option value="pan_troglodytes">pan_troglodytes (Chimpanzee) taxon_id: 9598</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
133 <option value="papio_anubis">papio_anubis (Olive baboon) taxon_id: 9555</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
134 <option value="pelodiscus_sinensis">pelodiscus_sinensis (Chinese softshell turtle) taxon_id: 13735</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
135 <option value="peromyscus_maniculatus_bairdii">peromyscus_maniculatus_bairdii (Northern American deer mouse) taxon_id: 230844</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
136 <option value="petromyzon_marinus">petromyzon_marinus (Lamprey) taxon_id: 7757</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
137 <option value="poecilia_formosa">poecilia_formosa (Amazon molly) taxon_id: 48698</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
138 <option value="pongo_abelii">pongo_abelii (Orangutan) taxon_id: 9601</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
139 <option value="procavia_capensis">procavia_capensis (Hyrax) taxon_id: 9813</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
140 <option value="pteropus_vampyrus">pteropus_vampyrus (Megabat) taxon_id: 132908</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
141 <option value="rattus_norvegicus">rattus_norvegicus (Rat) taxon_id: 10116</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
142 <option value="saccharomyces_cerevisiae">saccharomyces_cerevisiae (Saccharomyces cerevisiae) taxon_id: 4932</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
143 <option value="sarcophilus_harrisii">sarcophilus_harrisii (Tasmanian devil) taxon_id: 9305</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
144 <option value="sorex_araneus">sorex_araneus (Shrew) taxon_id: 42254</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
145 <option value="sus_scrofa">sus_scrofa (Pig) taxon_id: 9823</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
146 <option value="taeniopygia_guttata">taeniopygia_guttata (Zebra Finch) taxon_id: 59729</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
147 <option value="takifugu_rubripes">takifugu_rubripes (Fugu) taxon_id: 31033</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
148 <option value="tetraodon_nigroviridis">tetraodon_nigroviridis (Tetraodon) taxon_id: 99883</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
149 <option value="tupaia_belangeri">tupaia_belangeri (Tree Shrew) taxon_id: 37347</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
150 <option value="tursiops_truncatus">tursiops_truncatus (Dolphin) taxon_id: 9739</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
151 <option value="vicugna_pacos">vicugna_pacos (Alpaca) taxon_id: 30538</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
152 <option value="xenopus_tropicalis">xenopus_tropicalis (Xenopus) taxon_id: 8364</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
153 <option value="xiphophorus_maculatus">xiphophorus_maculatus (Platyfish) taxon_id: 8083</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
154
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
155 </param>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
156 <param name="biotypes" type="text" value="" optional="true" label="Restrict to these biotypes" >
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
157 <help><![CDATA[
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
158 Example biotypes:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
159 protein_coding, non_coding, pseudogene, nonsense_mediated_decay, non_stop_decay,
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
160 translated_processed_pseudogene, transcribed_processed_pseudogene, transcribed_unitary_pseudogene, transcribed_unprocessed_pseudogene,
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
161 polymorphic_pseudogene, processed_pseudogene, unprocessed_pseudogene, unitary_pseudogene, processed_transcript,
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
162 retained_intron, ccds_gene, sense_overlapping, sense_intronic, cdna_update, antisense,
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
163 LRG_gene, IG_C_gene, IG_D_gene, IG_J_gene, IG_LV_gene IG_V_gene, TR_C_gene, TR_D_gene, TR_J_gene, TR_V_gene,
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
164 IG_pseudogene, IG_C_pseudogene, IG_D_pseudogene, IG_J_pseudogene, IG_V_pseudogene, TR_J_pseudogene, TR_V_pseudogene, TEC,
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
165 ribozyme, RNase_P_RNA, guide_RNA, macro_lncRNA, bidirectional_promoter_lncRNA, 3prime_overlapping_ncRNA, antisense_RNA, vaultRNA, Y_RNA, SRP_RNA, RNase_MRP_RNA, IG_C_pseudogene, lncRNA, lincRNA, miRNA, snRNA, sRNA, telomerase_RNA, Mt_tRNA, Mt_rRNA, scaRNA, misc_RNA, rRNA, tRNA, scRNA, snoRNA, other
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
166 ]]></help>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
167 </param>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
168 <param name="input" type="data" format="bed" optional="true" label="A BED file with 12 columns, thickStart and thickEnd define protein coding region"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
169 <param name="translate_all" type="boolean" truevalue="--all" falsevalue="" checked="false"
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
170 label="Report all translations (Default is non reference protein sequences)"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
171 <param name="transcript_raw" type="boolean" truevalue="--raw" falsevalue="" checked="true"
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
172 label="Keep extra columns from ensembl BED"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
173 <param name="output_choice" type="select" multiple="true" display="checkboxes" label="Outputs">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
174 <option value="transcript_bed">transcripts.bed</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
175 <option value="translation_bed">translation.bed</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
176 <option value="translation_fasta">translation.fasta</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
177 </param>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
178 <param name="min_length" type="integer" value="7" min="1" label="Minimum length of protein translation to report"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
179 <param name="enzyme" type="select" optional="true" label="Digest enzyme"
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
180 help="Remove frags that are in a reference protein">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
181 <option value="trypsin">trypsin: ([KR](?=[^P]))|((?&lt;=W)K(?=P))|((?&lt;=M)R(?=P))</option>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
182 </param>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
183 </inputs>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
184 <outputs>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
185 <data name="transcript_bed" format="bed" label="Ensembl $species transcripts.bed">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
186 <filter>'transcript_bed' in output_choice</filter>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
187 </data>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
188 <data name="translation_bed" format="bed" label="Ensembl $species translation.bed">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
189 <filter>'translation_bed' in output_choice</filter>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
190 </data>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
191 <data name="translation_fasta" format="fasta" label="Ensembl $species translation.fasta">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
192 <filter>'translation_fasta' in output_choice</filter>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
193 </data>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
194 </outputs>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
195 <tests>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
196 <test>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
197 <param name="species" value="human"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
198 <param name="input" value="human_transcripts.bed" ftype="bed"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
199 <param name="output_choice" value="translation_bed,translation_fasta"/>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
200 <output name="translation_bed">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
201 <assert_contents>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
202 <has_text text="ENST00000641515" />
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
203 </assert_contents>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
204 </output>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
205 <output name="translation_fasta">
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
206 <assert_contents>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
207 <has_text text=">ENST00000641515" />
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
208 </assert_contents>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
209 </output>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
210 </test>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
211 </tests>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
212 <help><![CDATA[
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
213 usage: ensembl_cdna_translate.py [-h] [-s SPECIES] [-i INPUT] [-t TRANSCRIPTS]
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
214 [-r] [-f FASTA] [-b BED] [-m MIN_LENGTH] [-a]
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
215 [-v] [-d]
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
216
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
217 Retrieve Ensembl cDNAs and three frame translate
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
218
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
219 optional arguments:
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
220 -h, --help show this help message and exit
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
221 -s SPECIES, --species SPECIES
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
222 Ensembl Species to retrieve
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
223 -i INPUT, --input INPUT
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
224 Use this bed instead of retrieving cDNA from ensembl
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
225 (-) for stdin
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
226 -t TRANSCRIPTS, --transcripts TRANSCRIPTS
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
227 Path to output cDNA transcripts.bed (-) for stdout
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
228 -r, --raw Report transcript exacty as returned from Ensembl
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
229 -f FASTA, --fasta FASTA
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
230 Path to output translations.fasta
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
231 -b BED, --bed BED Path to output translations.bed
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
232 -m MIN_LENGTH, --min_length MIN_LENGTH
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
233 Minimum length of protein translation to report
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
234 -a, --all Report all translations (Default is non reference
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
235 protein sequences)
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
236 -v, --verbose Verbose
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
237 -d, --debug Debug
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
238
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
239 Esmebl REST API returns a 20 BED format with these additional columns::
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
240
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
241 second_name, cds_start_status, cds_end_status, exon_frames, type, gene_name, second_gene_name, gene_type
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
242
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
243 ]]></help>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
244 <citations>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
245 <citation type="doi">10.1093/bioinformatics/btu613</citation>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
246 <citation type="doi">10.1093/nar/gku1010</citation>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
247 </citations>
a8218b11216f Uploaded
jjohnson
parents:
diff changeset
248 </tool>