<p>Rajarshi Guha describes the formulas to calculate <a href="http://www.rguha.net/writing/notes/desc/node2.html" rel="nofollow noreferrer">Moreau Broto autocorrelation, Moran coefficient and Geary coefficient</a> and has a <a href="http://www.rguha.net/writing/notes/desc/node8.html" rel="nofollow noreferrer">bibliography</a>.</p>

<p>But why reinvent the wheel? It seems that the <a href="http://pybiomed.readthedocs.io/en/latest/_modules/Autocorrelation.html" rel="nofollow noreferrer">Autocorrelation module</a> of the <a href="http://pybiomed.readthedocs.io/en/latest/index.html" rel="nofollow noreferrer">PyBioMed</a> package does already what you want: it is a pure Python implementation without any external dependencies.</p>

CC BY-SA 4.0
2018-07-24T08:58:49.890Z
its for python 2.7, not 3.6
girl101
CC BY-SA 4.0
2018-07-24T07:27:51.650Z
2018-07-24T07:27:51.650Z
BioGeek
<p>I want to code Moreau-Broto autocorrelation, Moran autocorrelation, Geary autocorrelation in Python 3.6 from the scratch for amino acid sequences without using any package. Unfortunately, I have not been able to come across a proper literature which shows how these autocorrelation indices have to be calculated. Can anyone give a clear explanation as to how to calculate it or at least give a link which has got a clear description of how to calculate these?</p>

<python><gene><proteins><literature-search>
How to calculate Moreau-Broto autocorrelation, Moran autocorrelation, Geary autocorrelation from protein (amino acid) sequences?
# How to calculate Moreau-Broto autocorrelation, Moran autocorrelation, Geary autocorrelation from protein (amino acid) sequences?

(Asked by: username_0 on 2018-07-23)

I want to code Moreau-Broto autocorrelation, Moran autocorrelation, Geary autocorrelation in Python 3.6 from the scratch for amino acid sequences without using any package. Unfortunately, I have not been able to come across a proper literature which shows how these autocorrelation indices have to be calculated. Can anyone give a clear explanation as to how to calculate it or at least give a link which has got a clear description of how to calculate these?

**Tags:** python, gene, proteins, literature-search

---

## 1 answers

### Answer by username_1 on 2018-07-24. Score: 2

Rajarshi Guha describes the formulas to calculate [Moreau Broto autocorrelation, Moran coefficient and Geary coefficient](http://www.rguha.net/writing/notes/desc/node2.html) and has a [bibliography](http://www.rguha.net/writing/notes/desc/node8.html).

But why reinvent the wheel? It seems that the [Autocorrelation module](http://pybiomed.readthedocs.io/en/latest/_modules/Autocorrelation.html) of the [PyBioMed](http://pybiomed.readthedocs.io/en/latest/index.html) package does already what you want: it is a pure Python implementation without any external dependencies.

> **Comments:**
> **username_0**: its for python 2.7, not 3.6  

---

