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()