Mercurial > repos > proteore > proteore_data_manager
comparison data_manager/resource_building.py @ 45:488e015576bc draft
"planemo upload commit ba867b8fa3352695fbda1ae764407f363ee79a50-dirty"
| author | proteore |
|---|---|
| date | Wed, 08 Jan 2020 15:15:16 +0000 |
| parents | 7ebbf851598e |
| children | 09d9fd9b2d8c |
comparison
equal
deleted
inserted
replaced
| 44:7ebbf851598e | 45:488e015576bc |
|---|---|
| 236 if os.path.exists(os.path.join(archive,nextprot_path.split("/")[-1])) : os.remove(os.path.join(archive,nextprot_path.split("/")[-1])) | 236 if os.path.exists(os.path.join(archive,nextprot_path.split("/")[-1])) : os.remove(os.path.join(archive,nextprot_path.split("/")[-1])) |
| 237 shutil.move(nextprot_path,archive) | 237 shutil.move(nextprot_path,archive) |
| 238 next_dict = {} | 238 next_dict = {} |
| 239 for nextid in nextprot_ids : | 239 for nextid in nextprot_ids : |
| 240 next_dict[nextid.replace("NX_","")] = nextid | 240 next_dict[nextid.replace("NX_","")] = nextid |
| 241 os.remove(os.path.join(target_directory,"nextprot_ac_list_all.txt")) | 241 #os.remove(os.path.join(target_directory,"nextprot_ac_list_all.txt")) |
| 242 | 242 |
| 243 #add missing nextprot ID | 243 #add missing nextprot ID |
| 244 for line in tab[1:] : | 244 for line in tab[1:] : |
| 245 uniprotID=line[0] | 245 uniprotID=line[0] |
| 246 nextprotID=line[14] | 246 nextprotID=line[14] |
