Comments (5)
I also tried using the
d4tools stat -stat hist
output and checking the fraction at or above specific thresholds. This seemed to give correct values, but processing time is similar - again time spent at parsing output from the command.
Shame, but yes, makes sense.
It spontaneously looks to me that the ideal solution would be to get in a new stat function into
d4tools
which runs similarly to the mean calculations - giving an output as such:
> $ d4tools stat --stat cov_at_thres --thresholds 10 20 30
chr start end perc_thres1 perc_thres2 perc_thres3
...
This should be much quicker, but unsure how smooth it would be technically and socially to squeeze it into d4tools 🤔 Maybe worth raising an issue, if we think this is the way to go.
That's exactly what I was thinking but I've never opened an issue on d4tools with the request because I figured they would never work on it if they still had those important bugs unfixed. I guess one could try now that it seems things are moving on their side. Let's open an issue and see what they say, perhaps?
Otherwise it seems we would like somehow directly read from the d4 file using code in the d4tool. Probably feasible as well. Not sure how to package this in a non-messy way though.
Might be a good starting point to just fork d4tools and see if we could get it to do what we want here and see the performance. If it works, then think about how to package this.
Or we can create a PR in d4tools so they include it in the official repo!
Needless to say, this would be useful for us and I am happy to help 🙂
Nice, thanks! 🚀
from chanjo2.
I opened an issue over at the d4tools: 38/d4-format#81
from chanjo2.
I opened an issue over at the d4tools: 38/d4-format#81
Nice! And I saw that somebody offered to work on it already!! 🥳
from chanjo2.
Sorry I messed up with the comments. Now it should be back to how it was :)
from chanjo2.
Or we can create a PR in d4tools so they include it in the official repo!
Yes, I agree, that would be the ideal!
I think most of the building blocks to get this functionality in place should be in d4tools already. So shouldn't be super-difficult ... But we'll see.
from chanjo2.
Related Issues (20)
- On report page, add one more field to specify a list of completeness cutoffs for the stats HOT 1
- Completeness cutoff on report has no memory of submitted form when page is refreshed
- Js errors on report page
- Lib import error while connecting to MySQL using MacOS HOT 1
- Failed to load API definition for Chanjo2 API HOT 7
- On report page, customize search to allow also HGNC symbols and Ensembl IDs
- Server timeout when loading exons HOT 13
- Trouble getting /report calls to the correct end point, round 2 HOT 4
- Modify report endpoints to only accept forms and not json data? HOT 6
- Detailed gene info in main report HOT 2
- Issues with customizing report through gene panel name HOT 3
- Occasionally large differences in coverage for same gene region in same sample HOT 11
- Can't install mysqlclient on macOS
- Warnings by the black (lint) action
- Startup errors crashing in log statement HOT 17
- Address security alerts
- Minimal stats endpoint for delivery reports in scout HOT 3
- Clarify "Average coverage" HOT 2
- Handle errors for condensed stats endpoint
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 chanjo2.