to String
Returns a string summary of the ProteinSeqRecord. Uses the representational string version of the sequence.
from Bio.Seq import Seq from Bio.Seq import ProteinSeqRecord val record = ProteinSeqRecord(ProteinSeq("MHQA"), "1", "seq1", "the first sequence") print(record) ID: 1 Name: seq1 Description: the first sequence Sequence: MHQA