dammit
dammit copied to clipboard
unable to install databases
Hi,
I installed dammit dev version (pip install git+https://github.com/camillescott/dammit.git).
If I try to install a database ( dammit databases --install --busco-group eukaryota) I'm getting following error:
## submodule: databases
Traceback (most recent call last):
File "/home/peter/.local/bin/dammit", line 9, in
Yesterday I tried to install dammit via conda and obtained same error.
If somebody has an idea: Thank you!
@peter0k, I ran into the same issue but fixed it by adding doit=0.35.0
to my conda environment. My .yml file at the time of building the conda dammit environment looked like the below. Hope this helps
name: null
channels:
- conda-forge
- defaults
- bioconda
dependencies:
- python=3
- doit=0.35.0
- dammit
But subsequently, I ran into the same error as Issue 241 Trying to figure out now a way out of this new error :-(
Seems like I might need to give up on this. Most required db files were downloaded (my command-line after activating the conda environment- dammit databases --install --database-dir /data/conda_dammit_env/db --full --busco-group eukaryota
) excepting the OrthoDB one (as the older version files that dammit requires isn't available on OrthoDB anymore). I got around the OrthoDB download issue by downloading an old version of the db files that was archived at Zenodo by a kind user in this thread. Unzipped this downloaded db and I then replaced busco2db (containing busco fungal lineage) in this dir with the eukaryota lineage containing busco2db that I had downloaded at the initial step. I then set the database path by entering export DAMMIT_DB_DIR=/data/conda_dammit_env/old_db/dbs
and ran the command dammit annotate thin2_rnaspades_assembly.fasta --busco-group eukaryota --n_threads 32
. I encountered yet another error TypeError: lastal_task() got an unexpected keyword argument 'pbs'
which I fixed by commenting out the line starting with pbs
in /data/conda_dammit_env/lib/python3.8/site-packages/dammit/annotate.py (as suggested in this thread). I now reran the above damit annotate command-line and I have encountered a new strand
error at the hmmscan-gff3:thin2_rnaspades_assembly.fasta.x.pfam-A.gff3
step-
File "pandas/_libs/hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'strand'
`
DAMM IT!!!! :-(