Anne Marie Noronha
03/24/2025, 7:48 PMAnne Marie Noronha
03/24/2025, 9:12 PMMiriam Saffern
03/25/2025, 11:07 PMMaxime Garcia
04/14/2025, 10:41 AMMaxime Garcia
04/14/2025, 10:41 AMJonas S
04/14/2025, 3:30 PMJess Palmer
04/16/2025, 2:36 PMMichael Cariaso
06/09/2025, 4:31 PMNFCORE_HLATYPINGHLATYPINGYARA_INDEX_hla_reference_dnafasta
NFCORE_HLATYPINGHLATYPINGFASTQC_CRAM2FQ
NFCORE_HLATYPINGHLATYPINGYARA_MAPPER_CRAM2FQ
but
NFCORE_HLATYPINGHLATYPINGOPTITYPE_CRAM2FQ
crashes during
docker run -t -i -v /home/ec2-user/miniconda:/home/ec2-user/miniconda -e AWS_MAX_ATTEMPTS='5' -e FUSION_WORK='/fusion/s3/bucket-nf-runs/work/results/batch-hlatyping-None-1749483511/1749483511/d9/13a5baa041e5532f2fc7cdaba43900' -e AWS_RETRY_MODE='standard' -e AWS_METADATA_SERVICE_NUM_ATTEMPTS='5' -e FUSION_TAGS='[.command.*|.exitcode|.fusion.*](nextflow.io/metadata=true),[*](nextflow.io/temporary=true)' wave.seqera.io/wt/986a3ea6c723/biocontainers/optitype:1.3.5--0 /usr/bin/fusion bash /fusion/s3/bucket-nf-runs/work/results/batch-hlatyping-None-1749483511/1749483511/d9/13a5baa041e5532f2fc7cdaba43900/.command.run
with
#1 4:22PM INF instance metadata ami-id=ami-0a8b0f0096f5967de instance-id=i-0e3850c1d7f29f06a instance-type=m7i-flex.16xlarge
#1 Traceback (most recent call last):
#1 File "/usr/local/bin/OptiTypePipeline.py", line 309, in <module>
#1 pos, read_details = ht.pysam_to_hdf(bam_paths[0])
#1 File "/usr/local/bin/hlatyper.py", line 240, in pysam_to_hdf
#1 pos_df.columns = sam.references[:]
#1 File "/usr/local/lib/python3.10/site-packages/pandas/core/generic.py", line 6310, in __setattr__
#1 return object.__setattr__(self, name, value)
#1 File "properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
#1 File "/usr/local/lib/python3.10/site-packages/pandas/core/generic.py", line 813, in _set_axis
#1 self._mgr.set_axis(axis, labels)
#1 File "/usr/local/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 238, in set_axis
#1 self._validate_set_axis(axis, new_labels)
#1 File "/usr/local/lib/python3.10/site-packages/pandas/core/internals/base.py", line 98, in _validate_set_axis
#1 raise ValueError(
#1 ValueError: Length mismatch: Expected axis has 0 elements, new values have 11179 elements
#1 Fusion Info:
#1 ami-id: ami-0a8b0f0096f5967de
#1 instance-id: i-0e3850c1d7f29f06a
#1 instance-type: m7i-flex.16xlarge
#1 fusion_version: 2.4.13-cd14732
#1 clone_namespace: false
#1 kernel_version: 6.1
#1 disk_cache_size: 19Gb
#1 max_open_files: 1048576
#1 of 1 END Essential container in task exited
I initially noted this on 2.0.0 but when I popped into to this room to raise the question, I noticed 2.10 was out, and I've just replicated it, and the only notable difference is in the aws batch job name
NFCORE_HLATYPINGHLATYPINGOPTITYPE_CRAM2FQ vs
NFCORE_HLATYPINGHLATYPINGOPTITYPE_CRAM2FQ_T1
can anyone offer insight?Michael Cariaso
06/13/2025, 11:40 PMMichael Cariaso
06/19/2025, 5:15 PMRike Hanssen
07/23/2025, 12:22 PMMichael Cariaso
09/06/2025, 1:48 PMfrom=/tmp/job/nf-1frHILRZOsnwXl-reports.tsv
into the nextflow workDir as
to=s3://patientuser-nf-runs/work/results/batch-hlatyping-None-1756984078/1756984078/nf-1frHILRZOsnwXl-reports.tsv
The same pipeline works fine for all other files I've tested with, but for a particular 100xWGS the nextflow job never finishes. All worker instances run successfully and then shutdown, but the nextflow process continues to write lines to .nextflow.log forever. The final lines look like this
Sep-05 01:56:19.628 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
Sep-05 01:57:19.629 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
Sep-05 01:58:19.630 [main] INFO nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
Sep-05 01:59:19.631 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
Sep-05 02:00:19.633 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
Sep-05 02:01:19.634 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
Sep-05 02:02:19.635 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
And will continue forever.
Sep-05 01:56:19.628 [main] DEBUG nextflow.util.ThreadPoolHelper - Waiting for file transfers to complete (2 files)
The file it mentions
s3://patientuser-nf-runs/work/results/batch-hlatyping-None-1756984078/1756984078/nf-1frHILRZOsnwXl-reports.tsv
is successfully placed into s3.
The contents of .nextflow.log show this duplication
Sep-05 01:44:25.693 [Timer-0] DEBUG n.cloud.aws.nio.S3FileSystemProvider - S3 upload file from=/tmp/job/nf-1frHILRZOsnwXl-reports.tsv to=s3://patientuser-nf-runs/work/results/batch-hlatyping-None-1756984078/1756984078/nf-1frHILRZOsnwXl-reports.tsv
Sep-05 01:48:25.774 [Timer-0] DEBUG n.cloud.aws.nio.S3FileSystemProvider - S3 upload file from=/tmp/job/nf-1frHILRZOsnwXl-reports.tsv to=s3://patientuser-nf-runs/work/results/batch-hlatyping-None-1756984078/1756984078/nf-1frHILRZOsnwXl-reports.tsv
Which are notably 'Timer' based, and recurring every 4m. I see no harm in the reuploading, if it finishes.
This is the running process
/usr/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.nio.file.spi=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.file=ALL-UNNAMED --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED -Dfile.encoding=UTF-8 -Dcapsule.trampoline -Dcapsule.java.cmd=/usr/bin/java -Dcom.sun.security.enableAIAcaIssuers=true -Djava.awt.headless=true -jar /home/myp3/.nextflow/framework/25.07.0-edge/nextflow-25.07.0-edge-one.jar -c /tmp/hlatyping-5s1681o3-nfconf.txt run nf-core/hlatyping -r 2.1.0 -params-file nfconf.yaml -work-dir s3://patientuser-nf-runs/work/results/batch-hlatyping-None-1756984078/1756984078 --monochrome_logs -ansi-log false
strace shows me it's doing a
futex(0xffffa48161f0, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 51, NULL, FUTEX_BITSET_MATCH_ANY
The problem is perfectly reproducible for this input file, but smaller runs seem to have no issue.
Attached are full config & logs from a run.
ideas? workarounds?
HelpMichael Cariaso
09/08/2025, 1:04 AM25.07.0-edge
but absent on
ENV NXF_VER=25.04.6
good enough for me.Jonas S
09/15/2025, 7:19 AMRike Hanssen
11/17/2025, 9:56 AMRike Hanssen
12/18/2025, 10:07 AMJonas S
01/14/2026, 9:39 PMJonas S
02/02/2026, 9:37 AMuser
02/02/2026, 12:46 PMissues, pulls, commits, releases, deploymentsuser
02/02/2026, 12:49 PMuser
02/02/2026, 12:49 PMreleasesTyler Gross
03/05/2026, 5:16 PMVikesh Ajith
03/11/2026, 6:22 AMINFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
Matplotlib created a temporary cache directory at /tmp/matplotlib-z3brma01 because the default path (/home/vajith/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Traceback (most recent call last):
File "/usr/local/bin/OptiTypePipeline.py", line 309, in <module>
pos, read_details = ht.pysam_to_hdf(bam_paths[0])
File "/usr/local/bin/hlatyper.py", line 240, in pysam_to_hdf
pos_df.columns = sam.references[:]
File "/usr/local/lib/python3.10/site-packages/pandas/core/generic.py", line 6310, in __setattr__
return object.__setattr__(self, name, value)
File "properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
File "/usr/local/lib/python3.10/site-packages/pandas/core/generic.py", line 813, in _set_axis
self._mgr.set_axis(axis, labels)
File "/usr/local/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 238, in set_axis
self._validate_set_axis(axis, new_labels)
File "/usr/local/lib/python3.10/site-packages/pandas/core/internals/base.py", line 98, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 0 elements, new values have 11179 elements
Seems to be related to this issue but I can't find any obvious fixJonas S
06/03/2026, 5:25 PMJonas S
06/15/2026, 9:51 AMMichael Heuer
06/15/2026, 3:31 PMThe problem: MHC nomenclature is nuts๐ Ask how I know
Phil Ewels
07/21/2026, 2:11 PMVikesh Ajith
08/18/2026, 5:13 AM1.5.0
โข Adds cplex package to container for completeness so that all three optitype solvers are supported
โข Enable multithreading for cbc/cplex solvers
When this PR gets merged, I will be able to merge in my other PR updating the module and some of the body code.Jonas S
09/04/2026, 9:08 AMThomas Weber
11/04/2026, 4:29 PM