Skip to content
dstoeckel edited this page Mar 16, 2015 · 2 revisions

How to added caps to a peptide?

BALL offers an PeptidCapProcessor that adds caps (ACE front, back NME) to a peptide.

Python

import BALL

pb = BALL.PeptideBuilder("ARNDHPKLR")
db = BALL.FragmentDB("")
pb.setFragmentDB(db)
prot = pb.construct()
print prot.countAtoms()
pep = BALL.PeptidCapProcessor()
prot= pb.construct()
prot.apply(pep)
prot.countAtoms()
Clone this wiki locally