Mercurial > repos > dchristiany > data_manager_proteore
diff data_manager/resource_building.py @ 12:60cb0a5ae661 draft
planemo upload commit e5e768b479ddc6b36270a1b5b0443a4c80d693bc-dirty
author | dchristiany |
---|---|
date | Tue, 23 Oct 2018 08:18:32 -0400 |
parents | 2f153b41b6fe |
children | a1530507fee4 |
line wrap: on
line diff
--- a/data_manager/resource_building.py Tue Oct 23 08:00:49 2018 -0400 +++ b/data_manager/resource_building.py Tue Oct 23 08:18:32 2018 -0400 @@ -52,7 +52,7 @@ tissue_id = tissue_name.replace(" ","_").replace("/","-") data_table_entry = dict(id=tissue_id, name = tissue_name, value = tissue, path = path) - _add_data_table_entry(data_manager_dict, data_table_entry, "protein_atlas") + _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_protein_atlas") ####################################################################################################### @@ -90,7 +90,7 @@ w.writerows(uni_dict.items()) data_table_entry = dict(id=tissue_id, name=tissue_name, value = path, tissue = tissue) - _add_data_table_entry(data_manager_dict, data_table_entry, "peptide_atlas") + _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_peptide_atlas") #function to count the number of observations by uniprot id def build_dictionary (csv) : @@ -221,7 +221,7 @@ id = species+"_id_mapping_"+ time.strftime("%d-%m-%Y") data_table_entry = dict(id=id, name = name, value = species, path = path) - _add_data_table_entry(data_manager_dict, data_table_entry, "id_mapping") + _add_data_table_entry(data_manager_dict, data_table_entry, "proteore_id_mapping") def download_from_uniprot_ftp(file,target_directory) : ftp_dir = "pub/databases/uniprot/current_release/knowledgebase/idmapping/by_organism/"