Open corneliusroemer opened 2 months ago
I've tried the following, the error was always the same. Did I do it wrong? It would be nice if the error message acknowledge that I had already passed the tolerate numerical errors setting, the fact it doesn't makes it seem like I maybe haven't passed it correctly?
export ENV=TOLERATE_NUMERICAL_ERRORS=1; hyphy gard --alignment sample.fasta
ENV=TOLERATE_NUMERICAL_ERRORS=1; hyphy gard --alignment sample.fasta
ENV=TOLERATE_NUMERICAL_ERRORS=1 hyphy gard --alignment sample.fasta
hyphy gard --alignment sample.fasta --env TOLERATE_NUMBERICAL_ERRORS=1
Dear @corneliusroemer,
Please update the version of hyphy?
@liamxg I'm not sure I understand. I was using the latest version as far as I can tell. Can you explain what you meant?
Hi, @corneliusroemer,
I also have error:
Analysis Description
--------------------
GARD : Genetic Algorithms for Recombination Detection. Implements a
heuristic approach to screening alignments of sequences for
recombination, by using the CHC genetic algorithm to search for
phylogenetic incongruence among different partitions of the data. The
number of partitions is determined using a step-up procedure, while the
placement of breakpoints is searched for with the GA. The best fitting
model (based on c-AIC) is returned; and additional post-hoc tests run to
distinguish topological incongruence from rate-variation. v0.2 adds and
spooling results to JSON after each breakpoint search conclusion
- __Requirements__: A sequence alignment.
- __Citation__: **Automated Phylogenetic Detection of Recombination Using a Genetic
Algorithm**, _Mol Biol Evol 23(10), 1891–1901
- __Written by__: Sergei L Kosakovsky Pond
- __Contact Information__: spond@temple.edu
- __Analysis Version__: 0.2
type: nucleotide
rv: None
>Maximum number of breakpoints to consider (permissible range = [1,100000], default value = 10000, integer): max-breakpoints: 10000
mode: Normal
>Loaded a nucleotide multiple sequence alignment with **90** sequences, **3119** sites (2849 of which are variable) from `90.fas`
>Minimum size of a partition is set to be 1377 sites
### Fitting the baseline (single-partition; no breakpoints) model
Error:
Internal error
Internal error in ComputeBranchCache (branch gard.tree.part_0.Node1227, eval #3101 ) reversible model cached likelihood = -231791.7999910961, directly computed likelihood = -231813.4426094261. This is most likely because a non-reversible model was incorrectly auto-detected (or specified by the model file in environment variables; for smaller errors, this could be due to numerical instability of calculations for larger alignments).
Function call stack
1 : [namespace = YzHSiPVZ] Optimize(mles, ^lf_id);
-------
2 : [namespace = mvvazXJv] res=estimators.FitExistingLF(&likelihoodFunction,modelObjects);
-------
3 : gard.baseLikelihoodInfo=gard.fitPartitionedModel(null,gard.model,null,null,FALSE);
-------
Check errors.log for execution error details.
Dear @agselberg,
Do you have any comments on this, thanks.
Dear @corneliusroemer and @liamxg,
Use ENV="TOLERATE_NUMERICAL_ERRORS=1;"
on the HyPhy command line. Case sensitive, include "
, do not export as shell ENV.
hyphy gard --alignment sample.fasta ENV="TOLERATE_NUMERICAL_ERRORS=1;".
Best, Sergei
Dear @spond,
Thanks.
Stale issue message
I've been playing around with GARD and ran it on 10 and 20 randomly sampled Pango sequence founders.
When I tried it out on 27 sequences, however, I got an error:
File is this one: sample2.fasta.txt
errors.log: