Comments (4)
I also got this error, but now in 2.1.4-beta
on macOS
and it drove me mad.
I couldn't pin it down. A reboot fixed it. Very strange.
IQ-TREE multicore version 2.1.4-beta COVID-edition for Mac OS X 64-bit built Jun 24 2021
ERROR: alignment.cpp:77: std::__1::string &Alignment::getSeqName(int): Assertion `i >= 0 && i < (int)seq_names.size()' failed.
from iqtree2.
Now I got the error using version 2.2.0-beta
on centOS.
When I downloaded the fasta file to my local computer and ran the same command that errored on the cluster, no error was thrown.
When I deleted the log files and the potentially corrupted output tree from previous runs it ran through without error. So I guess as a workaround, one can try to remove intermediary output files from iqtree.
By the way, in the new version, the code line has changed, in case anyone googles this.
ERROR: alignment.cpp:80: std::__1::string &Alignment::getSeqName(int): Assertion `i >= 0 && i < (int)seq_names.size()' failed.
from iqtree2.
I found this relevant message from the maintainer @bqminh in the Google group:
This line in the log is relevant (just printed right before the error messages):
NOTE: Restoring information from model checkpoint file AS.pruning-0.5.model.gz
It means that you had a previous (unfinished) run and IQ-TREE loaded the checkpoint file. From what you wrote below, Iām guessing that you now change the alignment file (-s option). This causes incompability between the checkpoint and the alignment.
So try to run again with another --prefix and see how it goes.
https://groups.google.com/g/iqtree/c/Gii__XoEIdU/m/w0JsQqEKCwAJ
And indeed, I think I also aborted a previous run and that's when the error appeared.
I'm not quite sure what the easiest workaround is when one hits this error. I also think it would be nice if iqtree would not error in this situation.
from iqtree2.
Yes, it would have been nice to print such more informative error message... But since you found the answer I'll close this issue.
from iqtree2.
Related Issues (20)
- Different tree format for scfl? HOT 1
- Double 2.3.4 tags HOT 5
- Any suggestions to handle different variations?
- IQ-TREE CRASHES WITH SIGNAL ABORTED HOT 5
- Double-quoting numeric values in gCF & sCFL .cf.tree.nex output makes FigTree to sort them as strings HOT 2
- IQtree uses an overly stringent constraint tree parsers HOT 2
- Redundant double-bracket ā((ā¦))ā with closing bracket ending at (line 1 column 6596) HOT 2
- Sequence order in the input and parallelism affect reproducibility HOT 5
- IQTree::optimizeNNI(bool): Assertion `curScore > appliedNNIs.at(0).newloglh - 0.1' failed. HOT 3
- IQ-TREE CRASHES WITH SIGNAL ABORTED: -czb threshold specification HOT 4
- cannot access docs HOT 1
- Description of -fast option HOT 1
- ModelFinder doesn't save checkpoint of FreeRate model to model.gz file HOT 2
- Replace the zlib library with zstd or lz4
- [Feature Request] Add site-specific rate profile support HOT 3
- How to obtain the site frequency for each amino acid site under a homogeneous model HOT 1
- Add option to force-unroot input trees HOT 4
- problem with start the program in command HOT 12
- [BUG] Infinite loop while using BNNI under PMSF model HOT 2
- Error when estimating linked exchangeabilities (GTRpmix) HOT 4
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 iqtree2.