Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get warnings when running lphy scripts #59

Open
yxu927 opened this issue May 13, 2024 · 0 comments
Open

Get warnings when running lphy scripts #59

yxu927 opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yxu927
Copy link
Collaborator

yxu927 commented May 13, 2024

When I try running the Lphy scripts seems always appear warnings like "WARNING: branch length used to get equilibrium distribution was not long enough!"

The script I use:
data {
L = 1000;

}
model {
N0 ~ LogNormal(meanlog=8,sdlog=0.5);
f0 ~ Beta(alpha=40, beta=2);
b ~ LogNormal(meanlog=-0.95,sdlog=0.2);
gompertzPopFunc = gompertz(N0=N0,f0=f0, b=b);

gompertzPopFunc= gompertz(N0=N0,f0=f0, b=b);
ψ ~ CoalescentPopFunc(n=40, popFunc=gompertzPopFunc);

π ~ Dirichlet(conc=[30.0,3.0,3.0,3.0,3.0,30.0,3.0,3.0,3.0,3.0,30.0,3.0,3.0,3.0,3.0,30.0]);
rates ~ Dirichlet(conc=[1.0, 2.0, 1.0, 1.0, 2.0, 1.0]);
Q = gt16(freq=π, rates=rates); // construct the GT16 instantaneous rate matrix
A ~ PhyloCTMC(L=1000, Q=Q, tree=ψ, dataType=phasedGenotype(), mu=0.01);
// epsilon ~ Beta(alpha=1, beta=50);
// delta ~ Beta(alpha=1, beta=2);
// E ~ GT16ErrorModel(delta=delta, epsilon=epsilon, alignment=A);
D = unphase(A);
}

@yxu927 yxu927 added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant