nf-core / ampliseq

Amplicon sequencing analysis workflow using DADA2 and QIIME2
https://nf-co.re/ampliseq
MIT License
187 stars 117 forks source link

module compilation error #540

Closed skose82 closed 1 year ago

skose82 commented 1 year ago

Description of the bug

Hi there,

I'm attempting to run ampliseq on my HPC (CentOS) instance but get a module compilation issue. This issue does not arise on an ubuntu instance.

fastqc works fine outside the pipeline along with other dependencies. Perhaps I'm missing something really obvious? Metadata files and Sample IDs match etc. Any help would be greatly appreciated.

conda version: conda 4.9.2

conda list:

(qiime2_2022.11) `[user1@node01(hpc)` amp]$ conda list
# packages in environment at /home/user1/.conda/envs/qiime2_2022.11:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
_r-mutex                  1.0.1               anacondar_1    conda-forge
alsa-lib                  1.2.8                h166bdaf_0    conda-forge
atpublic                  3.0.1              pyhd8ed1ab_0    conda-forge
barrnap                   0.9                  hdfd78af_4    bioconda
bedtools                  2.30.0               h468198e_3    bioconda
bibtexparser              1.4.0              pyhd8ed1ab_0    conda-forge
binutils_impl_linux-64    2.40                 hf600244_0    conda-forge
brotli                    1.0.9                h166bdaf_8    conda-forge
brotli-bin                1.0.9                h166bdaf_8    conda-forge
brotlipy                  0.7.0           py38h0a891b7_1005    conda-forge
bwidget                   1.9.14               ha770c72_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.12.7            ha878542_0    conda-forge
cairo                     1.16.0            ha61ee94_1014    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py38h4a40e3a_3    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
coloredlogs               15.0.1             pyhd8ed1ab_3    conda-forge
colormath                 3.0.0                      py_2    conda-forge
contourpy                 1.0.7            py38hfbd4bf9_0    conda-forge
cryptography              39.0.1           py38h3d167d9_0    conda-forge
curl                      7.88.0               hdc1c0ab_0    conda-forge
cutadapt                  4.2              py38hbff2b2d_0    bioconda
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
dill                      0.3.6              pyhd8ed1ab_1    conda-forge
dnaio                     0.10.0           py38hbff2b2d_0    bioconda
expat                     2.5.0                h27087fc_0    conda-forge
fastqc                    0.11.9               hdfd78af_1    bioconda
flufl.lock                7.1                pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.38.0           py38h0a891b7_1    conda-forge
freetype                  2.12.1               hca18f0e_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
future                    0.18.3             pyhd8ed1ab_0    conda-forge
gcc_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
gettext                   0.21.1               h27087fc_0    conda-forge
gfortran_impl_linux-64    12.2.0              h55be85b_19    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
gsl                       2.7                  he838d99_0    conda-forge
gxx_impl_linux-64         12.2.0              hcc96c02_19    conda-forge
harfbuzz                  6.0.0                h8e241bc_0    conda-forge
hmmer                     3.3.2                h87f3376_2    bioconda
humanfriendly             10.0             py38h578d9bd_4    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        6.0.0              pyha770c72_0    conda-forge
importlib-resources       5.10.2             pyhd8ed1ab_0    conda-forge
importlib_resources       5.10.2             pyhd8ed1ab_0    conda-forge
isa-l                     2.30.0               ha770c72_4    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   h0b41bf4_3    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.4            py38h43d8883_1    conda-forge
krb5                      1.20.1               h81ceb04_0    conda-forge
lcms2                     2.14                 hfd0df8a_1    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_8    conda-forge
libbrotlidec              1.0.9                h166bdaf_8    conda-forge
libbrotlienc              1.0.9                h166bdaf_8    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libcups                   2.3.3                h36d4200_3    conda-forge
libcurl                   7.88.0               hdc1c0ab_0    conda-forge
libdeflate                1.17                 h0b41bf4_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     12.2.0              h3b97bd3_19    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libglib                   2.74.1               h606061b_1    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
libnghttp2                1.51.0               hff17c54_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libsanitizer              12.2.0              h46fd767_19    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               hf14f497_3    conda-forge
libstdcxx-devel_linux-64  12.2.0              h3b97bd3_19    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libtiff                   4.5.0                h6adf6a1_2    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.10.3               h7463322_0    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
lzstring                  1.0.4                   py_1001    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
markdown                  3.4.1              pyhd8ed1ab_0    conda-forge
markdown-it-py            2.1.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.1.2            py38h1de0b5d_0    conda-forge
matplotlib-base           3.7.0            py38hd6c3c57_0    conda-forge
mdurl                     0.1.0              pyhd8ed1ab_0    conda-forge
multiqc                   1.14               pyhdfd78af_0    bioconda
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
networkx                  3.0                pyhd8ed1ab_0    conda-forge
numpy                     1.24.2           py38h10c12cc_0    conda-forge
openjdk                   17.0.3               h58dac75_5    conda-forge
openjpeg                  2.5.0                hfec8fc6_2    conda-forge
openssl                   3.0.8                h0b41bf4_0    conda-forge
packaging                 23.0               pyhd8ed1ab_0    conda-forge
pandas                    1.5.3            py38hdc8b05c_0    conda-forge
pango                     1.50.12              hd33c08f_1    conda-forge
pbzip2                    1.1.13                        0    conda-forge
pcre2                     10.40                hc3806b6_0    conda-forge
perl                      5.32.1          2_h7f98852_perl5    conda-forge
pigz                      2.6                  h27826a3_0    conda-forge
pillow                    9.4.0            py38hde6dc18_1    conda-forge
pip                       23.0               pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
psutil                    5.9.4            py38h0a891b7_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.14.0             pyhd8ed1ab_0    conda-forge
pyopenssl                 23.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.8.16          he550d4f_1_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-isal               1.1.0            py38h0a891b7_1    conda-forge
python_abi                3.8                      3_cp38    conda-forge
pytz                      2022.7.1           pyhd8ed1ab_0    conda-forge
pyyaml                    6.0              py38h0a891b7_5    conda-forge
qiime2                    2022.11.1                py38_0    qiime2
r-base                    4.2.2                ha7d60f8_3    conda-forge
readline                  8.1.2                h0f457ee_0    conda-forge
requests                  2.28.2             pyhd8ed1ab_0    conda-forge
rich                      13.3.1             pyhd8ed1ab_1    conda-forge
rich-click                1.6.1              pyhd8ed1ab_0    conda-forge
sed                       4.8                  he412f7d_0    conda-forge
setuptools                67.3.1             pyhd8ed1ab_0    conda-forge
simplejson                3.18.3           py38h1de0b5d_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
spectra                   0.0.11                     py_1    conda-forge
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tktable                   2.10                 hb7b940f_3    conda-forge
typing_extensions         4.4.0              pyha770c72_0    conda-forge
tzlocal                   2.1                pyh9f0ad1d_0    conda-forge
unicodedata2              15.0.0           py38h0a891b7_0    conda-forge
urllib3                   1.26.14            pyhd8ed1ab_0    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
xopen                     1.7.0            py38h578d9bd_1    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-libxtst              1.2.3             h7f98852_1002    conda-forge
xorg-recordproto          1.14.2            h7f98852_1002    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
zipp                      3.13.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstandard                 0.19.0           py38h5945529_1    conda-forge
zstd                      1.5.2                h3eb15da_6    conda-forge

Command used and terminal output



N E X T F L O W  ~  version 20.10.0
Launching `nf-core/ampliseq` [gloomy_borg] - revision: 83877d2fe5 [master]
------------------------------------------------------
                                        ,--./,-.
        ___     __   __   __   ___     /,-._.--~'
  |\ | |__  __ /  ` /  \ |__) |__         }  {
  | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                        `._,._,'
  nf-core/ampliseq v2.4.1
------------------------------------------------------
Core Nextflow options
  revision    : master
  runName     : 
  launchDir   : /data/user1/amp
  workDir     : /data/user1/amp/work
  projectDir  : /home/user1/.nextflow/assets/nf-core/ampliseq
  userName    : user1
  profile     : conda
  configFiles : /home/user1/.nextflow/assets/nf-core/ampliseq/nextflow.config

Main arguments
  input       : /data/user1/amp/
  FW_primer   : GTGYCAGCMGCCGCGGTAA
  RV_primer   : GGACTACNVGGGTWTCTAAT
  metadata    : input/Metadata.tsv
  outdir      : /data/user1/amp/

Generic options
  enable_conda: true

!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
If you use nf-core/ampliseq for your analysis please cite:

* The pipeline publication
  https://doi.org/10.3389/fmicb.2020.550420

* The pipeline
  https://doi.org/10.5281/zenodo.1493841

* The nf-core framework
  https://doi.org/10.1038/s41587-020-0439-x

* Software dependencies
  https://github.com/nf-core/ampliseq/blob/master/CITATIONS.md
