Closed valery-shap closed 6 months ago
I have the same problem for multiqc
, might be related to https://github.com/ewels/MultiQC/issues/2112.
@johanneswerner Thank you! I will try, but it seems that the critical error is in the rule dram_download.
@SilasK is there a quick fix or a working release I can downgrade to where this issue does not occur?
For the multiqc error you can activate the conda env of the rule and install the missing package.
You can also downgrade to python 3.11 inside this env.
For the drem error. It seems that it cannot find a database shortbread. Let me check if you can deactivate this specific db.
For now you can continue atlas with --keep-going
@SilasK thank you very much for reply! the problem is with dbCAN "Something went wrong with the download of the url: http://bcb.unl.edu/dbCAN2/download/dbCAN-HMMdb-V11.txt" Could i download it offline and just put in the right folder? I have attached the log file of dram_download download_dram.log
Best regards, Valery
I don't know why this happens. Here would be a manual solution.
I think for Dram you can also
activate the conda environment and
run the command directly.
DRAM-setup.py prepare_databases --output_dir /home/vshapovalova/shortbred-0.9.4/1042A_atlas_results_slurm2/databases/DRAM/db --threads 8 --verbose --skip_uniref &> logs/dram/download_dram.log
Unfortunately, atlas deletes all files upon error
--dbcan_loc dbCAN-HMMdb-V11.txt
Finally export the config file
DRAM-setup.py export_config --output_file /home/vshapovalova/shortbred-0.9.4/1042A_atlas_results_slurm2/databases/DRAM/DRAM.config
Hi there,
I am also getting a multiqc error similar to the one above, also containing the imp error. (in short):
ATLAS_genomes.err
rule multiqc_mapping_genome:
input: genomes/alignments/stats/i02S3.stats, genomes/alignments/stats/i02SM01.stats, ...
output: reports/genome_mapping/results.html
log: logs/genomes/alignment/multiqc.log
jobid: 2147
reason: Missing output files: reports/genome_mapping/results.html
resources: mem_mb=1000, mem_mib=954, disk_mb=1000, disk_mib=954, tmpdir=
multiqc.log
...
File "/home/conda/int_microbiome/databases/atlas/condaenvs/a0f70fea96d2e29d2cb26720d8bf26bd/lib/python3.12/site-packages/future/standard_library/init.py", line 65, in
In this github discussion Silas said: "for the multiqc error you can activate the conda env of the rule and install the missing package."
Could you please tell me specifically how and in which directory to activate and to install the package?
Big thanks in advance!
Just to say that is't not my fault but the error comes of incompatibility upstream with python 12.
Solution in your case would be:
conda activate /home/conda/int_microbiome/databases/atlas/condaenvs/a0f70fea96d2e29d2cb26720d8bf26bd
conda install -y imp
conda deactivate
Sorry Silas, I didn't want to offend you at all!! I will try it, thank you so much and also for you fast response!
No problem..
There was no activity since some time. I hope your issue is solved in the mean time. This issue will automatically close soon if no further activity occurs.
Thank you for your contributions.
that issue was not solved. It's due to an incompatibility of MultiQC with Python3.12, which was fixed here. See https://github.com/metagenome-atlas/atlas/pull/714
multiqc_mapping_genome and dram_download
Here is the relevant log output:
Atlas version 2.18.1 Additional context I've checked #664 issue and 'conda config --set channel_priority strict ' was done but it didn't help. I attached the full log file.
A lot of thanks, 2023-10-29T105800.412899.snakemake.log
Valery