labsquare / cutevariant

A standalone and free application to explore genetics variations from VCF file
https://cutevariant.labsquare.org/
GNU General Public License v3.0
102 stars 21 forks source link

Simple ameliorations #263

Closed SteampunkIslande closed 3 years ago

SteampunkIslande commented 3 years ago
SteampunkIslande commented 3 years ago

IMHO, selecting only from one sample is already as simple as checking the sample's genotype field in the fields editor...

bioinfo-chru-strasbourg commented 3 years ago

In that way, you see the genotype of this samle, but you do not select variants (het and hom) only present for this sample. It's more something like "SELECT fields WHERE [filters] AND sample.gt != WT"

SteampunkIslande commented 3 years ago

Batch edit classification was implemented as mentioned in #264

SteampunkIslande commented 3 years ago

Being able to click the 'favorite' icon instead of using context menu

@dridk I'm not sure, but I think this is trickier than it looks like, since the icon is part of the cutestyle, which means it will only be a cell with 0 or 1 if no style is applied.

So what about a tool button at the top of the view ?

antonylebechec commented 3 years ago

Being able to click the 'favorite' icon instead of using context menu

@dridk I'm not sure, but I think this is trickier than it looks like, since the icon is part of the cutestyle, which means it will only be a cell with 0 or 1 if no style is applied.

So what about a tool button at the top of the view ?

Basically, I think it's tricky too. But I don't really know the underlying technical constraints. If a button could be a simple way to speed up the feature, it's great!

Actually, I suggest a global rebuild of this feature, by expending this favorite feature as a "validation classification" feature (like "pathogenic classification") :

This feature can be a plugin, but I think it will deeply improve CuteVariant. Especially if it is combined with a sutainable validation database feature (plugin currently in dev in own team), all annotation will be cross assigned between projects (to automatically remove technical noise already classified, quickly identify already "favorite" and "pathogenic" variants)...

SteampunkIslande commented 3 years ago

I see, maybe I'll go for a simple button for now, and let's see. Is it too risky also to assign a tag to the whole selection (not just the first 50 that are visible, but every line the request retrieved ?)

Also concerning the 'tag' feature, with more than two values that favorite has for now, I think it's more like a new feature, however the goal for now is making the features we already have work at their best. I really like the idea though, and I would be excited to develop it after the next official release !

antonylebechec commented 3 years ago

Yes, let's do it simple for the moment, a button. Why is it to risky to to assign to the selected variant? It's what you did with "pathogenic classification", isn't it? I think it's not really interesting to assign avery line the request retrieved. Let's develop another feature as a plugin and/or in the next release.

SteampunkIslande commented 3 years ago

Here's a glimpse of how the actions look like now in the variant view cutevariant variant view actions 1

antonylebechec commented 3 years ago

Great! And you can tag as Favorite all selected variants as well?

SteampunkIslande commented 3 years ago

Yes, you can !

SteampunkIslande commented 3 years ago

And now, we can select all variants of a sample by double clicking it in the genotype view See screen cast below voila

antonylebechec commented 3 years ago

Yes, you can !

Perfect!

antonylebechec commented 3 years ago

And now, we can select all variants of a sample by double clicking it in the genotype view See screen cast below voila

Double Perfect!