Open hjjansen opened 1 year ago
I also face that error.
I found that this program works when sqlalchemy
is version 1.4
.
I found that this program works when
sqlalchemy
is version1.4
.
My version is
pip show sqlalchemy
Output:
Name: SQLAlchemy Version: 1.4.0 Summary: Database Abstraction Library Home-page: http://www.sqlalchemy.org Author: Mike Bayer Author-email: mike_mp@zzzcomputing.com License: MIT Location: /home/nextgen/.local/lib/python3.8/site-packages Requires: greenlet Required-by: geenuff
And the error remains.
This issue can be resolved by installing sqlalchemy-1.4.49
.
Thank you for providing the means to train our own models. This will be a useful resource as more and more genomes are being sequenced. I read the disclaimer but still wanted to train a model to annotate a specific group of animal genomes (parasitiformes). There are a number of genomes and annotations available in NCBI so I downloaded those and then used this command
python import2geenuff.py --fasta GCF_002443255.2_Vdes_3.0_genomic.fna --gff3 GCF_002443255.2_Vdes_3.0_genomic.gff --db-path Varroa_destructor.sqlite3 --log-file Varroa_destructor.import.log --species Varroa_destructor
to generate the sqlite3 files. It read the fasta file but errors on reading the gff file:Indeed the mk_mapper function in importer.py seems to be missing code to handel this situation. Is this caused by something in the gff file that GeenuFF can't yet handle? Is it possible to elaborate a little bit more on this error? If so we can try to help writing something that handles this.