# HG changeset patch # User proteore # Date 1557238668 14400 # Node ID 026177e4ff4bef5a53e0714e10d8def234aebf69 # Parent 29cf75c836183f167c474af4b66eafbdcee16c81 planemo upload commit e05ccbf13c33b97ab441e2f8bc4b5bc746a378df-dirty diff -r 29cf75c83618 -r 026177e4ff4b data_manager/resource_building.py --- a/data_manager/resource_building.py Tue May 07 08:37:17 2019 -0400 +++ b/data_manager/resource_building.py Tue May 07 10:17:48 2019 -0400 @@ -242,9 +242,10 @@ name_dict={"Human" : "Homo sapiens", "Mouse" : "Mus musculus", "Rat" : "Rattus norvegicus"} name = species +" (" + name_dict[species]+" "+time.strftime("%d/%m/%Y")+")" - id = str(10000000000 - int(time.strftime("%d%m%Y"))) + release = species+"_id_mapping_"+ time.strftime("%d-%m-%Y") + id = str(10000000000 - int(time.strftime("%d%m%Y"))) #new ids must be inferior to previous id -> sort by in xml only in descending order - data_table_entry = dict(id=id, name = name, species = species, value = path) + data_table_entry = dict(id=id, release=release , name = name, species = species, value = path) _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_id_mapping_"+species) def download_from_uniprot_ftp(file,target_directory) : diff -r 29cf75c83618 -r 026177e4ff4b data_manager/resource_building.xml --- a/data_manager/resource_building.xml Tue May 07 08:37:17 2019 -0400 +++ b/data_manager/resource_building.xml Tue May 07 10:17:48 2019 -0400 @@ -1,4 +1,4 @@ - + to create or update reference files for proteore tools diff -r 29cf75c83618 -r 026177e4ff4b data_manager_conf.xml --- a/data_manager_conf.xml Tue May 07 08:37:17 2019 -0400 +++ b/data_manager_conf.xml Tue May 07 10:17:48 2019 -0400 @@ -47,6 +47,7 @@ + @@ -54,7 +55,7 @@ id_mapping/ - ${GALAXY_DATA_MANAGER_DATA_PATH}/id_mapping/${id}.tsv + ${GALAXY_DATA_MANAGER_DATA_PATH}/id_mapping/${release}.tsv abspath @@ -62,6 +63,7 @@ + @@ -69,7 +71,7 @@ id_mapping/ - ${GALAXY_DATA_MANAGER_DATA_PATH}/id_mapping/${id}.tsv + ${GALAXY_DATA_MANAGER_DATA_PATH}/id_mapping/${release}.tsv abspath @@ -77,6 +79,7 @@ + @@ -84,7 +87,7 @@ id_mapping/ - ${GALAXY_DATA_MANAGER_DATA_PATH}/id_mapping/${id}.tsv + ${GALAXY_DATA_MANAGER_DATA_PATH}/id_mapping/${release}.tsv abspath diff -r 29cf75c83618 -r 026177e4ff4b tool-data/proteore_id_mapping_Human.loc.sample --- a/tool-data/proteore_id_mapping_Human.loc.sample Tue May 07 08:37:17 2019 -0400 +++ b/tool-data/proteore_id_mapping_Human.loc.sample Tue May 07 10:17:48 2019 -0400 @@ -1,3 +1,3 @@ #This file lists the locations of reference file for id_converter tool -# -#human_id_mapping_01-01-2018 Human (homo sapiens) human_id_mapping tool-data/human_id_mapping.tsv +# +#9979819899 human_id_mapping_01-01-2018 Human (homo sapiens) human_id_mapping tool-data/human_id_mapping.tsv diff -r 29cf75c83618 -r 026177e4ff4b tool-data/proteore_id_mapping_Mouse.loc.sample --- a/tool-data/proteore_id_mapping_Mouse.loc.sample Tue May 07 08:37:17 2019 -0400 +++ b/tool-data/proteore_id_mapping_Mouse.loc.sample Tue May 07 10:17:48 2019 -0400 @@ -1,3 +1,3 @@ #This file lists the locations of reference file for id_converter tool -# -#mouse_id_mapping_01-01-2018 Mouse (Mus musculus) mouse_id_mapping tool-data/mouse_id_mapping.tsv +# +#9979819899 mouse_id_mapping_01-01-2018 Mouse (Mus musculus) mouse_id_mapping tool-data/mouse_id_mapping.tsv diff -r 29cf75c83618 -r 026177e4ff4b tool-data/proteore_id_mapping_Rat.loc.sample --- a/tool-data/proteore_id_mapping_Rat.loc.sample Tue May 07 08:37:17 2019 -0400 +++ b/tool-data/proteore_id_mapping_Rat.loc.sample Tue May 07 10:17:48 2019 -0400 @@ -1,3 +1,3 @@ #This file lists the locations of reference file for id_converter tool -# -#rat_id_mapping_01-01-2018 Rat (Rattus norvegicus) rat_id_mapping tool-data/rat_id_mapping.tsv +# +#9979819899 rat_id_mapping_01-01-2018 Rat (Rattus norvegicus) rat_id_mapping tool-data/rat_id_mapping.tsv diff -r 29cf75c83618 -r 026177e4ff4b tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Tue May 07 08:37:17 2019 -0400 +++ b/tool_data_table_conf.xml.sample Tue May 07 10:17:48 2019 -0400 @@ -13,15 +13,15 @@ - id, name, species, value + id, release, name, species, value
- id, name, species, value + id, release, name, species, value
- id, name, species, value + id, release, name, species, value