MEDYAN.chem_depolymerize!

Tuple{MEDYAN.Context, Int64, Int64, Bool}

chem_depolymerize!(c::Context, ftid, fid, isminusend::Bool)

Remove a monomer from the end of the filament with type id ftid and id fid.

If isminusend is true remove the monomer from the minus end of the filament, if false remove it from the plus end of the filament.

This doesn’t affect the other monomer states, positions, linked link_2mons, or change any of the monomer names.

Error if the filament isn’t initially over 2 monomers long.

Warn if the old end monomer is referenced in a link2mon, and remove the link2mon.

The warning can be disabled by passing keyword argument warniflink_2mon_removed=false