Mercurial > repos > dchristiany > data_manager_proteore_test
comparison data_manager/resource_building.py @ 1:d98f0163932b draft
planemo upload commit e5e768b479ddc6b36270a1b5b0443a4c80d693bc-dirty
author | dchristiany |
---|---|
date | Tue, 23 Oct 2018 05:06:49 -0400 |
parents | 55efb19f0b34 |
children |
comparison
equal
deleted
inserted
replaced
0:55efb19f0b34 | 1:d98f0163932b |
---|---|
49 path = os.path.join(target_directory, output_file) | 49 path = os.path.join(target_directory, output_file) |
50 unzip(url, path) #download and save file | 50 unzip(url, path) #download and save file |
51 tissue_name = tissue_name + " " + time.strftime("%d/%m/%Y") | 51 tissue_name = tissue_name + " " + time.strftime("%d/%m/%Y") |
52 tissue_id = tissue_name.replace(" ","_").replace("/","-") | 52 tissue_id = tissue_name.replace(" ","_").replace("/","-") |
53 | 53 |
54 data_table_entry = dict(id=tissue_id, name = tissue_name, value = tissue, , path = path) | 54 data_table_entry = dict(id=tissue_id, name = tissue_name, value = tissue, path = path) |
55 _add_data_table_entry(data_manager_dict, data_table_entry, "protein_atlas") | 55 _add_data_table_entry(data_manager_dict, data_table_entry, "protein_atlas") |
56 | 56 |
57 | 57 |
58 ####################################################################################################### | 58 ####################################################################################################### |
59 # 2. Peptide Atlas | 59 # 2. Peptide Atlas |