compbio-UofT / medsavant

MedSavant is a search engine for genetic variants
22 stars 9 forks source link

jannovar annotations may exceed storage limit #304

Open ronammar opened 10 years ago

ronammar commented 10 years ago

Some Jannovar columns can exceed the 2000chars allocated. Can we implement an auto-truncation step before the TSV files are uploaded to the DB? Currently, I gave JANNOVAR_EFFECT 1500 chars, and JANNOVAR_SYMBOL 10000 chars, but since the symbol is embedded in the CUSTOM_INFO field, which is also limited to 10000 chars, we're going to run into problems at some point.