-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solo analysis, phased data #167
Comments
Hi Karoliina, For your expression,
|
Right on! I will check cyvcf2, it's one of yours so I'll likely get back to that with more questions.. xD Thanks for the quick response, --sample-expr makes sense now! |
Hi Brent, first of all thank you for the work – Slivar, Mosdepth and Smoove are my go-to tools these days!
I'm currently analysing a rare disease in a cohort of singletons using long-read data, thus most of the variants are phased. Does comp-hets take into account the phase information? Or would you recommend some other method?
Also, I'd need some help on how to select variants present only in the affected samples without family structure? I've been playing around with
--sample-expr 'aff_only:sample.every(function(s) { return s.het == s.affected && s.hom_ref == !s.affected })
but keep getting the error unknown attribute:every.
When you get the chance, I'd much appreciate some insight into how to write slivar functions.
Many thanks, a good day to you, sir!
-Karoliina
The text was updated successfully, but these errors were encountered: