haddocking / pdb-tools

A dependency-free cross-platform swiss army knife for PDB files.
https://haddocking.github.io/pdb-tools/
Apache License 2.0
384 stars 113 forks source link

Implement `pdb_selmodel` #122

Closed rvhonorato closed 2 years ago

rvhonorato commented 2 years ago

Is your tool request related to a problem? Please describe. When we have a multi-model ensemble we need to use pdb_splitmodel and then (in disk) find the appropriate model we want.

Describe the solution you'd like pdb_selmodel would select a given MODEL in a ensemble or a range of models:

$ pdb_selmodel -1 1ccm.pdb
$ pdb_selmodel -1:5 1ccm.pdb

In case the input is not an ensemble it could instead just return the same pdb instead of an error, then it would not break any pipelines.

Does any of the existing tools or a combination of them do what you want? No, but pdb_splitmodel + scripting does the trick.

joaomcteixeira commented 2 years ago

We have talked about this in the past. I agree with having this tool, I also find it very useful.

El mié., 19 ene. 2022 14:08, Rodrigo V Honorato @.***> escribió:

Is your tool request related to a problem? Please describe. When we have a multi-model ensemble we need to use pdb_splitmodel and then (in disk) find the appropriate model we want.

Describe the solution you'd like pdb_selmodel would select a given MODEL in a ensemble or a range of models:

$ pdb_selmodel -1 1ccm.pdb $ pdb_selmodel -1:5 1ccm.pdb

In case the input is not an ensemble it could instead just return the same pdb instead of an error, then it would not break any pipelines.

Does any of the existing tools or a combination of them do what you want? No, but pdb_splitmodel + scripting does the trick.

— Reply to this email directly, view it on GitHub https://github.com/haddocking/pdb-tools/issues/122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWEOMWUJIHSHB6ORNQSLRDUW2ZUZANCNFSM5MJ4PHNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>