This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
''' |