Interactions
MembraneAnalysis.count_interactions
— Functioncount_interactions(;
pdb_file,
traj_file,
fs_file,
output_file,
lipids,
donors=[(lipid, lipid.head_atom) for lipid in lipids],
acceptors=[(lipid, "PO4") for lipid in lipids],
cutoff=6.0)
Counting the number of interactions (such as H-bonds) defined as a donor lipid atom being closer than the cutoff to a acceptor lipid atom. Saves the results in an HDF5 file with the label tag
.
Keyword arguments
pdb_file
: PDB structure file;traj_files
: a list of trajectory files;fs_files
: a list of corresponding HDF5 fluctuation spectrum files of the trajectory files;output_file
: output directory;lipids
: a list of lipids of typeLipid
as defined inlipids.jl
;donors
: list of tuples of lipids (from typeLipid
) and atoms to be considered as interaction donors;acceptors
: list of tuples of lipids (from typeLipid
) and atoms to be considered as interaction acceptors;cutoff
: interaction distance cutoff.