-
Notifications
You must be signed in to change notification settings - Fork 24
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
std::out of range error #153
Comments
Can you share your tree and input files? Or send them directly to me if you prefer. What lambda did you input manually? |
Hi Dr. Fulton,
Firstly, thank you for responding to my request.
I have attached the files I used to create this issue.
*Orthogroups.GeneCount.cafe5.tsv* and
*SpeciesTree_rooted.txt.ultrametric.tre* are the initial inputs for the
first estimation run that failed due to large differentials between min and
max count, the log file of which is *cafe5.log*.
Next, I removed some orthogroups to (detailed in *removed*) and re-ran the
analysis with *Orthogroups.GeneCount.cafe5_reduced.tsv* and the same tree.
The log file for this run is *cafe5_reduced.log*. The run resulted in an
estimated lambda (detailed in *lambda*) and two output files (
*Base_results.txt* and *Base_family_likelihoods.txt*), but failed after
"Computing pvalues...".
The orthogroups and tree were made with orthofinder.
I have already run this analysis with very similar input and got back
complete results.
Any advice you could provide would be much appreciated.
Thank you again.
[cafe5.tar.gz](https://github.com/hahnlab/CAFE5/files/13112418/cafe5.tar.gz)
…On Mon, 23 Oct 2023 at 16:50, Ben Fulton ***@***.***> wrote:
Can you share your tree and input files? Or send them directly to me if
you prefer. What lambda did you input manually?
—
Reply to this email directly, view it on GitHub
<#153 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCHDOYAOXFC2AMO2KVHGATYAZYZTAVCNFSM6AAAAAA6J6WVICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVGI2DMNJRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This appears to be a bug in CAFE in handling family sizes over 1000. I believe you only have one, in the very first family, so if you remove that one it should work. If you are technically inclined, you could edit config.h and modify the value of MAX_STACK_FAMILY_SIZE to 2000 and that should work as well. We'll try to get a fix in, but I don't know for when we have another CAFE release planned. |
Hello I also met this error as follows: And I checkd the input file with no family > 1000; Really appreaciated for your help! |
Hello |
I edited config.h MAX_STACK_FAMILY_SIZE to 5000 and recompiled. |
|
I tried running cafe5 with many species and got a valid lambda only after removing 17 OGs (from orthofinder). However, afterwards I always get the following error:
I tried decreasing the CPU number to 1 and inputting the lambda manually. The happens in the conda environment v5.0 as well as the v5.1 from GitHub.
Could you advise me on what could be done?
Thank you.
The text was updated successfully, but these errors were encountered: