Skip to content

Instantly share code, notes, and snippets.

Scott Dickinson ScottPDickinson

  • Chicago, IL
View GitHub Profile
@ScottPDickinson
ScottPDickinson / get_snp_list.py
Created Sep 8, 2016
Getting SNP list from PredictDB database
View get_snp_list.py
import sqlite3
def get_snp_list(db_file, out_file):
'''
Queries a PredictDB sqlite database and creates a tab-delimited file with fields
rsid number, ref_allele, eff_allele.
db_file: path to the database file
out_file: name of the output file
'''
You can’t perform that action at this time.