This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Finding Regions Of 100% Conservation

I have a 36-row single alignment of a protein sequence, and I'm looking for regions with 100% conservation. How can I do so without resorting to simple visual methods?

I'm working with Biopython and ClustalOmega at the moment.

alignment

2 answers

Transpose your alignment and count the occurrence of each residue. For the latter you can use the python collections.Counter function, if you're lazy.

If you are aware about perl then this may help you

Per-column conservation of multiple alignment in Perl

Log in to answer this question.