Is it recommended to locally download checkm2 db a...
# mag
p
Is it recommended to locally download checkm2 db as well? do we know of any similar issues in the past?
Copy code
Caused by:
  Process `NFCORE_MAG:MAG:BIN_QC:CHECKM2_DATABASEDOWNLOAD` terminated with an error exit status (22)


Command executed:

  # Automatic download is broken when using singularity/apptainer (<https://github.com/chklovski/CheckM2/issues/73>)
  # So it's necessary to download the database manually
  aria2c                  --checksum md5=07c10655620843b517d0df0c160d911f         <https://zenodo.org/records/14897628/files/checkm2_database.tar.gz>
  
  tar -xzf checkm2_database.tar.gz
  db_path=$(find -name *.dmnd)
  mv $db_path checkm2_db_v3.dmnd
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_MAG:MAG:BIN_QC:CHECKM2_DATABASEDOWNLOAD":
      aria2: $(echo $(aria2c --version 2>&1) | grep 'aria2 version' | cut -f3 -d ' ')
  END_VERSIONS

Command exit status:
  22

Command output:
  
  01/09 13:31:37 [NOTICE] Downloading 1 item(s)
  [#61681e 0B/0B CN:1 DL:0B]
  
  01/09 13:31:38 [ERROR] CUID#7 - Download aborted. URI=<https://zenodo.org/records/14897628/files/checkm2_database.tar.gz>
  Exception: [<http://AbstractCommand.cc:351|AbstractCommand.cc:351>] errorCode=22 URI=<https://zenodo.org/records/14897628/files/checkm2_database.tar.gz>
    -> [<http://HttpSkipResponseCommand.cc:239|HttpSkipResponseCommand.cc:239>] errorCode=22 The response status is not successful. status=403
  
  01/09 13:31:38 [NOTICE] Download GID#61681e151c419cf1 not complete:
d
Hi! And yes, please download the CheckM2 database before running the pipeline. Especially now, because Zenodo made some changes and the automatic download doesn't work because of that.
p
Understood. thanks Diego!