knmkr / dbsnp-pg

PostgreSQL schema for NCBI dbSNP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convert allele to allele_id

knmkr opened this issue · comments

Converting allele varchar(1024) column in AlleleFreq table to allele_id serial (defined in Allele table) will reduce the data size for AlleleFreq table.

Need to take care of indels.

E.g. rs201930939

  • vcf alleles: G, GCCCACACTCC
  • dbsnp alleles: -, CCCACACTCC