markovmodel / PyEMMA

🚂 Python API for Emma's Markov Model Algorithms 🚂
http://pyemma.org
GNU Lesser General Public License v3.0
306 stars 119 forks source link

TICA on backbone atoms #1583

Open qasimpars opened 1 year ago

qasimpars commented 1 year ago

Hi,

I am trying to do TICA on backbone atoms but I couldn't find the commands for that. Could please tell me how I can do the TICA only on backbone atoms? Do the following commands do the TICA on backbone torsions?

arrays = []
feat = pyemma.coordinates.featurizer(pdb)
feat.add_backbone_torsions()
data = pyemma.coordinates.load(files, features=feat)

Regards

clonker commented 1 year ago

The snipped you posted extracts backbone torsions from trajectory files. This data can be passed into TICA through the corresponding API.

qasimpars commented 1 year ago

Hi,

I want to do TICA on the distances of backbone atoms not on backbone torsions. Is that possible? If yes, how can I do that?

Best,

clonker commented 1 year ago

Ah right. It is possible, you have to select the appropriate atoms and compute distances on them through a featurizer. Please see this tutorial.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.