comparison ensembl_cdna_translate.xml @ 7:d59e3ce10e74 draft

Uploaded
author jjohnson
date Wed, 13 Dec 2017 11:15:34 -0500
parents f8e0e5e237a5
children 5c92d0be6514
comparison
equal deleted inserted replaced
6:f8e0e5e237a5 7:d59e3ce10e74
1 <tool id="ensembl_cdna_translate" name="Ensembl cDNA Translations" version="0.1.0"> 1 <tool id="ensembl_cdna_translate" name="Ensembl cDNA Translations" version="0.1.0">
2 <description>using Ensembl REST API</description> 2 <description>using Ensembl REST API</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
3 <requirements> 6 <requirements>
4 <requirement type="package" version="0.4.10">requests-cache</requirement> 7 <requirement type="package" version="0.4.10">requests-cache</requirement>
5 <requirement type="package" version="1.62">biopython</requirement> 8 <requirement type="package" version="1.62">biopython</requirement>
6 </requirements> 9 </requirements>
7 <stdio> 10 <stdio>
8 <exit_code range="1:" /> 11 <exit_code range="1:" />
9 </stdio> 12 </stdio>
10 <command><![CDATA[ 13 <command><![CDATA[
11 #if $input: 14 #if $features.feature_src == 'history_bed':
12 cat '$input' 15 cat '$features.input'
13 #else 16 #else
14 python '$__tool_directory__/ensembl_cdna_translate.py' 17 python '$__tool_directory__/ensembl_cdna_translate.py'
15 #if $species: 18 #if $species:
16 --species '$species' 19 --species '$species'
17 #end if 20 #end if
18 $transcript_raw 21 $features.transcript_raw
19 #if $biotypes: 22 #if $features.biotypes:
20 --biotypes '$biotypes' 23 --biotypes '$features.biotypes'
24 #end if
25 #if $features.regions:
26 --regions '$features.regions'
21 #end if 27 #end if
22 #if str($output_choice).find('transcript_bed') >= 0: 28 #if str($output_choice).find('transcript_bed') >= 0:
23 --transcripts 29 --transcripts
24 #if str($output_choice).find('translation') >= 0: 30 #if str($output_choice).find('translation') >= 0:
25 '-' | tee '$transcript_bed' 31 '-' | tee '$transcript_bed'
43 --bed '$translation_bed' 49 --bed '$translation_bed'
44 #end if 50 #end if
45 #if str($output_choice).find('translation_fasta') >= 0: 51 #if str($output_choice).find('translation_fasta') >= 0:
46 --fasta '$translation_fasta' 52 --fasta '$translation_fasta'
47 #end if 53 #end if
54 ###if $features.biotypes:
55 ## --biotypes '$features.biotypes'
56 ###end if
48 #end if 57 #end if
49 58
50 ]]></command> 59 ]]></command>
51 <inputs> 60 <inputs>
52 <param name="species" type="text" value="" label="Ensembl species" > 61 <param name="species" type="text" value="" label="Ensembl species" >
53 <help> 62 <help>
54 </help> 63 </help>
55 <option value="homo_sapiens">homo_sapiens (Human) taxon_id: 9606</option> 64 <expand macro="species_options" />
56 <option value="mus_musculus">mus_musculus (Mouse) taxon_id: 10090</option> 65 </param>
57 <option value="ailuropoda_melanoleuca">ailuropoda_melanoleuca (Panda) taxon_id: 9646</option> 66 <conditional name="features">
58 <option value="anas_platyrhynchos">anas_platyrhynchos (Duck) taxon_id: 8839</option> 67 <param name="feature_src" type="select" label="Features to translate">
59 <option value="anolis_carolinensis">anolis_carolinensis (Anole lizard) taxon_id: 28377</option> 68 <option value="ensembl_rest">Retrieve from Ensembl</option>
60 <option value="astyanax_mexicanus">astyanax_mexicanus (Cave fish) taxon_id: 7994</option> 69 <option value="history_bed">Use Ensembl BED file</option>
61 <option value="bos_taurus">bos_taurus (Cow) taxon_id: 9913</option> 70 </param>
62 <option value="caenorhabditis_elegans">caenorhabditis_elegans (Caenorhabditis elegans) taxon_id: 6239</option> 71 <when value="ensembl_rest">
63 <option value="callithrix_jacchus">callithrix_jacchus (Marmoset) taxon_id: 9483</option> 72 <param name="transcript_raw" type="boolean" truevalue="--raw" falsevalue="" checked="true"
64 <option value="canis_familiaris">canis_familiaris (Dog) taxon_id: 9615</option> 73 label="Keep extra columns from ensembl BED"/>
65 <option value="carlito_syrichta">carlito_syrichta (Tarsier) taxon_id: 1868482</option> 74 <param name="biotypes" type="text" value="" optional="true" label="Restrict Feature retrieval to these biotypes" >
66 <option value="cavia_aperea">cavia_aperea (Brazilian guinea pig) taxon_id: 37548</option> 75 <expand macro="biotypes_help" />
67 <option value="cavia_porcellus">cavia_porcellus (Guinea Pig) taxon_id: 10141</option> 76 </param>
68 <option value="chinchilla_lanigera">chinchilla_lanigera (Long-tailed chinchilla) taxon_id: 34839</option> 77 <param name="regions" type="text" value="" optional="true" label="Restrict Feature retrieval to comma-separated list of regions" >
69 <option value="chlorocebus_sabaeus">chlorocebus_sabaeus (Vervet-AGM) taxon_id: 60711</option> 78 <help>Each region is specifed as: chr or chr:pos or chr:from-to</help>
70 <option value="choloepus_hoffmanni">choloepus_hoffmanni (Sloth) taxon_id: 9358</option> 79 <validator type="regex" message="">^(\w+(:\d+(-\d+)?)?(,\w+(:\d+(-\d+)?)?)*)?$</validator>
71 <option value="ciona_intestinalis">ciona_intestinalis (C.intestinalis) taxon_id: 7719</option> 80 </param>
72 <option value="ciona_savignyi">ciona_savignyi (C.savignyi) taxon_id: 51511</option> 81 </when>
73 <option value="cricetulus_griseus_chok1gshd">cricetulus_griseus_chok1gshd (Chinese hamster CHOK1GS) taxon_id: 10029</option> 82 <when value="history_bed">
74 <option value="cricetulus_griseus_crigri">cricetulus_griseus_crigri (Chinese hamster CriGri) taxon_id: 10029</option> 83 <param name="input" type="data" format="bed" optional="true" label="A BED file with 12 columns"
75 <option value="danio_rerio">danio_rerio (Zebrafish) taxon_id: 7955</option> 84 help="thickStart and thickEnd define protein coding region, blocks define exon regions"/>
76 <option value="dasypus_novemcinctus">dasypus_novemcinctus (Armadillo) taxon_id: 9361</option> 85 <param name="biotypes" type="text" value="" optional="true" label="Restrict Feature translation to these biotypes" >
77 <option value="dipodomys_ordii">dipodomys_ordii (Kangaroo rat) taxon_id: 10020</option> 86 <expand macro="biotypes_help" />
78 <option value="drosophila_melanogaster">drosophila_melanogaster (Fruitfly) taxon_id: 7227</option> 87 </param>
79 <option value="echinops_telfairi">echinops_telfairi (Lesser hedgehog tenrec) taxon_id: 9371</option> 88 </when>
80 <option value="equus_caballus">equus_caballus (Horse) taxon_id: 9796</option> 89 </conditional>
81 <option value="erinaceus_europaeus">erinaceus_europaeus (Hedgehog) taxon_id: 9365</option> 90 <!--
82 <option value="felis_catus">felis_catus (Cat) taxon_id: 9685</option> 91 <conditional name="translations">
83 <option value="ficedula_albicollis">ficedula_albicollis (Flycatcher) taxon_id: 59894</option> 92 </conditional>
84 <option value="fukomys_damarensis">fukomys_damarensis (Damara mole rat) taxon_id: 885580</option> 93 -->
85 <option value="gadus_morhua">gadus_morhua (Cod) taxon_id: 8049</option>
86 <option value="gallus_gallus">gallus_gallus (Chicken) taxon_id: 9031</option>
87 <option value="gasterosteus_aculeatus">gasterosteus_aculeatus (Stickleback) taxon_id: 69293</option>
88 <option value="gorilla_gorilla">gorilla_gorilla (Gorilla) taxon_id: 9595</option>
89 <option value="heterocephalus_glaber_female">heterocephalus_glaber_female (Naked mole-rat female) taxon_id: 10181</option>
90 <option value="heterocephalus_glaber_male">heterocephalus_glaber_male (Naked mole-rat male) taxon_id: 10181</option>
91 <option value="ictidomys_tridecemlineatus">ictidomys_tridecemlineatus (Squirrel) taxon_id: 43179</option>
92 <option value="jaculus_jaculus">jaculus_jaculus (Lesser Egyptian jerboa) taxon_id: 51337</option>
93 <option value="latimeria_chalumnae">latimeria_chalumnae (Coelacanth) taxon_id: 7897</option>
94 <option value="lepisosteus_oculatus">lepisosteus_oculatus (Spotted gar) taxon_id: 7918</option>
95 <option value="loxodonta_africana">loxodonta_africana (Elephant) taxon_id: 9785</option>
96 <option value="macaca_mulatta">macaca_mulatta (Macaque) taxon_id: 9544</option>
97 <option value="meleagris_gallopavo">meleagris_gallopavo (Turkey) taxon_id: 9103</option>
98 <option value="mesocricetus_auratus">mesocricetus_auratus (Golden Hamster) taxon_id: 10036</option>
99 <option value="microcebus_murinus">microcebus_murinus (Mouse Lemur) taxon_id: 30608</option>
100 <option value="microtus_ochrogaster">microtus_ochrogaster (Prairie vole) taxon_id: 79684</option>
101 <option value="monodelphis_domestica">monodelphis_domestica (Opossum) taxon_id: 13616</option>
102 <option value="mus_caroli">mus_caroli (Ryukyu mouse) taxon_id: 10089</option>
103 <option value="mus_musculus_129s1svimj">mus_musculus_129s1svimj (Mouse 129S1/SvImJ) taxon_id: 10090</option>
104 <option value="mus_musculus_aj">mus_musculus_aj (Mouse A/J) taxon_id: 10090</option>
105 <option value="mus_musculus_akrj">mus_musculus_akrj (Mouse AKR/J) taxon_id: 10090</option>
106 <option value="mus_musculus_balbcj">mus_musculus_balbcj (Mouse BALB/cJ) taxon_id: 10090</option>
107 <option value="mus_musculus_c3hhej">mus_musculus_c3hhej (Mouse C3H/HeJ) taxon_id: 10090</option>
108 <option value="mus_musculus_c57bl6nj">mus_musculus_c57bl6nj (Mouse C57BL/6NJ) taxon_id: 10090</option>
109 <option value="mus_musculus_casteij">mus_musculus_casteij (Mouse CAST/EiJ) taxon_id: 10091</option>
110 <option value="mus_musculus_cbaj">mus_musculus_cbaj (Mouse CBA/J) taxon_id: 10090</option>
111 <option value="mus_musculus_dba2j">mus_musculus_dba2j (Mouse DBA/2J) taxon_id: 10090</option>
112 <option value="mus_musculus_fvbnj">mus_musculus_fvbnj (Mouse FVB/NJ) taxon_id: 10090</option>
113 <option value="mus_musculus_lpj">mus_musculus_lpj (Mouse LP/J) taxon_id: 10090</option>
114 <option value="mus_musculus_nodshiltj">mus_musculus_nodshiltj (Mouse NOD/ShiLtJ) taxon_id: 10090</option>
115 <option value="mus_musculus_nzohlltj">mus_musculus_nzohlltj (Mouse NZO/HlLtJ) taxon_id: 10090</option>
116 <option value="mus_musculus_pwkphj">mus_musculus_pwkphj (Mouse PWK/PhJ) taxon_id: 39442</option>
117 <option value="mus_musculus_wsbeij">mus_musculus_wsbeij (Mouse WSB/EiJ) taxon_id: 10092</option>
118 <option value="mus_pahari">mus_pahari (Shrew mouse) taxon_id: 10093</option>
119 <option value="mus_spretus_spreteij">mus_spretus_spreteij (Algerian mouse) taxon_id: 10096</option>
120 <option value="mustela_putorius_furo">mustela_putorius_furo (Ferret) taxon_id: 9669</option>
121 <option value="myotis_lucifugus">myotis_lucifugus (Microbat) taxon_id: 59463</option>
122 <option value="nannospalax_galili">nannospalax_galili (Upper Galilee mountains blind mole rat) taxon_id: 1026970</option>
123 <option value="nomascus_leucogenys">nomascus_leucogenys (Gibbon) taxon_id: 61853</option>
124 <option value="notamacropus_eugenii">notamacropus_eugenii (Wallaby) taxon_id: 9315</option>
125 <option value="ochotona_princeps">ochotona_princeps (Pika) taxon_id: 9978</option>
126 <option value="octodon_degus">octodon_degus (Degu) taxon_id: 10160</option>
127 <option value="oreochromis_niloticus">oreochromis_niloticus (Tilapia) taxon_id: 8128</option>
128 <option value="ornithorhynchus_anatinus">ornithorhynchus_anatinus (Platypus) taxon_id: 9258</option>
129 <option value="oryctolagus_cuniculus">oryctolagus_cuniculus (Rabbit) taxon_id: 9986</option>
130 <option value="oryzias_latipes">oryzias_latipes (Medaka) taxon_id: 8090</option>
131 <option value="otolemur_garnettii">otolemur_garnettii (Bushbaby) taxon_id: 30611</option>
132 <option value="ovis_aries">ovis_aries (Sheep) taxon_id: 9940</option>
133 <option value="pan_troglodytes">pan_troglodytes (Chimpanzee) taxon_id: 9598</option>
134 <option value="papio_anubis">papio_anubis (Olive baboon) taxon_id: 9555</option>
135 <option value="pelodiscus_sinensis">pelodiscus_sinensis (Chinese softshell turtle) taxon_id: 13735</option>
136 <option value="peromyscus_maniculatus_bairdii">peromyscus_maniculatus_bairdii (Northern American deer mouse) taxon_id: 230844</option>
137 <option value="petromyzon_marinus">petromyzon_marinus (Lamprey) taxon_id: 7757</option>
138 <option value="poecilia_formosa">poecilia_formosa (Amazon molly) taxon_id: 48698</option>
139 <option value="pongo_abelii">pongo_abelii (Orangutan) taxon_id: 9601</option>
140 <option value="procavia_capensis">procavia_capensis (Hyrax) taxon_id: 9813</option>
141 <option value="pteropus_vampyrus">pteropus_vampyrus (Megabat) taxon_id: 132908</option>
142 <option value="rattus_norvegicus">rattus_norvegicus (Rat) taxon_id: 10116</option>
143 <option value="saccharomyces_cerevisiae">saccharomyces_cerevisiae (Saccharomyces cerevisiae) taxon_id: 4932</option>
144 <option value="sarcophilus_harrisii">sarcophilus_harrisii (Tasmanian devil) taxon_id: 9305</option>
145 <option value="sorex_araneus">sorex_araneus (Shrew) taxon_id: 42254</option>
146 <option value="sus_scrofa">sus_scrofa (Pig) taxon_id: 9823</option>
147 <option value="taeniopygia_guttata">taeniopygia_guttata (Zebra Finch) taxon_id: 59729</option>
148 <option value="takifugu_rubripes">takifugu_rubripes (Fugu) taxon_id: 31033</option>
149 <option value="tetraodon_nigroviridis">tetraodon_nigroviridis (Tetraodon) taxon_id: 99883</option>
150 <option value="tupaia_belangeri">tupaia_belangeri (Tree Shrew) taxon_id: 37347</option>
151 <option value="tursiops_truncatus">tursiops_truncatus (Dolphin) taxon_id: 9739</option>
152 <option value="vicugna_pacos">vicugna_pacos (Alpaca) taxon_id: 30538</option>
153 <option value="xenopus_tropicalis">xenopus_tropicalis (Xenopus) taxon_id: 8364</option>
154 <option value="xiphophorus_maculatus">xiphophorus_maculatus (Platyfish) taxon_id: 8083</option>
155 94
156 </param> 95
157 <param name="biotypes" type="text" value="" optional="true" label="Restrict to these biotypes" >
158 <help><![CDATA[
159 Example biotypes:
160 protein_coding, non_coding, pseudogene, nonsense_mediated_decay, non_stop_decay,
161 translated_processed_pseudogene, transcribed_processed_pseudogene, transcribed_unitary_pseudogene, transcribed_unprocessed_pseudogene,
162 polymorphic_pseudogene, processed_pseudogene, unprocessed_pseudogene, unitary_pseudogene, processed_transcript,
163 retained_intron, ccds_gene, sense_overlapping, sense_intronic, cdna_update, antisense,
164 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,
165 IG_pseudogene, IG_C_pseudogene, IG_D_pseudogene, IG_J_pseudogene, IG_V_pseudogene, TR_J_pseudogene, TR_V_pseudogene, TEC,
166 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
167 ]]></help>
168 </param>
169 <param name="input" type="data" format="bed" optional="true" label="A BED file with 12 columns, thickStart and thickEnd define protein coding region"/>
170 <param name="translate_all" type="boolean" truevalue="--all" falsevalue="" checked="false" 96 <param name="translate_all" type="boolean" truevalue="--all" falsevalue="" checked="false"
171 label="Report all translations (Default is non reference protein sequences)"/> 97 label="Report all translations (Default is non reference protein sequences)"/>
172 <param name="transcript_raw" type="boolean" truevalue="--raw" falsevalue="" checked="true"
173 label="Keep extra columns from ensembl BED"/>
174 <param name="output_choice" type="select" multiple="true" display="checkboxes" label="Outputs"> 98 <param name="output_choice" type="select" multiple="true" display="checkboxes" label="Outputs">
175 <option value="transcript_bed">transcripts.bed</option> 99 <option value="transcript_bed">transcripts.bed</option>
176 <option value="translation_bed">translation.bed</option> 100 <option value="translation_bed">translation.bed</option>
177 <option value="translation_fasta">translation.fasta</option> 101 <option value="translation_fasta">translation.fasta</option>
178 </param> 102 </param>