Skip to content

About Sequence's Omega value: Either E/K or O/X #18

@agdiaz

Description

@agdiaz

Hello dear localCIDER contributors,
How are you? I hope you are all doing well.

I would like to ask you a question related to Omega metric. The main function to get it is:

  • E
  • K

def Omega(self):
"""
Return the Omega value, as defined in Martin et al. [1]
[1] Martin, E.W., Holehouse, A.S., Grace, C.R., Hughes, A., Pappu, R.V., and
Mittag, T. (2016). Sequence determinants of the conformational properties
of an intrinsically disordered protein prior to and upon multisite phosphorylation.
J. Am. Chem. Soc. (10.1021/jacs.6b10272)
"""
# firstly convert the sequence into a 2 letter alphabet of
# E/D/R/K/P or 'other'
newseq=''
for res in self.seq:
if res == 'P' or res =='E' or res =='D' or res =='K' or res =='R':
newseq=newseq+'E'
else:
newseq=newseq+'K'
# then calculate the new kappa value in this new sequence space and
# return the value
augmented_seq = Sequence(newseq)
return augmented_seq.kappa()

While the method to return the omega sequence does a different character replacing rule:

  • X
  • O

def Omega_seq(self):
"""
Return the Omega sequence, where R/K/D/E/P are X and all other residues
are O. This is useful for visualizing what the sequence used to calculate
Omega actually looks like.
"""
# firstly convert the sequence into a 2 letter alphabet of
# E/D/R/K/P or 'other'
newseq=''
for res in self.seq:
if res == 'P' or res =='E' or res =='D' or res =='K' or res =='R':
newseq=newseq+'X'
else:
newseq=newseq+'O'
return newseq

I wonder if they should have the same set of replacing rules ?
Thank you in advance for your answer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions