Skip to content

Commit

Permalink
Adjust min_flank_score threshold to 0.5
Browse files Browse the repository at this point in the history
and fix failing integration test.
  • Loading branch information
tijyojwad committed Mar 21, 2024
1 parent dad9593 commit 351f333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dorado/utils/barcode_kits.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct BarcodeKitScoringParams {
int flank_right_pad = 10;
int front_barcode_window = 175;
int rear_barcode_window = 175;
float min_flank_score = 0.6f;
float min_flank_score = 0.5f;
};

struct KitInfo {
Expand Down
4 changes: 2 additions & 2 deletions tests/test_simple_basecaller_execution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ test_barcoding_read_groups() (

# There should be 4 reads with BC01, 3 with BC04, and 2 unclassified groups.
test_barcoding_read_groups barcode01 4 barcode04 3 unclassified 2
# There should be 5 reads with BC01 aliased to patient_id_1, and 4 unclassified groups.
test_barcoding_read_groups patient_id_1 5 unclassified 4 $data_dir/barcode_demux/sample_sheet.csv
# There should be 4 reads with BC01 aliased to patient_id_1, and 5 unclassified groups.
test_barcoding_read_groups patient_id_1 4 unclassified 5 $data_dir/barcode_demux/sample_sheet.csv

# Test demux only on a pre-classified BAM file
$dorado_bin demux --no-classify --output-dir "$output_dir/demux_only_test/" $output_dir/read_group_test.bam
Expand Down

0 comments on commit 351f333

Please sign in to comment.