Mercurial > repos > iuc > data_manager_gemini_database_downloader
changeset 6:f57426daa04d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_gemini_database_downloader commit 62ed732cba355e695181924a8ed4cce49ca21c59
author | iuc |
---|---|
date | Fri, 11 Jan 2019 17:33:55 -0500 |
parents | b4b2b284230a |
children | 5bcf0e24f42c |
files | data_manager/data_manager_gemini_download.py data_manager/data_manager_gemini_download.xml |
diffstat | 2 files changed, 19 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/data_manager/data_manager_gemini_download.py Wed Dec 19 12:36:22 2018 -0500 +++ b/data_manager/data_manager_gemini_download.py Fri Jan 11 17:33:55 2019 -0500 @@ -51,6 +51,19 @@ config['annotation_dir'] = 'gemini/data' write_gemini_config(config, config_file) + # The name of the database should reflect whether it was built with or + # without the optional GERP-bp data, the CADD scores, or both. + # This builds up the correpsonding part of the name: + anno_extras = [] + if params['param_dict']['gerp_bp']: + anno_extras.append('GERP') + if params['param_dict']['cadd']: + anno_extras.append('CADD') + if anno_extras: + anno_desc = ' w/ ' + ' & '.join(anno_extras) + else: + anno_desc = '' + # Finally, we prepare the metadata for the new data table record ... data_manager_dict = { 'data_tables': { @@ -60,7 +73,9 @@ 'dbkey': 'hg19', 'version': params['param_dict']['gemini_db_version'], 'name': - 'GEMINI annotations (%s snapshot)' % today.isoformat(), + 'GEMINI annotations%s (%s snapshot)' % ( + anno_desc, today.isoformat() + ), 'path': './%s' % today.isoformat() } ]
--- a/data_manager/data_manager_gemini_download.xml Wed Dec 19 12:36:22 2018 -0500 +++ b/data_manager/data_manager_gemini_download.xml Fri Jan 11 17:33:55 2019 -0500 @@ -1,8 +1,8 @@ -<tool id="data_manager_gemini_download" name="GEMINI Download" version="@VERSION@.1" tool_type="manage_data"> +<tool id="data_manager_gemini_download" name="GEMINI Download" version="@VERSION@" tool_type="manage_data"> <description>the annotation files required by the GEMINI suite of tools</description> <macros> - <token name="@VERSION@">0.18.1</token> - <token name="@DB_VERSION@">181</token> + <token name="@VERSION@">0.20.1</token> + <token name="@DB_VERSION@">200</token> </macros> <requirements> <requirement type="package" version="@VERSION@">gemini</requirement>