Famke Bäuerle
09/15/2025, 7:59 AMCommand error:
INFO: 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
/usr/local/bin/orange: line 6: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Exception in thread "main" java.lang.IllegalArgumentException: Failed to determine tool directory for configuration [virus_dir/virusintrprtr].
at com.hartwig.hmftools.orange.util.PathResolver.resolveMandatoryToolDirectory(PathResolver.java:40)
at com.hartwig.hmftools.orange.OrangeWGSRefConfig.createConfig(OrangeWGSRefConfig.java:82)
at com.hartwig.hmftools.orange.OrangeConfig.createConfig(OrangeConfig.java:305)
at com.hartwig.hmftools.orange.OrangeApplication.main(OrangeApplication.java:28)Famke Bäuerle
09/15/2025, 8:00 AMnextflow run nf-core/oncoanalyser \
-revision 2.2.0 \
-config /mnt/lustre/groups/nahnsen/nahbu450/pm4onco/2025-09_oncoanalyser/refdata.local.config \
-profile m3c \
--mode wgts \
--processes_exclude virusinterpreter \
--genome GRCh38_hmf \
--input /mnt/lustre/groups/nahnsen/nahbu450/pm4onco/2025-09_oncoanalyser/imgag-fastq.csv \
--outdir /mnt/lustre/groups/nahnsen/nahbu450/pm4onco/2025-09_oncoanalyser/imgag-fastq/ \
-resumeFamke Bäuerle
09/15/2025, 8:00 AMnextflow run nf-core/oncoanalyser \
-revision 2.2.0 \
-profile m3c \
--mode prepare_reference \
--ref_data_types wts,dna_alignment \
--genome GRCh38_hmf \
--outdir oncoanalyser-reference/
and then added the paths to the refdata.local.config as described in the readme 🙂Rayan Hassaïne
09/15/2025, 8:34 AMFamke Bäuerle
09/15/2025, 9:52 AMRayan Hassaïne
09/15/2025, 10:03 AMRayan Hassaïne
09/15/2025, 10:04 AMFamke Bäuerle
09/15/2025, 10:05 AMRayan Hassaïne
09/15/2025, 10:06 AMRayan Hassaïne
09/15/2025, 10:16 AMStephen Watts
09/15/2025, 12:21 PMStephen Watts
09/15/2025, 12:22 PMStephen Watts
09/15/2025, 12:23 PM$ git clone https://github.com/hartwigmedical/hmftools/
$ cd hmftools/
$ git diff orange-v3.8.1..orange-v4.1 -- orange/src/main/java/com/hartwig/hmftools/orange/OrangeWGSRefConfig.java | sed -n 72,85p
@@ -112,11 +79,8 @@ public interface OrangeWGSRefConfig
String tumorSampleId = configBuilder.getValue(TUMOR_SAMPLE_ID);
// Params required for WGS, Tumor only
- String virusDir = pathResolver.resolveOptionalToolDirectory(VIRUS_DIR_CFG, VIRUS_INTERPRETER_DIR);
- if(virusDir != null)
- {
- builder.annotatedVirusTsv(mandatoryPath(AnnotatedVirusFile.generateFileName(virusDir, tumorSampleId)));
- }
+ String virusDir = pathResolver.resolveMandatoryToolDirectory(VIRUS_DIR_CFG, VIRUS_INTERPRETER_DIR);
+ builder.annotatedVirusTsv(mandatoryPath(AnnotatedVirusFile.generateFileName(virusDir, tumorSampleId)));
String chordDir = pathResolver.resolveMandatoryToolDirectory(CHORD_DIR_CFG, CHORD_DIR);
builder.chordPredictionTxt(mandatoryPath(ChordDataFile.generateFilename(chordDir, tumorSampleId)));Stephen Watts
09/15/2025, 12:24 PMStephen Watts
09/15/2025, 12:25 PM