Folded site frequency spectrum (source code)

= Folded site frequency spectrum

The <folded site frequency spectrum> counts variable sites by the less frequent allele count, without identifying which allele is ancestral. With four sampled sequences, counts one and three both contribute to the $3:1$ class, whereas count two gives the $2:2$ class.