Skip to content

Commit

Permalink
Emphasize that we are computing pi_hat for a sinlge site
Browse files Browse the repository at this point in the history
  • Loading branch information
arq5x committed Jan 20, 2012
1 parent c8753d1 commit c971410
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ def num_unknown(self):
def nucl_diversity(self):
"""
Calculate pi_hat (estimation of nucleotide diversity) for the site.
This metric can be summed across multiple sites to compute regional
nucleotide diversity estimates. For example, pi_hat for all variants
in a given gene.
Derived from:
\"Population Genetics: A Concise Guide, 2nd ed., p.45\"
John Gillespie.
Expand Down

0 comments on commit c971410

Please sign in to comment.