-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hey,
I really want to use your tool, because it looks so convenient (and open source which I love). While installing I was only able to get pycontact to work with mdanalysis 0.20.1, because everytime I used the newer version 2.7, I would run into various problems (I was able to fix the MDAnalysis.core.Selection error myself, but even then, there was still a File "/home/friederike/anaconda3/lib/python3.9/site-packages/PyContact/core/aroundPatch.py", line 14, in class AroundSelection(DistanceSelection): NameError: name 'DistanceSelection' is not defined error). The problem now is, I can't get my files to be loaded in pycontact. I tried to run
>>> import MDAnalysis as mda
>>> u = mda.Universe("md_1.tpr")
/home/friederike/.local/lib/python3.10/site-packages/MDAnalysis/core/universe.py:147: UserWarning: No coordinate reader found for md_1.tpr. Skipping this file.
warnings.warn('No coordinate reader found for {}. Skipping '
>>> print(u.segments)
<SegmentGroup [<Segment seg_0_Protein_chain_A>, <Segment seg_1_Protein_chain_B>, <Segment seg_2_SOL>]>
But this only works in mdanalysis 2.7, otherwise it will give me this error:
NotImplementedError: Your tpx version is 129, which this parser does not support, yet
I used segid seg_0_Protein_chain_A and segid seg_1_Protein_chain_B for the identifiers, my md_1.trp and the corresponding xtc file for pycontact, but I always get the error loading data message. Is it because I made a mistake with the seqids or because mdanalysis 0.20 can't actually read tpx v 129 files?
Thank you so much in advance!!
Best
Frida