biopython v1.71.0 Bio.SeqIO.SeqXmlIO.SeqXmlWriter

Writes SeqRecords into seqXML file.

SeqXML requires the sequence alphabet be explicitly RNA, DNA or protein, i.e. an instance or subclass of Bio.Alphapet.RNAAlphabet, Bio.Alphapet.DNAAlphabet or Bio.Alphapet.ProteinAlphabet.

Link to this section Summary

Functions

Create Object and start the xml generator

Write all database cross references

Write the description if given

Write all annotations that are key value pairs with values of a primitive type or list of primitive types

Write the sequence

Write the species if given

Close the root node and finish the XML document

Write root node with document metadata

Write one record

Link to this section Functions

Create Object and start the xml generator.

Link to this function _write_dbxrefs()

Write all database cross references.

Link to this function _write_description()

Write the description if given.

Link to this function _write_properties()

Write all annotations that are key value pairs with values of a primitive type or list of primitive types.

Write the sequence.

Note that SeqXML requires a DNA, RNA or protein alphabet.

Link to this function _write_species()

Write the species if given.

Close the root node and finish the XML document.

Write root node with document metadata.

Write one record.