comparison ensure_synced.py @ 3:2656d87abfee draft

Uploaded
author greg
date Wed, 26 Aug 2020 13:41:56 -0400
parents 3dc919d53939
children 81232205b179
comparison
equal deleted inserted replaced
2:3dc919d53939 3:2656d87abfee
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 3
4 import argparse 4 import argparse
5 import psycopg2
6 import sys 5 import sys
7 6
7 import psycopg2
8
9 from sqlalchemy import MetaData
8 from sqlalchemy import create_engine 10 from sqlalchemy import create_engine
9 from sqlalchemy import MetaData
10 from sqlalchemy.engine.url import make_url 11 from sqlalchemy.engine.url import make_url
11 12
12 metadata = MetaData() 13 metadata = MetaData()
13 14
14 SKIP_VALS = ['#CHROM', 'POS', 'ID', 'REF', 'ALT', 'QUAL', 'FILTER', 'INFO', 'FORMAT'] 15 SKIP_VALS = ['#CHROM', 'POS', 'ID', 'REF', 'ALT', 'QUAL', 'FILTER', 'INFO', 'FORMAT']