Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A wrapper-library for reading openSNP data
Python
branch: master

README.md

   _____ _   _ _____
  / ____| \ | |  __ \
 | (___ |  \| | |__) |   _
  \___ \| . ` |  ___/ | | |
  ____) | |\  | |   | |_| |
 |_____/|_| \_|_|    \__, |
                      __/ |
                     |___/

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')]
Something went wrong with that request. Please try again.