Comments (4)
Hi Hannes,
Thank you for your interest in BayesTyper. I read your GraphTyper preprint recently and found it really interesting.
The cause behind the assert you are seeing is that there is not enough kmer information in order to estimate the parameters of the negative binomial distribution that is used model the kmer counts across the genome. Only kmers that are parsed and does not match a variant but matches a region in between variants are used for this estimation, which could explain why num_obs
is 0 in your case.
Moreover to estimate the parameters of our noise model, the program currently uses a million SNV’s that does not overlap any other variants.
Because of these two things the optimal way to run Bayestyper is to do it on the full genome with millions of variants as input. However, if you want to test it on a smaller set I have also previously gotten good results running it on a single chromosome with only half a million variants.
I am sorry that this information was not clear from the documentation.
Please let me know if you run into any other problems.
Best wishes,
Jonas
from bayestyper.
Thanks Jonas,
I think I understand now. I will try again with the entire chromosome 20, and then the entire genome if that does not work. But the number of variants does not matter here, right? From my understanding, these two parameter estimations should work fine even if there are no real variants (i.e. the samples have two copies of the reference haplotype).
Best regards,
Hannes
from bayestyper.
It should not be a problem that you do not have any real variants in your input set, since BayesTyper handles reference and alternative alleles identically. However it is important that your input set contains a lot of variants, real or not, since kmers are only parsed if all smaller subsequences (18 nt) of the kmer matches one or more variants in the set. Therefore if your input set only contains a small number of variants, only a small number kmers will be parsed and used in the subsequent parameter estimations steps.
Best wishes,
Jonas
from bayestyper.
Ah, I see. Thank you.
from bayestyper.
Related Issues (20)
- [feature request] Genotyping more than 500 samples HOT 3
- Question of the format of VCF file for BayesTyper. HOT 2
- A question about convertAllele.
- Questions about bayesTyperTools combine HOT 4
- Genotyping 500 samples
- Genotyping for the inversions HOT 2
- A question about VCF format of results from the 'genotype' function. HOT 1
- Identifying SV type from output HOT 1
- when cmake, Could NOT find Boost (missing: Boost_INCLUDE_DIR iostreams program_options system filesystem serialization) HOT 1
- Where are the test cases HOT 1
- how to run bayestyper HOT 2
- Classifying kmers error with bayesTyper 1.4.1 and 1.5 HOT 1
- Questions on data bundle and SV genotyping HOT 1
- how to get test case
- downloading variation priors fails HOT 3
- how to generate test cases
- genotype failed: Assertion `parameters.first > 0' failed. HOT 3
- What is the open source protocol for bayesTyper? HOT 1
- If executed multiple times, will the result of the data generated be the same each time? HOT 5
- With bayestyper genotyping SV, the genotype rate decreases as the depth of sample sequencing increases.
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 bayestyper.