snpy

A wrapper-library for reading openSNP data

WTFPL License

Stars
50
Committers
2
   _____ _   _ _____
  / ____| \ | |  __ \
 | (___ |  \| | |__) |   _
  \___ \| . ` |  ___/ | | |
  ____) | |\  | |   | |_| |
 |_____/|_| \_|_|    \__, |
                      __/ |
                     |___/

An easy to use wrapper-library for working with openSNP data. The current implementation only supports local or downloaded files, but JSON API interaction is planned.

All you need to remember at this point is a single function:

>>> import sn
>>> snps = sn.parse("72.ftdna-illumina.36")
>>> sns
>>> snps[:1]
[_SNP(name='rs3094315', variation=None, chromosome='1', position=742429, strand=None, genotype='AA')]