biopython v1.71.0 Bio.SeqIO.UniprotIO

Bio.SeqIO support for the “uniprot-xml” file format.

See Also: http://www.uniprot.org

The UniProt XML format essentially replaces the old plain text file format originally introduced by SwissProt (“swiss” format in Bio.SeqIO).

Link to this section Summary

Functions

Generator function to parse UniProt XML as SeqRecord objects

Link to this section Functions

Link to this function UniprotIterator()

Generator function to parse UniProt XML as SeqRecord objects.

parses an XML entry at a time from any UniProt XML file returns a SeqRecord for each iteration

This generator can be used in Bio.SeqIO

return_raw_comments = True —> comment fields are returned as complete XML to allow further processing skip_parsing_errors = True —> if parsing errors are found, skip to next entry