7ce77f195f86744f06b9544c2b124c86d13df608,prody/database/pfam.py,,parsePfamPDBs,#,417
Before Change
os.system("gunzip pdbmap.gz")
data_file = open("pdbmap", "r")
data = data_file.readlines()
data_file.close()
fields = ["PDB_ID", "chain", "nothing", "PFAM_Name", "PFAM_ACC", "UniprotID", "PdbRange"]
After Change
ftp.quit()
data_file.close()
with gzip.open("pdbmap.gz", "rb") as f:
data = f.read()
fields = ["PDB_ID", "chain", "nothing", "PFAM_Name", "PFAM_ACC", "UniprotID", "PdbRange"]
data_dicts = []
for line in data:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: prody/ProDy
Commit Name: 7ce77f195f86744f06b9544c2b124c86d13df608
Time: 2018-04-18
Author: jamesmkrieger@gmail.com
File Name: prody/database/pfam.py
Class Name:
Method Name: parsePfamPDBs
Project Name: Featuretools/featuretools
Commit Name: adfe173afdcb2a10f02f2b2ff1ec103691442539
Time: 2018-12-03
Author: inboxjeff@outlook.com
File Name: setup.py
Class Name:
Method Name:
Project Name: NervanaSystems/nlp-architect
Commit Name: 4d8cca40654deb641809bf8fb376afd9b1633d52
Time: 2019-03-31
Author: daniel.korat@intel.com
File Name: nlp_architect/data/cdc_resources/gen_scripts/create_word_embed_glove_dump.py
Class Name:
Method Name: load_glove_for_vocab