cutevariant
cutevariant copied to clipboard
[quick search] Improve quick search
Proposition to improve quick search:
- [ ] Quick search bar error in focus (need to unfocus main window to focus on quick search bar)
- [ ] Apply quick filter to the current selection of variants
- [ ] Configure (in config.yml) "gene" field (default "ann.gene")
- [x] Allow position define for 1 position (pattern "CHR:POS")
- [ ] Configure (in config.yml) multiple fields to search into (not only "gene", but also "transcript", "clinvar"...)
- [ ] Allow applying quick search to existing filter (add to filters with AND operator). By default, with a checkbox to apply to all (source)
- [ ] Allow multiple search with pattern
- like NCBI query language
- Example in NCBI: Human[Organism] AND BRCA*[Gene Name]
- Example in CuteVariant: BRCA[ann.gene] AND NM_007294[ann.transcript]
- in VQL
- Example: ann.gene LIKE '%BRCA%' AND ann.transcript LIKE '%NM_007294%'
- like NCBI query language
Some fix and new features in "branch fix_gene_view":
- quick search added to existing filters
- quick search "removed" from existing filters (if not changed)
- search on one position (pattern "CHR:POS")
- search on annotations (ann.*)
- search on all other fields
- including operators (=|>|>=|<|<=|!=|=~|!~|IN|!IN|HAS|!HAS)
- detecting IN operator with a list of values with comma ","
- auto detection of pattern (symbol=*RAS -> symbol =~ RAS) to be user friendly
- Create different pattern : -- Gene Name -- Chr3:pos-end -- VQL
- Create different pattern : -- Gene Name -- Chr3:pos-end -- VQL
from the new branch #375 , @SteampunkIslande disable existing filter extension . Because, searching two gene name will generate a filter like "gene='CFTR' AND gene='GJB2'". I suggest to extend existing filter with quick filter only for VQL statement.
You're right. VQL is the answer to select multiple genes, such as "ann.gene IN KRAS,NRAS"
je clos l'issue pour la release.. On rouvrira pour améliorer
On ne peut pas la clore tant que :
- la requête VQL construite (par quick search) n'est pas ajoutée aux "filters" existants
- le quick search à "vide" n'enlève pas la requête VQL construite (par quick search)
On peut le faire ne mémorisant la requête construite, puis l'enlever soit
- quand le requête quick search est "vide",
- quand une autre requête est demandée