<p>I think that genome-wide probabilities (i.e. not 0.25 for each base) should be fine. For a given segment of DNA, the chance that the sequence doesn't appear anywhere else in the genome is fairly high.</p>
<p>There is lots of patchy non-randomness (e.g. at centromeres, STRs, and other tandem repeat regions), but there's not much point in modelling that because it's not random.</p>

CC BY-SA 4.0
2021-05-06T11:43:29.070Z
Thanks for your answer. So if I understand it well, not taking equivalent probabilities but the human genome bases probability is a better way ?
Bratten
CC BY-SA 4.0
2021-05-07T06:17:53.770Z
@Bratten Yes; I've made a slight update to my answer to clarify this.
gringer
CC BY-SA 4.0
2021-05-06T00:35:26.953Z
2021-05-06T19:54:50.237Z
2021-05-06T19:54:50.237Z
gringer
<p>I have been working with Shannon's entropy (SE) and DNA lately, and referring to the formula and concept of SE, I just wondered whether one should in the case of DNA use each nucleotide as having a probability to show up as 0,25 or if it was better to use the probability based on the frequency in the genome (let's say the human genome).</p>
<p>In the case of the latter being the better, is it interesting to have those frequencies at the scale of the genome, the chromosome, the sub segment ?</p>
<p>I'm interested in calculating the entropy relative to a short window (the length of an Illumina read, about 125-150bases), using the proportion of each base on a given sequence length. The idea is &quot;how much information is given&quot; in this sequence, and by information I mean how much different bases do I have.</p>
<p>It might that I'm missing some basic mathematics knowledge here, don't hesitate to point it out so I can understand it better</p>
<p>cheers,</p>

<phylogenetics>
Shannon's Entropy and DNA
# Shannon's Entropy and DNA

(Asked by: username_0 on 2021-05-05)

I have been working with Shannon's entropy (SE) and DNA lately, and referring to the formula and concept of SE, I just wondered whether one should in the case of DNA use each nucleotide as having a probability to show up as 0,25 or if it was better to use the probability based on the frequency in the genome (let's say the human genome).

In the case of the latter being the better, is it interesting to have those frequencies at the scale of the genome, the chromosome, the sub segment ?

I'm interested in calculating the entropy relative to a short window (the length of an Illumina read, about 125-150bases), using the proportion of each base on a given sequence length. The idea is "how much information is given" in this sequence, and by information I mean how much different bases do I have.

It might that I'm missing some basic mathematics knowledge here, don't hesitate to point it out so I can understand it better

cheers,

**Tags:** phylogenetics

---

## 1 answers

### Answer by username_1 on 2021-05-06. Score: 1 | Accepted answer

I think that genome-wide probabilities (i.e. not 0.25 for each base) should be fine. For a given segment of DNA, the chance that the sequence doesn't appear anywhere else in the genome is fairly high.

There is lots of patchy non-randomness (e.g. at centromeres, STRs, and other tandem repeat regions), but there's not much point in modelling that because it's not random.

> **Comments:**
> **username_0**: Thanks for your answer. So if I understand it well, not taking equivalent probabilities but the human genome bases probability is a better way ?  
> **username_1**: @Bratten Yes; I've made a slight update to my answer to clarify this.  

---

