A wrapper-library for reading openSNP data
Switch branches/tags
Nothing to show
Clone or download
Latest commit df40966 Apr 4, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
requirements.txt
setup.py
sn.py handle IYG gt files Feb 10, 2018

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')]