Skip to content

Commit

Permalink
Nucleic Acid builder and general improvements (#354)
Browse files Browse the repository at this point in the history
Fixes #102 #351 

Migrating support from Incentive for the following:

- Nucleic Acid builder in the Builder panel (Jarrett Johnson @JarrettSJohnson)
- `fnab` command to build nucleic acid chains by sequence (Jarrett Johnson @JarrettSJohnson)
- Improvements to nucleic acid building from native structures (Thomas Stewart @TstewDev)
- highlight attachment points for improved usability (Thomas Holder @speleo3)

Co-authored-by: Jarrett Johnson <[email protected]>
Co-authored-by: Thomas Stewart <[email protected]>
Co-authored-by: Thomas Holder <[email protected]>
  • Loading branch information
4 people authored Apr 8, 2024
1 parent c33c916 commit 246e0a4
Show file tree
Hide file tree
Showing 23 changed files with 971 additions and 54 deletions.
Binary file added data/chempy/fragments/atpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/atpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/atp_ttpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/atp_ttpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ctpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ctpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ctp_gtpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ctp_gtpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/gtpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/gtpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/gtp_ctpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/gtp_ctpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ttpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ttpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ttp_atpA.pkl
Binary file not shown.
Binary file added data/chempy/fragments/ttp_atpB.pkl
Binary file not shown.
Binary file added data/chempy/fragments/utpA.pkl
Binary file not shown.
296 changes: 245 additions & 51 deletions modules/pmg_qt/builder.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/pmg_tk/skins/normal/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def combine(self):
def get_panel(self):
if self.getRepeating():
return [
[ 1, 'Attaching Multiple Fragmnts',''],
[ 1, 'Attaching Multiple Fragments',''],
[ 2, 'Create As New Object','cmd.get_wizard().create_new()'],
[ 2, 'Combine w/ Existing Object','cmd.get_wizard().combine()'],
[ 2, 'Done','cmd.set_wizard()'],
Expand Down
3 changes: 2 additions & 1 deletion modules/pymol/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@
vdw_fit

from .editor import \
fab
fab, \
fnab

from .computing import \
clean
Expand Down
722 changes: 722 additions & 0 deletions modules/pymol/editor.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions modules/pymol/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def get_command_keywords(self_cmd=cmd):
'extract' : [ self_cmd.extract , 0 , 0 , '' , parsing.STRICT ],
'exec' : [ self_cmd.python_help , 0 , 0 , '' , parsing.PYTHON ],
'fab' : [ self_cmd.fab , 0 , 0 , '' , parsing.STRICT ],
'fnab' : [ self_cmd.fnab , 0 , 0 , '' , parsing.STRICT ],
'feedback' : [ self_cmd.feedback , 0, 0 , '' , parsing.STRICT ],
'fetch' : [ self_cmd.fetch , 0, 0 , '' , parsing.STRICT ],
'fit' : [ self_cmd.fit , 0 , 0 , '' , parsing.STRICT ],
Expand Down
1 change: 0 additions & 1 deletion testing/tests/api/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""
from pymol import cmd, testing

@testing.requires('incentive')
@testing.requires_version('2.3')
class TestNucBuilder(testing.PyMOLTestCase):
def testCanInit(self):
Expand Down

0 comments on commit 246e0a4

Please sign in to comment.