7ca79b945accfbf1c5e435eac1e9e25c0d808272,prody/proteins/blastpdb.py,,blastPDB,#Any#Any#,13
Before Change
"SDHWSQNLSQFFPEAISFIDEARGKNCGVLVHSLAGISRSVTVTVAYLMQKLNLSMN"
"DAYDIVKMKKSNISPNFNFMGQLLDFERTL")
else:
try:
sequence = "".join(sequence.split())
_ = sequence.isalpha()
except AttributeError:
raise TypeError("sequence must be a string")
else:
if not _:
raise ValueError("not a valid protein sequence")
headers = {"User-agent": "ProDy"}
query = [("DATABASE", "pdb"), ("ENTREZ_QUERY", "(none)"),
("PROGRAM", "blastp"),]
After Change
sequence = sequence.select("calpha and chain %s" % chain).getSequence()
elif isinstance(sequence, Sequence):
sequence = str(sequence)
elif isinstance(sequence, str):
if len(sequence) == 4 or len(sequence) == 5:
ag = parsePDB(sequence)
sequence = ag.select("calpha and chain %s" % chain).getSequence()
else:
raise TypeError("seq must be an atomic class, sequence class, or str not {0}"
.format(type(sequence)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: prody/ProDy
Commit Name: 7ca79b945accfbf1c5e435eac1e9e25c0d808272
Time: 2018-02-19
Author: jamesmkrieger@gmail.com
File Name: prody/proteins/blastpdb.py
Class Name:
Method Name: blastPDB
Project Name: akkana/scripts
Commit Name: feb5a2fe3e6b32901b2ab80dd660d4c1640ba4aa
Time: 2019-06-28
Author: akkana@shallowsky.com
File Name: newreads.py
Class Name:
Method Name: lookup_books
Project Name: DistrictDataLabs/yellowbrick
Commit Name: ca14cf72e3e4bd3a6136cafad8701ac41f48f09b
Time: 2018-08-25
Author: davidwaterman@gmail.com
File Name: yellowbrick/cluster/elbow.py
Class Name: KElbowVisualizer
Method Name: __init__