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

How to generate an anti-parallel coiled-coil of 4 chains? #15

Open
xiaotianzhou1982 opened this issue Mar 19, 2020 · 1 comment
Open

Comments

@xiaotianzhou1982
Copy link

How to generate an anti-parallel coiled-coil of 4 chains? Can you give me an example ? Thanks!

@ChrisWellsWood
Copy link
Contributor

Hi @xiaotianzhou1982, sorry about the delay getting back to you, I've just noticed this. So there's a list attribute in CoiledCoil objects called orientations, which defines the orientation of each helix in relation to the super-helical axis. You can redefine this, and any other parameter, then rebuild using the build method:

In [1]: import isambard.specifications as specs                                                         
In [2]: ap_tet = specs.CoiledCoil(4)                                                                    
In [3]: ap_tet.orientations                                                                             
Out[3]: [1, 1, 1, 1]
In [4]: ap_tet.orientations = [0, 1, 0, 1]                                                              
In [5]: ap_tet.build() 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants