arq5x/gemini — pull request #246 by dgaston (2014-01-12 23:43:36+00:00)
Title: Added storage of var.INFO OrderedDict in GEMINI DB

The OrderedDict object is pickled and stored in the db. The object is currently retrieved like any other db column, (including with "select * from variants"). The dictionary is flattened back into a string for output. In addition the row.info object exists such that the OrderedDict can be accessed programmatically through the GeminiQuery API.

Right now test queries .t10,.t11, and .t12 fail as unit tests as select * from variants returns the info string. This is not included in the test output and it does not appear that the ordereddict will necessarily match the order of the VCF. I will continue to see if the parsing follows a regular enough pattern to fix those unit tests.