------------------------------------------------------
WARN: Conda is enabled (`--enable_conda`), any steps involving QIIME2 are not available. Use a container engine instead of conda to enable all software.
WARN: No DADA2 cutoffs were specified (`--trunclenf` & `--trunclenr`), therefore reads will be truncated where median quality drops below 25 (defined by `--trunc_qmin`) but at least a fraction of 0.75 (defined by `--trunc_rmin`) of the reads will be retained.
The chosen cutoffs do not account for required overlap for merging, therefore DADA2 might have poor merging efficiency or even fail.
Module compilation error
- file : /home/skose/.nextflow/assets/nf-core/ampliseq/./workflows/../modules/nf-core/fastqc/main.nf
- cause: Invalid process definition -- Unknown keyword `stub` @ line 49, column 5.
       def prefix = task.ext.prefix ?: "${meta.id}"
       ^

1 error

### Relevant files

_No response_

### System information

Nextflow/20.10.0
Conda 4.9.2
HPC
local/Slurm
Conda/Singularity tried both
CentOS Linux
nf-core/ampliseq 2.4.1
d4straub commented 1 year ago

Please update your nextflow version, that might help. I assume the invalid process definition is caused by the old nextflow version. I did think that ampliseq is supposed to raise a warning/error when using such an old nextflow version, because here version 21.10.3 is minimum.

skose82 commented 1 year ago

Thank you d4straub, this did the trick, we had to update the module on our HPC instance.

The pipeline ran fine until the end with dump software versions, would you know what this could be about?

-[nf-core/ampliseq] Pipeline completed with errors-
Error executing process > 'NFCORE_AMPLISEQ:AMPLISEQ:CUSTOM_DUMPSOFTWAREVERSIONS (1)'

Caused by:
  Process `NFCORE_AMPLISEQ:AMPLISEQ:CUSTOM_DUMPSOFTWAREVERSIONS (1)` terminated with an error exit status (1)

Command executed [/home/user1/.nextflow/assets/nf-core/ampliseq/./workflows/../modules/nf-core/custom/dumpsoftwareversions/templates/dumpsoftwareversions.py]:

  #!/usr/bin/env python

  import yaml
  import platform
  from textwrap import dedent

  def _make_versions_html(versions):
      html = [
          dedent(
              """\
              <style>
              #nf-core-versions tbody:nth-child(even) {
                  background-color: #f2f2f2;
              }
              </style>
              <table class="table" style="width:100%" id="nf-core-versions">
                  <thead>
                      <tr>
                          <th> Process Name </th>
                          <th> Software </th>
                          <th> Version  </th>
                      </tr>
                  </thead>
              """
          )
      ]
      for process, tmp_versions in sorted(versions.items()):
          html.append("<tbody>")
          for i, (tool, version) in enumerate(sorted(tmp_versions.items())):
              html.append(
                  dedent(
                      f"""\
                      <tr>
                          <td><samp>{process if (i == 0) else ''}</samp></td>
                          <td><samp>{tool}</samp></td>
                          <td><samp>{version}</samp></td>
                      </tr>
                      """
                  )
              )
          html.append("</tbody>")
      html.append("</table>")
      return "\n".join(html)

  versions_this_module = {}
  versions_this_module["NFCORE_AMPLISEQ:AMPLISEQ:CUSTOM_DUMPSOFTWAREVERSIONS"] = {
      "python": platform.python_version(),
      "yaml": yaml.__version__,
  }

  with open("collated_versions.yml") as f:
      versions_by_process = yaml.load(f, Loader=yaml.BaseLoader) | versions_this_module

  # aggregate versions by the module name (derived from fully-qualified process name)
  versions_by_module = {}
  for process, process_versions in versions_by_process.items():
      module = process.split(":")[-1]
      try:
          assert versions_by_module[module] == process_versions, (
              "We assume that software versions are the same between all modules. "
              "If you see this error-message it means you discovered an edge-case "
              "and should open an issue in nf-core/tools. "
          )
      except KeyError:
          versions_by_module[module] = process_versions

  versions_by_module["Workflow"] = {
      "Nextflow": "22.10.6",
      "nf-core/ampliseq": "2.4.1",
  }

  versions_mqc = {
      "id": "software_versions",
      "section_name": "nf-core/ampliseq Software Versions",
      "section_href": "https://github.com/nf-core/ampliseq",
      "plot_type": "html",
      "description": "are collected at run time from the software output.",
      "data": _make_versions_html(versions_by_module),
  }

  with open("software_versions.yml", "w") as f:
      yaml.dump(versions_by_module, f, default_flow_style=False)
  with open("software_versions_mqc.yml", "w") as f:
      yaml.dump(versions_mqc, f, default_flow_style=False)

  with open("versions.yml", "w") as f:
      yaml.dump(versions_this_module, f, default_flow_style=False)

