prolint2.computers.contacts#
- Authors:
Daniel P. Ramirez & Besian I. Sejdiu
- Year:
2022
- Copyright:
MIT License
- class prolint2.computers.contacts.SerialContacts(universe, query, database, cutoff=7.0, **kwargs)[source]#
Class to get the distance-based contacts starting from two AtomGroups using a serial approach.
It inherits from the MDAnalysis AnalysisBase class.
- Parameters:
universe (MDAnalysis.Universe) β The MDAnalysis Universe object.
query (MDAnalysis.AtomGroup) β AtomGroup representing the query.
database (MDAnalysis.AtomGroup) β AtomGroup representing the database.
cutoff (float) β The distance cutoff (default from parameters_config).
kwargs (dict) β Additional keyword arguments.
prolint2.computers.distances#
- Authors:
Daniel P. Ramirez & Besian I. Sejdiu
- Year:
2022
- Copyright:
MIT License
- class prolint2.computers.distances.SerialDistances(universe, query, database, lipid_id, residue_id, frame_filter, **kwargs)[source]#
Class to get the distance-based contacts starting from two AtomGroups using a serial approach.
It inherits from the MDAnalysis AnalysisBase class.
- Parameters:
universe (MDAnalysis.Universe) β The MDAnalysis Universe.
query (MDAnalysis.AtomGroup) β AtomGroup to query.
database (MDAnalysis.AtomGroup) β AtomGroup to use as the database.
lipid_id (int) β Residue ID for the lipid group.
residue_id (int) β Residue ID for the query group.
frame_filter (list) β List of frame indices to analyze.
kwargs (dict) β Additional keyword arguments.
- class prolint2.computers.distances.TwoPointDistances(universe, query, database, lipid_id, residue_id, lipid_sel=None, residue_sel=None, unit='frame', **kwargs)[source]#
Initialize the TwoPointDistances analysis.
- Parameters:
universe (MDAnalysis.Universe) β The molecular dynamics universe.
query (MDAnalysis.AtomGroup) β The query object for comparison.
database (MDAnalysis.AtomGroup) β The database object for comparison.
lipid_id (int) β The ID of the lipid to consider.
residue_id (int) β The ID of the residue to consider.
lipid_sel (str) β The optional selection for the lipid atom.
residue_sel (str) β The optional selection for the residue atom.
unit (str) β The unit for calculating distances (βframeβ or βtimeβ).
**kwargs β
Additional keyword arguments.
This method sets up the analysis and initializes necessary attributes.