Skip to content
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

Loading Cluster Growth Files #8

Closed
Cdc95 opened this issue Mar 8, 2023 · 3 comments
Closed

Loading Cluster Growth Files #8

Cdc95 opened this issue Mar 8, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Cdc95
Copy link

Cdc95 commented Mar 8, 2023

Hello,

Grimmes new QCG docking algorithm (https://doi.org/10.1021/acs.jctc.2c00239) produces an XYZ ensemble file (example attached below) where each structure has one more solvent molecule than the previous. To the best of my knowledge, there is currently no convenient way to load all of these structures. As such, I am just wondering if it would be possible to support loading this type of file? Maybe the extension 'growxyz' could be used to distinguish these files from other ensemble files?

Thanks a bunch,
Colton

qcg_grow.txt

@Cdc95 Cdc95 added bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request question Further information is requested wontfix This will not be worked on labels Mar 8, 2023
@ajs99778
Copy link
Contributor

ajs99778 commented Mar 8, 2023

Colton,

Do these files have an XYZ extension by default? The new XYZ parser in SEQCROW 1.5.11+ should load all the structures as different models if the elements or number of atoms changes from one structure to the next in the XYZ file. It's not possible in ChimeraX to have a structure change elements or number of atoms, so they have to be separate models.

ChimeraX has a built-in command mseries that can flip through different models in a series. You should just be able to do something like mseries slider #1 to open a slider to flip through the different structures.

I could potentially make it so the mseries command is run by default if you open an XYZ file with a name like "qcg_grow". That should be relatively easy to do. I might also just update my new OpenCommands bundle to let users define these types of rules themselves. Currently, it will only run commands for the child models (i.e. #X.1-150) and not the parent (#X), so the mseries commands won't work with it.

Best,

Tony

@ajs99778 ajs99778 removed bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists wontfix This will not be worked on labels Mar 12, 2023
@ajs99778
Copy link
Contributor

I've updated OpenCommands to allow commands to run for parent models. These criteria seem to work for me:
image

There's installation instructions for OpenCommands here: https://github.com/ajs99778/ChimeraX_OpenCommands#installation and also more details on the tool shed page. Let me know if this fits with your workflow or if there's anything that would make these types of files easier to process.

@Cdc95
Copy link
Author

Cdc95 commented Mar 16, 2023

Sorry for the late response - I must have missed the email for the first comment. That works perfectly!!

Thanks a bunch for all your help :)
Colton

@Cdc95 Cdc95 closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants