LingPy

lingpy.test.evaluate.EvalMSA.pir_score

EvalMSA.pir_score()

Compute the percentage of identical rows (PIR) score.

Returns :

score : float

The PIR score.

Notes

The PIR score is the number of identical rows (sequences) in reference and test alignment divided by the total number of rows.