added snpsubset functionality