Population genetics analyses from NGS data