-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Filtering options #27
Comments
@Arkanosis How can I perform sqlite like filtering on C++ list ? |
You mean like a SQL |
Humm.. Humm.. |
I think I like the idea of saving all variant as a sqlite file ! |
It all depends on how big you expect the VCF files to be. For small files, linear filtering is probably cheap enough, but on big ones, I'm afraid it's going to be noticeably slow. sqlite with proper indexes might scale much better but there's an overhead at startup. I'd suggest linear filtering for typical excel-sized VCF and indexed filtering for anything larger than that (sqlite being the most convenient approach I can thing of). Now, given it displays every single row of the VCF, I assume CuteVCF is more small-files oriented, isn't it? |
CuteVCF should be able to manage big file . Qt Model system is really strong and can support huge amount of line. If I exceed my memory, I can use pagination. By the way, @Arkanosis How many specification do you know for annotation ? |
In that case, you'll probably want to use some indexed backend like sqlite (which handles offsets and limits for pagination, btw). As for annotation specs, I'm only aware of that of SnpEFF (ie. |
Ok, I have two option.
In all case, I think I can avoid table joining by saving all variant data in one table . |
After some reflexion during my night, I propose the following idea : |
You should be able to filter based on column name.
The text was updated successfully, but these errors were encountered: