varapp / varapp-backend-py

Django backend to varapp
GNU General Public License v3.0
20 stars 9 forks source link

display/filter the type of variant #4

Closed vivianTan7 closed 8 years ago

vivianTan7 commented 8 years ago

Hi there,

It seems that the type of variant(snp, indel) and/or the sub_type(ts, tv, ins, del) is not displayed and cannot be filtered, however those information is stored in gemini database in columns 'type' and 'sub_type', therefore is it possible to add this kind of new feature? Thanks.

Regards

jdelafon commented 8 years ago

It seems rather straightforward, I will do that. Unless you suggest otherwise, it will take the form of a radio button "Variant type: [indel|snp]". I am not sure if the distinction transition/transversion, or even insertion/deletion is too fine-grained for the purpose of filtering. We are trying to keep the interface minimal.

jdelafon commented 8 years ago

I released a new version (v1.1.1) with this new SNP/Indel filter. I could add a "subtype" filter later on if it feels necessary. Do not forget to erase the Redis cache ("redis-cli flushall") every time you update the application (it is not yet clear to me how to do this automatically). Please reopen if you encounter any problem. You can try this new functionality in the demo version: demo