Skip to content

Instantly share code, notes, and snippets.

@hainm
Created May 26, 2016 14:39
Show Gist options
  • Select an option

  • Save hainm/3412640e8c2ada618ee4ef0de9e4c58b to your computer and use it in GitHub Desktop.

Select an option

Save hainm/3412640e8c2ada618ee4ef0de9e4c58b to your computer and use it in GitHub Desktop.
In [1]: traj = pt.load('rna.pdb')
In [2]: ref = pt.iterload("./rna_nab.pdb")
In [3]: nu = pt.nastruct(traj, ref=ref, groove_3dna=True)
In [4]: nu.minor
Out[4]:
(['3G14C-4C13G', '4C13G-5G12C', '5G12C-6C11G'],
array([[ 15.80853176, 15.817976 , 15.48555374]]))
In [5]: nu.major
Out[5]:
(['3G14C-4C13G', '4C13G-5G12C', '5G12C-6C11G'],
array([[ 19.90150452, 20.7509594 , 19.98218346]]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment