Skip to content

Commit a9521de

Browse files
authored
bclconvert: Update Dockerfile (#1819)
* Update Dockerfile * Output only top level InterOp files * Update tag
1 parent 009f7c6 commit a9521de

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

modules/bclconvert/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ RUN apt-get update \
1111
&& apt-get install -y \
1212
procps \
1313
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
14+
# Link hostname cmd to fix hardcoded path
15+
RUN ln -s /bin/hostname /usr/bin/hostname
1416
COPY bcl-convert /usr/local/bin/bcl-convert
1517
RUN chmod +x /usr/local/bin/bcl-convert

modules/bclconvert/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
process BCLCONVERT {
2-
tag "$meta.id"
2+
tag {"$meta.lane" ? "$meta.id"+"."+"$meta.lane" : "$meta.id" }
33
label 'process_high'
44

55
if (params.enable_conda) {
@@ -17,7 +17,7 @@ process BCLCONVERT {
1717
tuple val(meta), path("Undetermined_S0_L00?_I?_00?.fastq.gz") ,optional:true, emit: undetermined_idx
1818
tuple val(meta), path("Reports") ,emit: reports
1919
tuple val(meta), path("Logs") ,emit: logs
20-
tuple val(meta), path("**.bin") ,emit: interop
20+
tuple val(meta), path("**/InterOp/*.bin") ,emit: interop
2121
path("versions.yml") ,emit: versions
2222

2323
when:

0 commit comments

Comments
 (0)