# HG changeset patch # User Jim Johnson # Date 1413918273 18000 # Node ID c6769a700e555fa5524368d2f0ea88f2974a5aa1 # Parent 5a01e5cfa6bcffe74984011f766001fdbf27b747 Update loc data to separate version 4 databases diff -r 5a01e5cfa6bc -r c6769a700e55 data_manager/data_manager_snpEff_databases.py --- a/data_manager/data_manager_snpEff_databases.py Mon Oct 20 13:17:12 2014 -0500 +++ b/data_manager/data_manager_snpEff_databases.py Tue Oct 21 14:04:33 2014 -0500 @@ -37,7 +37,7 @@ databases_output.close() try: data_manager_dict['data_tables'] = data_manager_dict.get( 'data_tables', {} ) - data_manager_dict['data_tables']['snpeff_databases'] = data_manager_dict['data_tables'].get( 'snpeff_databases', [] ) + data_manager_dict['data_tables']['snpeff4_databases'] = data_manager_dict['data_tables'].get( 'snpeff4_databases', [] ) data_table_entries = [] fh = open(databases_path,'r') for i,line in enumerate(fh): @@ -51,7 +51,7 @@ continue description = fields[1].strip() + ' : ' + genome_version data_table_entries.append(dict(value=genome_version, name=description)) - data_manager_dict['data_tables']['snpeff_databases'] = data_table_entries + data_manager_dict['data_tables']['snpeff4_databases'] = data_table_entries except Exception, e: stop_err( 'Error parsing %s %s\n' % (config,str( e )) ) else: diff -r 5a01e5cfa6bc -r c6769a700e55 data_manager/data_manager_snpEff_download.py --- a/data_manager/data_manager_snpEff_download.py Mon Oct 20 13:17:12 2014 -0500 +++ b/data_manager/data_manager_snpEff_download.py Tue Oct 21 14:04:33 2014 -0500 @@ -110,18 +110,18 @@ # if snpEffectPredictor.bin download succeeded name = genome_version + (' : ' + organism if organism else '') data_table_entry = dict(value=genome_version, name=name, path=data_dir) - _add_data_table_entry( data_manager_dict, 'snpeff_genomedb', data_table_entry ) + _add_data_table_entry( data_manager_dict, 'snpeff4_genomedb', data_table_entry ) else: m = re.match(regulation_pattern,fname) if m: name = m.groups()[0] data_table_entry = dict(genome=genome_version,value=name, name=name) - _add_data_table_entry( data_manager_dict, 'snpeff_regulationdb', data_table_entry ) + _add_data_table_entry( data_manager_dict, 'snpeff4_regulationdb', data_table_entry ) elif fname in annotations_dict: value = annotations_dict[fname] name = value.lstrip('-') data_table_entry = dict(genome=genome_version,value=value, name=name) - _add_data_table_entry( data_manager_dict, 'snpeff_annotations', data_table_entry ) + _add_data_table_entry( data_manager_dict, 'snpeff4_annotations', data_table_entry ) return data_manager_dict def _add_data_table_entry( data_manager_dict, data_table, data_table_entry ): diff -r 5a01e5cfa6bc -r c6769a700e55 data_manager/data_manager_snpEff_download.xml --- a/data_manager/data_manager_snpEff_download.xml Mon Oct 20 13:17:12 2014 -0500 +++ b/data_manager/data_manager_snpEff_download.xml Tue Oct 21 14:04:33 2014 -0500 @@ -28,7 +28,7 @@ - + @@ -46,13 +46,13 @@ - + - - - + + + diff -r 5a01e5cfa6bc -r c6769a700e55 data_manager_conf.xml --- a/data_manager_conf.xml Mon Oct 20 13:17:12 2014 -0500 +++ b/data_manager_conf.xml Tue Oct 21 14:04:33 2014 -0500 @@ -1,7 +1,7 @@ - + @@ -9,27 +9,27 @@ - + - snpEff/data + snpEff/v4/data - ${GALAXY_DATA_MANAGER_DATA_PATH}/snpEff/data + ${GALAXY_DATA_MANAGER_DATA_PATH}/snpEff/v4/data abspath - + - + diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff4_annotations.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/snpeff4_annotations.loc.sample Tue Oct 21 14:04:33 2014 -0500 @@ -0,0 +1,5 @@ +## Regulation Databases for SnpEff +## These are from the list on: http://snpeff.sourceforge.net/download.html +#genome annotation_name description +#GRCh37.71 nextprot nextprot +#GRCh37.71 motif motif diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff4_databases.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/snpeff4_databases.loc.sample Tue Oct 21 14:04:33 2014 -0500 @@ -0,0 +1,5 @@ +## Available Databases for SnpEff +## These are from the list on: http://snpeff.sourceforge.net/download.html +## the Description field in this sample is "Genome : Version" +#Version Description +#GRCh37.68 Homo sapiens : GRCh37.68 diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff4_genomedb.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/snpeff4_genomedb.loc.sample Tue Oct 21 14:04:33 2014 -0500 @@ -0,0 +1,5 @@ +## Downloaded Databases for SnpEff +## These are from the list on: http://snpeff.sourceforge.net/download.html +## the Description field in this sample is "Genome : Version" +#Version Description data_dir path +#GRCh37.68 Homo sapiens : GRCh37.68 /home/galaxy/snpEff/data diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff4_regulationdb.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/snpeff4_regulationdb.loc.sample Tue Oct 21 14:04:33 2014 -0500 @@ -0,0 +1,4 @@ +## Regulation Databases for SnpEff +## These are from the list on: http://snpeff.sourceforge.net/download.html +#genome regulation_name description +#GRCh37.70 CD4 CD4 diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff_annotations.loc.sample --- a/tool-data/snpeff_annotations.loc.sample Mon Oct 20 13:17:12 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -## Regulation Databases for SnpEff -## These are from the list on: http://snpeff.sourceforge.net/download.html -#genome annotation_name description -#GRCh37.71 nextprot nextprot -#GRCh37.71 motif motif diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff_databases.loc.sample --- a/tool-data/snpeff_databases.loc.sample Mon Oct 20 13:17:12 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -## Available Databases for SnpEff -## These are from the list on: http://snpeff.sourceforge.net/download.html -## the Description field in this sample is "Genome : Version" -#Version Description -#GRCh37.68 Homo sapiens : GRCh37.68 diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff_genomedb.loc.sample --- a/tool-data/snpeff_genomedb.loc.sample Mon Oct 20 13:17:12 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -## Downloaded Databases for SnpEff -## These are from the list on: http://snpeff.sourceforge.net/download.html -## the Description field in this sample is "Genome : Version" -#Version Description data_dir path -#GRCh37.68 Homo sapiens : GRCh37.68 /home/galaxy/snpEff/data diff -r 5a01e5cfa6bc -r c6769a700e55 tool-data/snpeff_regulationdb.loc.sample --- a/tool-data/snpeff_regulationdb.loc.sample Mon Oct 20 13:17:12 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -## Regulation Databases for SnpEff -## These are from the list on: http://snpeff.sourceforge.net/download.html -#genome regulation_name description -#GRCh37.70 CD4 CD4 diff -r 5a01e5cfa6bc -r c6769a700e55 tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Mon Oct 20 13:17:12 2014 -0500 +++ b/tool_data_table_conf.xml.sample Tue Oct 21 14:04:33 2014 -0500 @@ -1,19 +1,19 @@ - +
value, name - +
- +
value, name, path - +
- +
genome, value, name - +
- +
genome, value, name - +