Calculation of CpG ratio within X nucleotides
1
0
Entering edit mode
8.3 years ago

Hello again,

I need to calculate the CpG ratio within certain DNA sequences in order to correlate them with several properties and for different other reasons. Can somebody explain me how this is done for the following artificial example sequence?

ATGCGTGCAGTGATCGCGATTTA
  ^^^ ^^ ^ ^  ^^^^

As far as I understand, the GC-basepair ratio is the number of C's + G's divided by the length of the above sequence. In the example we have:

  • Seq-length: 23
  • Number of C's: 4
  • Number of G's: 7

If the definition I found for GC content is correct, then in the above example the GC content would be:

  • (4+7) / 23 = 47,83% (rounded value).

How is the CpG ratio defined? I am not searching for CpG islands.

Best regards

CpG • 3.4k views
ADD COMMENT
2
Entering edit mode
8.3 years ago

For this, only need to know what a CpG is. You would want the percentage of bases in CpGs.

ADD COMMENT
0
Entering edit mode

So for the above example:

ATGCGTGCAGTGATCGCGATTTA
___^^_________^^^^

would it be 6/23 bases --> 26,08%?

Best regards

ADD REPLY
0
Entering edit mode

correct

ADD REPLY

Login before adding your answer.

Traffic: 1605 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6