Mercurial > repos > mahtabm > ensembl
view variant_effect_predictor/variant_effect_predictor.xml @ 2:a5976b2dce6f
changing defualt values for ensembl database
author | mahtabm |
---|---|
date | Thu, 11 Apr 2013 17:15:42 +1000 |
parents | 1f6dce3d34e0 |
children |
line wrap: on
line source
<tool id="ensembl" name="ENSEMBL variant effect predictor"> <description>to annotate variants using an ENSEMBL database</description> <command interpreter="perl"> variant_effect_predictor.pl -i=$input -o=$output -species=$species --sift b --polyphen b #if $database_options.database_options_selector == "advanced" --host=$database_options.host --user=$database_options.username --port=$database_options.portnum #if $database_options.password --password=$database_options.password #end if #else ## hardcoded default values - bad? --host=ensembldb.ensembl.org --user=anonymous --port=5306 #end if </command> <inputs> <param format="vcf" name="input" type="data" label="Input variants file" help="This should be a variant file in vcf format."/> <!-- TODO: allow other variant format types? --> <param name="species" label="Name of the species being annotated" type="text" Default ="human" help="Species for your data. This can be the latin name e.g. 'human' or any Ensembl alias e.g. 'mouse'. Specifying the latin name can speed up initial database connection as the registry does not have to load all available database aliases on the server."/> <!-- TODO: files in galaxy have a reference genome specified. We should probaby try to use that instead. --> <conditional name="database_options"> <param name="database_options_selector" type="select" label="Database Options"> <option value="basic" selected="True">Use Default Database</option> <option value="advanced">Choose Database Manually</option> </param> <when value="basic"> <!-- no options --> </when> <when value="advanced"> <param name="host" label="Database host address" type="text" default="ensembldb.ensembl.org" help="By default connects to ensembldb.ensembl.org"/> <!-- TODO: may want a drop-down list with the main EMBL database listed too and with an other field --> <param name="username" label="Username" Default="anonymous" type="text" help="Default='anonymous'"/> <param name="password" label="Password, if required" Default="" type="text" help="Most public ENSEMBL databases do not require a password for access"/> <param name="portnum" label="Database port" type="text" Default="5306" help="The default is 5306."/> </when> </conditional> </inputs> <outputs> <!-- TODO: Can we optionally make it vcf? --> <data format="tabular" name="output" label="${tool.name} on ${on_string}"/> </outputs> <help> This tool connects to the ENSEMBL database using ENSEMBL's Variant Effect Predictor script and retrieves annotations for an input variants file. </help> </tool>