cobot-io-0.1.4.4: Biological data file formats and IO
Safe HaskellNone
LanguageHaskell2010

Bio.Structure.Functions

Synopsis

Documentation

filterAtomsOfModel :: (Atom -> Bool) -> Model -> Model Source #

Takes predicate on Atoms of Model and returns new Model containing only atoms satisfying given predicate.

chain :: Traversal' Model Chain Source #

Traversal for every Chain of the Model.

globalBond :: Traversal' Model (Bond GlobalID) Source #

Traversal for every Bond of the Model.

residue :: Traversal' Chain Residue Source #

Traversal for every Residue of the Chain.

atom :: Traversal' Residue Atom Source #

Traversal for every Atom of the Residue.

localBond :: Traversal' Residue (Bond LocalID) Source #

Traversal for every Bond of the Residue.

renameChains :: Model -> Map Text Text -> Model Source #

Rename chains of a given model according to the given mapping. If chain is not present in the mapping then its name won't be changed.