Comments (12)
@UzmaSalam You need to run a cv analysis to determine the optimal value of smoothing. Then, turn off cv, set that value of smoothing, and you're done.
from treepl.
Thank you Joseph. Best,
from treepl.
I tried this:
treefile = intree
numsites = 2080
mrca = INGROUP taxa1 taxa2
min = INGROUP 42.2
max = INGROUP 42.2
outfile = outtree
thorough
prime
cv
cvoutfile = outfile
nthreads = 16
Then I got this at the end of run:
opt = 1
moredetail
optad = 1
moredetailad
optcvad = 4
moredetailcvad
So, I added this in my configure file then run but I didn't get smoothing here and the out tree has node ages greater than actually reported.
Did I run correctly,
Best,
from treepl.
Your config file after priming should look like this:
treefile = intree
numsites = 2080
mrca = INGROUP taxa1 taxa2
min = INGROUP 42.2
max = INGROUP 42.2
outfile = outtree
thorough
#prime
cv
cvoutfile = cv.outfile.txt
nthreads = 16
opt = 1
moredetail
optad = 1
moredetailad
optcvad = 4
moredetailcvad
Note that "prime" is commented out (if it is not, it will just prime again). The above config will perform a cv analysis. I cannot recall the defult, but you can set the max/min of the smoothing values used in cv with:
cvstart = 0.0001
cvstop = 10000
When cv completes the results are in the file "cv.outfile.txt". Find the smallest cv score. Say that is 1000. Set it in the config file (while turning off cv):
treefile = intree
numsites = 2080
mrca = INGROUP taxa1 taxa2
min = INGROUP 42.2
max = INGROUP 42.2
outfile = outtree
thorough
#prime
#cv
#cvoutfile = cv.outfile.txt
smoothing = 1000
nthreads = 16
opt = 1
moredetail
optad = 1
moredetailad
optcvad = 4
moredetailcvad
And the tree that results is your chronogram. Note that each stage of the cv analysis will produce a chronogram; you do not want those (as they do not use the optimal smoothing value). You want the chronogram from the final run above.
HTH.
from treepl.
okay, I'm running the configure file.
Thank you,
Best,
from treepl.
Hi, I got these results, which should I use for smoothing? I'm sorry I didn't get this.
chisq: (10000) 33888
chisq: (1000) 33856.5
chisq: (100) 33654.7
chisq: (10) 32396.2
chisq: (1) 20864.8
chisq: (0.1) 15961.4
chisq: (0.01) 9309.16
chisq: (0.001) 8436.88
chisq: (0.0001) 8300.59
thank you,
Best,
from treepl.
The best smoothing value has the lowest error. Sp this would be 0.0001. That is quite small. Are you sure the tree is rooted correctly? Maybe you should send me your phylogram and config file?
from treepl.
yes I have sent you previously but I'm sending you on your email. Thank you,
Best,
from treepl.
sent an email to you!
from treepl.
The tree that I have gotten using 0.0001 still has high node ages than expecting and reported. I don't know how to get true node ages.
from treepl.
Everything looks good to me. What is the issue? If you have more fossils you can specify more constraints.
from treepl.
okay then thank you.
Best,
from treepl.
Related Issues (20)
- Tree is invalid: missing concluding semicolon HOT 7
- segmentation fault HOT 2
- What exactly does "linear search failed" mean in terms of tree quality? HOT 4
- Unstable smooth values
- CV hanging HOT 1
- Writing a for loop for treepl? HOT 2
- Confidence Intervals: Bayesian vs ML
- treepl: command not found HOT 1
- Problem with mrca and tiny branch length at internal node. HOT 1
- Treepl+RaxML replicate trees HOT 1
- Installation problem
- treePL not following age calibrations HOT 4
- R script to check consistency of calibrations for 100 large trees (~3,000 taxa)? HOT 22
- Is there a license? HOT 1
- How to call treePL ?? HOT 11
- Segmentation fault (core dumped) when using prime
- Failed setting feasible start rates/dates after 10 attempts. Aborting. HOT 8
- The root time is biased towards the maximum time of the fossil which calibrated to the root. HOT 3
- Large variation among different replicates but with same parameters
- Installation issues 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 treepl.