"The common origin of symmetry and structure in genetic sequences" by G. Cristadoro , M. Degli Esposti , E. G. Altmann
import crossCorrelations as cc
chrom = 1
din1="CC"
din2="TC"
cc.plotcross(din1,din2,chrom)
chrom=1 # Select cromossome
cc.plotSymmetries(chrom)
listChrom = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,'X','Y']
for i in listChrom:
cc.plotSymmetries(i)
for chrom in listChrom:
cc.plotcross(din1,din2,chrom)
chrom=1
alldin=cc.allbigrams()
usedpairs=[]
for i in alldin:
for j in alldin:
if(i+j not in usedpairs):
cc.plotcross(i,j,chrom)
for k in cc.symmetries(i,j):
usedpairs.append(k)