9355ea209c2664ee3c2565431f50b960816ea59a,prody/proteins/pdbclusters.py,,listPDBCluster,#Any#Any#Any#,63
Before Change
pdb_ch = pdb.upper() + "_" + ch.upper()
index = clusters.index(pdb_ch)
maxlen = clusters.index("\n")
end = clusters.find("\n", index)
start = clusters.rfind("\n", index-maxlen, end)+1
cluster = clusters[start:end]
return [tuple(item.split("_")) for item in cluster.split()]
def fetchPDBClusters(sqid=None):
After Change
clusters = PDB_CLUSTERS[sqid]
pdb_ch = (pdb.upper(), ch)
for cluster in clusters:
if pdb_ch in cluster:
return cluster
return
def fetchPDBClusters(sqid=None):
Retrieve PDB sequence clusters. PDB sequence clusters are results of
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: prody/ProDy
Commit Name: 9355ea209c2664ee3c2565431f50b960816ea59a
Time: 2019-11-19
Author: shz66@pitt.edu
File Name: prody/proteins/pdbclusters.py
Class Name:
Method Name: listPDBCluster
Project Name: THUNLP-MT/THUMT
Commit Name: 051bd416d3c41002f6d58b9dd71516a27243d178
Time: 2017-11-11
Author: playinf@stu.xmu.edu.cn
File Name: thumt/launcher/translator.py
Class Name:
Method Name: main
Project Name: THUNLP-MT/THUMT
Commit Name: 051bd416d3c41002f6d58b9dd71516a27243d178
Time: 2017-11-11
Author: playinf@stu.xmu.edu.cn
File Name: thumt/launcher/ensemble_translator.py
Class Name:
Method Name: main