Comments (2)
Hi,
Thank you for posting!
Regarding your specific issue:
bayesTyperTools combine
requires the header to contain contig (e.g.##contig=<ID=8,length=146364022>
) entries for all reference sequences containing variants in the vcf; the contigs further need to appear in the same order in the header and for the variant entries. We have added information about this to the readme.
Generally about running on bacterial genomes:
We have not tested BayesTyper on bacteria. There are no theoretical reasons why it shouldn't work, but please note that:
- BayesTyper can only call variants where the coverage is an integer multiple (1 or 2) of the haploid coverage. Hence, your sample should probably only contain a single strain.
- BayesTyper currently only uses autosomes (reference sequences not called chrX, X, chrY or Y) to estimates parameters. Hence, while the theoretically optimal way of running it would be to label your reference sequence Y to inform BayesTyper that the organism is haploid, it wouldn't work. For now, you therefore have to run it as diploid (by using a non sex chromosome label) and ignore heterozygote genotypes - hopefully you wont get that many. If you do, it could be a sign that BayesTyper is not working as intended on your data. We will try to push out a release as soon as possible that will estimates parameters also on non-diploid chromosomes and that will support inputting a set of reference sequence ploidies to replace the currently hard-coded sex chromosome plodies.
Please do not hesitate to post again if you further questions or suggestions for how we can improve the BayesTyper support for bacterial data.
br,
Lasse
from bayestyper.
Thank you! I got it working (one of the VCFs didn't have the contig header line)
from bayestyper.
Related Issues (20)
- byesTyper cluster wrong HOT 4
- [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
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.