reimandlab / ActiveDriverDB

ActiveDriverDB
GNU Lesser General Public License v2.1
12 stars 3 forks source link

Refactor bio-models, filters and show motifs #143

Closed krassowski closed 6 years ago

krassowski commented 6 years ago

This small chunk of work enables highlighting of motif-affecting mutations in the sequence view (needleplot).

In order to implement that I performed a major overhaul in bio-related ORM models (and querying/filtering code as well as a consequence). The result of this work is simplified and way better documented filtering code, Site.type renamed to Site.types and using SQL relation to SiteType, and bio.py (which has grown beyond 2000 lines) being split up into several sub-modules.

Several performance optimizations were introduced as well.