Command exit status:
  1

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File ".command.sh", line 54, in <module>
      versions_by_process = yaml.load(f, Loader=yaml.BaseLoader) | versions_this_module
  TypeError: unsupported operand type(s) for |: 'dict' and 'dict'

Work dir:
  /data/user1/amp/work/86/7e8d57277695cbf8fa5ffee5dc7cad

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
d4straub commented 1 year ago

Unfortunately not, this particular process is part of the nf-core template. TypeError: unsupported operand type(s) for |: 'dict' and 'dict' seems to indicate again some sort of software problem, i.e. the environment you use to execute the process is inappropriate. I guess this might be again a conda problem (consider using singularity or any other real container system, conda is last resort only!). You can experiment by adding to your command -c new_env.config and new_env.config can contains:

process {
    withName: CUSTOM_DUMPSOFTWAREVERSIONS {  conda = "bioconda::multiqc=1.14" }
}

this will change the conda env from 1.13 (see current here) to 1.14, potentially helping with the problem. Disclaimer: not tested, just speculating

skose82 commented 1 year ago

Thank you for your reply. I have tried with singularity, but it has thus far gone through most of the steps and stalled on the qiime2 section. Where it pulls a possibly outdated version of qiime2 (currently it's at 2022.11) with the pull 2022.8. I'm not sure if that's the issue, but it has been building the SIF file for quite a long time. System params are 24 CPUS at 8GB per CPU.

Error executing process > 'NFCORE_AMPLISEQ:AMPLISEQ:QIIME2_INTAX (ASV_tax_species.tsv)'

Caused by:
  Failed to pull singularity image
  command: singularity pull  --name quay.io-qiime2-core-2022.8.img.pulling.1676562590618 docker://quay.io/qiime2/core:2022.8 > /dev/null
  status : 143
  message:
    time="2023-02-16T15:49:50Z" level=warning msg="\"/run/user/19153\" directory set by $XDG_RUNTIME_DIR does not exist. Either create the directory or unset $XDG_RUNTIME_DIR.: stat /run/user/19153: no such file or directory: Trying to pull image in the event that it is a public image."
    INFO:    Converting OCI blobs to SIF format
    INFO:    Starting build...
    time="2023-02-16T15:49:51Z" level=warning msg="\"/run/user/19153\" directory set by $XDG_RUNTIME_DIR does not exist. Either create the directory or unset $XDG_RUNTIME_DIR.: stat /run/user/19153: no such file or directory: Trying to pull image in the event that it is a public image."
    time="2023-02-16T15:49:52Z" level=warning msg="\"/run/user/19153\" directory set by $XDG_RUNTIME_DIR does not exist. Either create the directory or unset $XDG_RUNTIME_DIR.: stat /run/user/19153: no such file or directory: Trying to pull image in the event that it is a public image."
    Getting image source signatures
    Copying blob sha256:42c077c10790d51b6f75c4eb895cbd4da37558f7215b39cbf64c46b288f89bda
    Copying blob sha256:1a23c9d790a34c5bb13dbaf42e0ea2a555e089aefed7fdfa980654f773b39b39
    Copying blob sha256:22a6fc63b9b529f00082379be512f0ca1c7a491872396994cf59b47e794c5e09
    Copying blob sha256:42b7f294ddbda82da5a69b0675429a15dba0766bd64bafb23d78f809c5de8b5a
    Copying blob sha256:1ee3d7358a92f1712f27fc911035fac4651ad6b3f7c97da8cc38a3b78f5b074c
    Copying blob sha256:e6062fa5f610cc620655ed8b2fb29958b3727f948528bc6a402e9de3922a92a1
    Copying blob sha256:97eeee145658c1d01efaf2797bf58fa5a2ff10a93e12f000545da61332b491dd
    Copying blob sha256:b5ca682aa46ae8c65f085739ab2b482f712bb8394c428774f8fa8eca86ee8cd3
    Copying blob sha256:f243d33467c7dccdc960f779c896627b806c24930e555c031a50b4d0f7e2fab9
    Copying blob sha256:6a4d753ac330f9bc7ecf4e77b9c4e44a4b93c4aaa1fe37fd585c1b419fbd0ad8
    Copying blob sha256:1ad759e143f36f80d4ea718efc85b40a7d80b75818d9869e027263682c6e89c8
    Copying blob sha256:83ab021118e2a67cf71929bea0b9cec8c0008705406ded76519f703876b35b01
    Copying blob sha256:6c22f43930cb8d2bfa59b408c25d67f0ac8f9c803d2bc4b38393195c6c006157
    Copying blob sha256:f8eac0b5854d0fc2929ca318afc25a7501c4fd3463ba0d36ed5242e1f3d34aff
    Copying blob sha256:206e727c2a9c92d5417ea7191e25da7ff36d884a864027ed57e11c858319c372
    Copying blob sha256:3d51d16b3fd67df4d938c7514279ebd51b62d17abc3aee75ca2e36e3fa87341b
    Copying config sha256:636582997d9636e249957f5de4a5d4acc17863d030c99da8c1f3a0664455e773
    Writing manifest to image destination
    Storing signatures
    2023/02/16 15:52:52  info unpack layer: sha256:42c077c10790d51b6f75c4eb895cbd4da37558f7215b39cbf64c46b288f89bda
    2023/02/16 15:52:55  info unpack layer: sha256:1a23c9d790a34c5bb13dbaf42e0ea2a555e089aefed7fdfa980654f773b39b39
    2023/02/16 15:53:00  info unpack layer: sha256:22a6fc63b9b529f00082379be512f0ca1c7a491872396994cf59b47e794c5e09
    2023/02/16 15:53:07  info unpack layer: sha256:42b7f294ddbda82da5a69b0675429a15dba0766bd64bafb23d78f809c5de8b5a
    2023/02/16 15:53:07  info unpack layer: sha256:1ee3d7358a92f1712f27fc911035fac4651ad6b3f7c97da8cc38a3b78f5b074c
    2023/02/16 15:53:22  info unpack layer: sha256:e6062fa5f610cc620655ed8b2fb29958b3727f948528bc6a402e9de3922a92a1
    2023/02/16 15:53:22  info unpack layer: sha256:97eeee145658c1d01efaf2797bf58fa5a2ff10a93e12f000545da61332b491dd
    2023/02/16 15:53:22  info unpack layer: sha256:b5ca682aa46ae8c65f085739ab2b482f712bb8394c428774f8fa8eca86ee8cd3
    2023/02/16 15:53:22  info unpack layer: sha256:f243d33467c7dccdc960f779c896627b806c24930e555c031a50b4d0f7e2fab9
    2023/02/16 15:57:21  info unpack layer: sha256:6a4d753ac330f9bc7ecf4e77b9c4e44a4b93c4aaa1fe37fd585c1b419fbd0ad8
    2023/02/16 15:57:21  info unpack layer: sha256:1ad759e143f36f80d4ea718efc85b40a7d80b75818d9869e027263682c6e89c8
    2023/02/16 15:57:21  info unpack layer: sha256:83ab021118e2a67cf71929bea0b9cec8c0008705406ded76519f703876b35b01
    2023/02/16 15:57:21  info unpack layer: sha256:6c22f43930cb8d2bfa59b408c25d67f0ac8f9c803d2bc4b38393195c6c006157
    2023/02/16 15:57:21  info unpack layer: sha256:f8eac0b5854d0fc2929ca318afc25a7501c4fd3463ba0d36ed5242e1f3d34aff
    2023/02/16 15:57:21  info unpack layer: sha256:206e727c2a9c92d5417ea7191e25da7ff36d884a864027ed57e11c858319c372
    2023/02/16 16:05:37  info unpack layer: sha256:3d51d16b3fd67df4d938c7514279ebd51b62d17abc3aee75ca2e36e3fa87341b
    INFO:    Creating SIF file...
d4straub commented 1 year ago

stalled on the qiime2 section.

the container is a few GB, so it takes time

Where it pulls a possibly outdated version of qiime2

it pulls the correct version (which is not the latest)

Your error message includes time="2023-02-16T15:49:51Z" level=warning msg="\"/run/user/19153\" directory set by $XDG_RUNTIME_DIR does not exist. might be a improperly set up singularity, that might be the reason, I am not sure though.

The best first test is probably to pull the container manually into folder work/singularity (if you didnt overwrite singularity chache dir) with singularity pull --name quay.io-qiime2-core-2022.8.img docker://quay.io/qiime2/core:2022.8 as indicated in your error message. That will provide the singularity image for the pipeline and it wont be downloaded any more (because its there). Hence the pipeline would use the existing image and succeed hopefully.

d4straub commented 1 year ago

Since the original issue (compilation error) was solved, I close that issue. But you are welcome to open new issues and/or join the nf-core slack.

skose82 commented 1 year ago

Thank you very much - that fixed the problem.