Commit 6d46fe1e authored by cmaffeo2's avatar cmaffeo2
Browse files

Fixed name of CYT and name of CanonicalNucleotideFactory

parent 9c5c3cdf
......@@ -5,7 +5,7 @@ from coords import rotationAboutAxis
from arbdmodel import Group, PointParticle, ParticleType
seqComplement = dict(A='T',G='C')
resnames = dict(A="ADE", G="GUA", C="CYY", T="THY")
resnames = dict(A="ADE", G="GUA", C="CYT", T="THY")
for x,y in list(seqComplement.items()): seqComplement[y] = x
def stringToIntTuples(string, tupleLen, offset):
......@@ -57,7 +57,7 @@ class CanonicalNucleotideFactory(Group):
self.impropers = np.loadtxt("%s.impropers.txt" % prefix, dtype='i4')# - minIdx
def generate(self):
nt = Group(orientation = CanonicalNucleotide.DefaultOrientation)
nt = Group(orientation = CanonicalNucleotideFactory.DefaultOrientation)
nt.__dict__['sequence'] = self.sequence
nt.__dict__['resname'] = self.resname
atoms = nt.children = [copy.copy(c) for c in self.children]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment