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 and Flavia Negrete committed Dec 8, 2023
1 parent d86d201 commit db3966e
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 db3966e

Please sign in to comment.