7ca79b945accfbf1c5e435eac1e9e25c0d808272,prody/proteins/blastpdb.py,,blastPDB,#Any#Any#,13

Before Change



    if kwargs:
        LOGGER.warn("Keyword argument(s) {0} are not used."
                    .format(", ".join([repr(key) for key in kwargs])))

    try:
        import urllib.parse

After Change


        sequence = ("ASFPVEILPFLYLGCAKDSTNLDVLEEFGIKYILNVTPNLPNLFENAGEFKYKQIPI"
                    "SDHWSQNLSQFFPEAISFIDEARGKNCGVLVHSLAGISRSVTVTVAYLMQKLNLSMN"
                    "DAYDIVKMKKSNISPNFNFMGQLLDFERTL")
    elif isinstance(sequence, Atomic):
        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()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: brian-team/brian2
Commit Name: a1a0d2e3010f8ade39317709a684bd431d5eef3c
Time: 2014-10-02
Author: marcel.stimberg@ens.fr
File Name: brian2/units/fundamentalunits.py
Class Name: Quantity
Method Name: in_unit


Project Name: acl-org/acl-anthology
Commit Name: 9773c6f25c3f526e3ac9b1d40a908b3cc9d67c51
Time: 2019-02-28
Author: bollmann@linguistics.rub.de
File Name: bin/anthology/people.py
Class Name: PersonIndex
Method Name: register