Skip to content

result.pep.xml could not be found #422

@EmaEtch

Description

@EmaEtch

Description of the bug

Dear developers,

I am trying to use mhcquant but I am facing some problems running the initial tests.
I am running the following command in a conda environment where nextflow and singularity have been installed following your guidelines:
nextflow run nf-core/mhcquant -r 3.0.0 -profile test,singularity --outdir /mnt/users/xxx/output_dir -work-dir /mnt/users/xxx/nxf_works/work

But I am getting the following error:

ERROR ~ Error executing process > 'NFCORE_MHCQUANT:MHCQUANT:OPENMSTHIRDPARTY_COMETADAPTER (2)'

Caused by:
  Process `NFCORE_MHCQUANT:MHCQUANT:OPENMSTHIRDPARTY_COMETADAPTER (2)` terminated with an error exit status (1)


Command executed:

  CometAdapter \
      -in HepG2_rep2_small.mzML \
      -database UP000005640_9606_decoy.fasta \
      -out HepG2_rep2_small.idXML \
      -threads 2 \
      -pin_out HepG2_rep2_small_pin.tsv -instrument high_res -spectrum_batch_size 0 -activation_method ALL -precursor_mass_tolerance 5 -precursor_error_units ppm -fragment_mass_tolerance 0.01 -fragment_bin_offset 0.0 -num_hits 1 -digest_mass_range 800:2500 -max_variable_mods_in_peptide 3 -missed_cleavages 0 -precursor_charge 2:3 -fixed_modifications  -variable_modifications 'Oxidation (M)' -enzyme 'unspecific cleavage' -use_X_ions false -use_Z_ions false -use_A_ions false -use_C_ions false -use_NL_ions false
  
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_MHCQUANT:MHCQUANT:OPENMSTHIRDPARTY_COMETADAPTER":
      CometAdapter: $(CometAdapter 2>&1 | grep -E '^Version(.*)' | sed 's/Version: //g' | cut -d ' ' -f 1 | cut -d '-' -f 1)
      Comet: $(comet 2>&1 | grep -E "Comet version.*" | sed 's/Comet version //g' | sed 's/"//g')
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  INFO:    Converting SIF file to temporary sandbox...
  Could not remove directory 20251211_142039_net69-blade01-slot01_40_1!
  Error: File not found (the file '/tmp/20251211_142039_net69-blade01-slot01_40_1/result.pep.xml' could not be found)
  INFO:    Cleaning up image...

I have tried multiple configurations defining TMPDIR, NXF_TMPDIR, SINGULARITY_TMPDIR, SINGULARITY_HOME, NXF_HOME, but nothing is working correctly.
Do you have some clues to help me,
Thank you in advance,

Command used and terminal output

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions