Comments (3)
Hi Conor,
Could you check the value of nu inferred before and after removing sequences? This can be found in the file with suffix .em.txt
. This value represents the level of polymorphism in recombined regions. It is possible that ClonalFrameML infers a value that is too low after you removed the most divergent sequences. You can stop this from happening by changing the prior on nu. For example to force nu to be around 0.05 you could use -prior_mean "0.1 0.001 0.05 0.0001" -prior_sd "0.1 0.001 0.0001 0.0001"
. Note that ClonalFrameML is mostly designed to analyse sequences that are part of the same species or even the same lineage within a species, so if your dataset contains multiple species then you might need to help ClonalFrameML a bit by specifying a strong prior on nu as described above.
Best wishes,
Xavier
from clonalframeml.
Hi Xavier,
Thanks for the quick response.
The nu before removal is:
Parameter Posterior Mean Posterior Variance a_post b_post
nu 0.0324815 1.00773e-09 1.04696e+06 3.22323e+07
After removal it is:
Parameter Posterior Mean Posterior Variance a_post b_post
nu 0.0452501 2.75491e-09 743243 1.64252e+07
So I dont think it is moving too much but perhaps I should set it as you say and see if that affects the outcome?
These are all the same species but indeed may be separate lineages.
Cheers,
Conor
from clonalframeml.
Yes these values of nu look fine, both before and after removal, so there is no issue with this and no need to try changing the prior on nu. It's good to know that all genomes are from the same species, I guess having ~60% recombined on some branches is not impossible, or there could be mistakes in the alignment that look like recombination events. When you remove some sequences to try to remove recombination events you would need to make sure that you remove all sequences affected by the events, ie all the sequences that are below the branch on which there is recombination. Don't hesitate to email me if you're still having problems with this as I would need to see what the results look like.
from clonalframeml.
Related Issues (20)
- R values for calculation of R*delta HOT 2
- Recombination filtered output vs importation_status.txt HOT 1
- why the r/m I calculated is so small using a subclone of subclone of klebsiella pneumoniae HOT 1
- Is it better to order genes by the reference genome for a xmfa file ??? HOT 2
- std::bad_alloc problem HOT 1
- Are there any detailed description of the output pdf from cfml_results.R? HOT 1
- ERROR: Token: ((( Found left bracket but no right bracket HOT 1
- Inquiry on difference of Recombination Visualization between cfml_results.R and Phandango HOT 1
- R script plot colours are not explained HOT 3
- Can I use SNP multiple sequence alignment matrix and a tree build based on it as inputs? HOT 5
- contructed a new whole genome alignment HOT 1
- Fix R/theta, 1/delta and Nu
- Script cfml_results.R not found HOT 4
- Some genomes not displaying on tree HOT 6
- how to create the msa file for fragmented genomes HOT 1
- nonrecombinant alignment output empty HOT 1
- What do you mean I don't understand the output file HOT 1
- ERROR: convert_NewickTree_to_marginal_tree(): Newick tree tip label was not expected HOT 2
- option -fasta_file_list true? HOT 1
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 clonalframeml.