griffithlab / civicpy

A python interface for the CIViC db application
MIT License
8 stars 5 forks source link

Various bugfixes to coordinate search #76

Closed susannasiebert closed 4 years ago

susannasiebert commented 4 years ago

The single exact coordinate query was broken because we were comparing the query start to the variant stop and the query stop to the variant start.

The bulk exact coordinate query wasn't matching the behavior of the single exact coordinate query because it was only comparing the alt if both the query and the variant had an alt set, which would return variants without an alt.

The help text had the default value of search_mode incorrectly set to exact.