-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different visualization area in a view of pymol3d in the tutorial #228
Comments
Hi @xavgit They should be of the same size, have you tried just specifying a smaller size for the view? By default it's |
Hi, df = fp.to_dataframe(index_col="Pose") how it is possible to get only the list of the interacting residues Thanks. Saverio |
Hi, from prolif.plotting.complex3d import Complex3D pose_index = 0 pose_index = 4 view = comp3D.compare(other_comp3D , size = ( 800 , 500 ) ) The result is the same or similar with the browser in full screen. Thanks. Saverio |
Regarding the view size I really don't know what to say, have you tried with a different browser? For your question around extracting the list of residues: # for all poses combined
df.columns.get_level_values("protein").unique().to_list()
# for a specific pose
pose_num = 1
(pose := df.iloc[pose_num])[pose].index.get_level_values("protein").unique() |
@xavgit did you find any solution to this on your side? Just to know if I can close this issue or not |
Hi, For the instructions ,having added a .toList() as in the first example provided by you , What I've done. pose_num = 1 DB00496 DB00497 The above exception was the direct cause of the following exception: Traceback (most recent call last): where All Poses is for df.columns.get_level_values("protein").unique().to_list() For the: I've printed the dataframe of the molecule for which there is the error. $ ./inspect_pkl_file.py ifpg_df_DB00497_docking_res_ad4_sf.pkl ligand ligand Any suggestion? Thanks. Saverio The .pkl if you want to inspect it. |
I think this happens when all the poses hit the exact same residues (so only the count changes, and there's no In When this happens the output for each pose is the same as for "all poses combined" (i.e. |
Hi, Saverio |
Hi,
in the tutorial for the section https://prolif.readthedocs.io/en/stable/notebooks/docking.html#docking
about
"You can also compare two different poses on the same view, and the protein residues that have different interactions in the other pose or are missing will be highlighted in magenta:"
the width of the visualization area on left is bigger than that on the right side.
How it is possible to have the same width on both sides?
It is possible to compare more than two poses with the given code?
Thanks.
Saverio
P.S. Thanks for this very useful package.
The text was updated successfully, but these errors were encountered: