Skip to content

Commit

Permalink
expose numberOfNegativeControls in illumina_demux (#498)
Browse files Browse the repository at this point in the history
In the event demux is run with a samplesheet containing only one sample row, find_uncertain_barcodes() will fail since it assumes at least one NTC is present in the samplesheet. The changes in this commit allow the user to set this param to zero, which should allow outlier detection to succeed.
  • Loading branch information
tomkinsc authored Nov 17, 2023
1 parent 7264289 commit 94ae9d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipes/WDL/tasks/tasks_demux.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ task illumina_demux {
Int? threads
String? runStartDate
Int? maxRecordsInRam
Int? numberOfNegativeControls
Int? machine_mem_gb
Int disk_size = 2625
Expand Down Expand Up @@ -337,7 +338,7 @@ task illumina_demux {
--out_runinfo runinfo.json \
--loglevel=DEBUG
illumina.py guess_barcodes --expected_assigned_fraction=0 barcodes.txt metrics.txt barcodes_outliers.txt
illumina.py guess_barcodes ~{'--number_of_negative_controls ' + numberOfNegativeControls} --expected_assigned_fraction=0 barcodes.txt metrics.txt barcodes_outliers.txt
illumina.py flowcell_metadata --inDir $FLOWCELL_DIR flowcellMetadataFile.tsv
Expand Down

0 comments on commit 94ae9d5

Please sign in to comment.