Comments (2)
Hi again, currently, exporting to an excel file with filters applied is not possible on the result viewer GUI, but it is being considered for a future release. Meanwhile, there is a couple of workaround. First, make the filter criteria on the result viewer GUI and then save it with the file save icon at the bottom right corner of the Filter tab. Give a name to the filter. Then, on the command-line, run the command
sqlite3 xxxxx.sqlite 'select viewersetup from viewersetup where name="<filter name>"'
(xxxxx.sqlite as your result database file and as the filter save name)
The result will be a string such as
{"filterSet":{"sample":{"require":[],"reject":[]},"genes":[],"variant":{"operator":"and","rules":[{"column":"base__so","test":"select","value":["MIS"]},{"column":"base__coding","test":"hasData","negate":false}]},"smartfilter":{"base":{"so":["MIS"],"coding":false}}}}
Make a text file such as filter.json with its content being the output of the above sqlite3 command. Save the file, and run
oc report xxxxx.sqlite -t excel -f filter.json
(replace xxxxx.sqlite and filter.json with your paths. Use -t option of your choice)
to get a filtered excel output, for example.
In the next version of oc, oc report xxxxx.sqlite -F <filter name> -t excel
will be supported.
Another option is to make the filter.json file yourself. It is a bit more complicated, but if you prefer this way, we can explain, let us know.
from open-cravat.
What you want in filter.json
is actually the value of "filterSet". So delete {"filterSet":
from the start, and the last }
from the end.
from open-cravat.
Related Issues (20)
- UniProt HOT 2
- Error in IGV widget HOT 1
- pharmgkb OC and website differing annotations HOT 7
- gnomad update HOT 1
- Variant Conversion HOT 3
- rdata download option not working HOT 1
- silent failures from multiple annotators HOT 2
- Support for Spanning or overlapping deletions HOT 1
- Access to error logs from web server HOT 1
- Homozygous reference variants HOT 1
- KeyError in sample_id with multiple VCF files HOT 1
- New databases creation HOT 4
- Single variant tab not working! HOT 2
- python 3.12 module imp deprecated HOT 1
- Ambiguous annotation results HOT 1
- incorrect SO assignment - "exon_loss_variant" for intronic region
- IndexError: index out of range when annotating vcf file HOT 1
- How to update Open-CRAVAT from v2.2.9 to v2.5.0 ? HOT 1
- Update link in OC versions <v2.5 is unreadable and unusable HOT 1
- oc module install-base issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-cravat.