src/filament/endsites.jl

MEDYAN.FilamentEndSiteMask

Filament end site that matches monomer states using per-position bitmasks.

This is the end-site analog of FilamentSiteMask: each position in the pattern has a StateBitMask specifying which MonomerState values are acceptable.

The pattern order is always from minus end toward plus end, regardless of which tip (isminusend) is being matched.

If both_ends is true, the pattern must match the entire filament: the filament must have exactly length(masks) monomers, so both ends are anchored.

  • isminusend::Bool
  • masks::Vector{NTuple{4, UInt64}}
  • spacing::Float64
  • added_monomers::Int64
  • both_ends::Bool