Giter Site home page Giter Site logo

Node ages about treepl HOT 12 CLOSED

blackrim avatar blackrim commented on September 15, 2024
Node ages

from treepl.

Comments (12)

josephwb avatar josephwb commented on September 15, 2024

@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.

 avatar commented on September 15, 2024

Thank you Joseph. Best,

from treepl.

 avatar commented on September 15, 2024

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.

josephwb avatar josephwb commented on September 15, 2024

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.

 avatar commented on September 15, 2024

okay, I'm running the configure file.
Thank you,
Best,

from treepl.

 avatar commented on September 15, 2024

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.

josephwb avatar josephwb commented on September 15, 2024

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.

 avatar commented on September 15, 2024

yes I have sent you previously but I'm sending you on your email. Thank you,
Best,

from treepl.

 avatar commented on September 15, 2024

sent an email to you!

from treepl.

 avatar commented on September 15, 2024

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.

josephwb avatar josephwb commented on September 15, 2024

Everything looks good to me. What is the issue? If you have more fossils you can specify more constraints.

from treepl.

 avatar commented on September 15, 2024

okay then thank you.
Best,

from treepl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.