-
-
Notifications
You must be signed in to change notification settings - Fork 21
WordSets
tetedange13 edited this page Dec 7, 2020
·
5 revisions
A wordset is intended to be used as an "IN " VQL query. For instance :
SELECT chr FROM variants WHERE gene IN SET["myset"]
This is a relevant feature inspired by 'Set' from SnpSift
A wordSet can be created by clicking the '+' button below the 'WordSets' plugin.
Then click 'Add' and edit the field. Each element of your set must be on a single line
For example:
KRAS
BRAF
TP53
And not: KRAS,BRAF,TP53
; Or even: KRAS BRAF TP53
Then click Save
and you will be asked to name your wordSet (eg.: myWordSet_name
)
The VQL query to look into your newly created wordSet is the following:
SELECT chr FROM variants WHERE gene IN WORDSET["myWordSet_name"]