Louis Le Nézet
06/10/2026, 1:46 PMtest_all ), from the same git repository nf-core/phaseimpute , from the same commit fa9fac8cd .
I'm running it on 4 different machine (PC windows, PC linux, github action, HPC).
The result from a SHAPEIT5_phase_common process differ ever so slightly but throw off all my nf-test assertion...
This test use the same file as input (same variants md5sum), use --thread 1 and --seed 1 .
This wasn't happening before and I can't figure out what changed since then.
The two PC aggree on the same variants hash a27ecf59af876aed33316ca37189dd9f while GA and HPC found 797b0fd345ce761987d4b3bddac4236a .
These md5 are stable accross multiples runs for each devices.
This happen only for chromosome 21, while chr22 is stable in the 4 conditions.Louis Le Nézet
06/10/2026, 1:47 PM0|1 become 1|0 or vice versa.Louis Le Nézet
06/10/2026, 1:54 PMsingularity run <https://depot.galaxyproject.org/singularity/shapeit5:5.1.1--hb60d31d_0> in linux and WSL I got access to my whole repository but on HPC I only got public_html singularity working_directory available.Louis Le Nézet
06/10/2026, 1:56 PMrunOptions = '--containall' to the singularity options doesn't solve the issue.Maxime Garcia
06/10/2026, 2:07 PMLouis Le Nézet
06/10/2026, 2:08 PMwhich tool produces this bcf?The bcf is created by the tool itself, no bcftools available in the singularity image.
Louis Le Nézet
06/10/2026, 2:36 PMLouis Le Nézet
06/10/2026, 6:55 PM1000GP_chr21_fixup2.vcf.gz is a .tbi in
SHAPEIT5_phase_common \
--seed 1 \
--input 1000GP_chr21_fixup2.vcf.gz \
--region chr21:16570070-16590513 \
--thread 1 \
--output 1000GP_chr21_16570070-16590513_chunks.bcf
For a freaking unknown reason .tbi resulted in a different result when used in singularity than in docker.
Using .csi stabilised the output.Louis Le Nézet
06/10/2026, 6:55 PMMaxime Garcia
06/10/2026, 6:59 PMMaxime Garcia
06/10/2026, 6:59 PMLouis Le Nézet
06/10/2026, 7:00 PMLouis Le Nézet
06/10/2026, 7:00 PMLouis Le Nézet
06/10/2026, 7:01 PMLouis Le Nézet
06/10/2026, 7:02 PMLouis Le Nézet
06/10/2026, 7:13 PMbcftools 1000GP_chr21_fixup.vcf.gz -Oz -o input.vcf.gz gives the following:
• if written in .bcf the result will be stable and gives the same hash A as the good one from docker (across docker and singularity)
• if written in .vcf.gz the result will be stable and gives the same hash B as the wrong one from singularity (across docker and singularity)
• if i give the original file singularity will give hash B in singularity (only on my PCs) and hash A in singularity (HPC and GA) and on docker...Louis Le Nézet
06/10/2026, 7:25 PM1000GP_chr21_fixup.vcf.gz even if it's stable, it might be wrongly stable...Louis Le Nézet
06/10/2026, 8:38 PM| bcftools view -Ob to vcflib/vcffixup fix the problem, I also need to change the output to bcf for the other upstream process.Louis Le Nézet
06/11/2026, 3:09 PMSHAPEIT5_phase_common but for only one chunk
Adding bcftools to the shapeit5 container does solve the issue.Louis Le Nézet
06/11/2026, 3:14 PMMaxime Garcia
06/11/2026, 3:20 PMMaxime Garcia
06/11/2026, 3:21 PMLouis Le Nézet
06/13/2026, 6:19 PM