Glycopeptide exampleΒΆ

>>> from pybio import Peptide, Glycan, Molecule

>>> # Immunoglobulin heavy constant gamma 1 (Homo sapiens)
>>> # P01857[176 - 184]
>>> peptide = Peptide("EEQYNSTYR")
>>> peptide
Peptide('EEQYNSTYR')
>>> # Major IgG1 Fc N-glycan
>>> G0F = Glycan(composition="H3N4F")
>>> G0F
Glycan(composition='H3N4F')
>>> # glycopeptide build
>>> glycopeptide = Molecule()
>>> glycopeptide.bonds[peptide, G0F] = "glycosidic"