Skip to content

Commit

Permalink
Fix numbering batch
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisLeNezet committed Nov 6, 2024
1 parent eb5ef67 commit 98dba2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/phaseimpute/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ workflow PHASEIMPUTE {
.map{ error "Input files must be either BAM/CRAM or VCF/BCF" }

// Group BAMs by batch size
def nb_batch = 0
def nb_batch = -1
ch_input_bams = ch_input_type.bam
.toSortedList { it1, it2 -> it1[0]["id"] <=> it2[0]["id"] }
.map { list -> list.collate(params.batch_size)
Expand Down

0 comments on commit 98dba2a

Please sign in to comment.