Skip to content

Commit

Permalink
Merge branch 'jdaw/fix-barcode-documentation' into 'master'
Browse files Browse the repository at this point in the history
fix custom barcode documentation

See merge request machine-learning/dorado!801

(cherry picked from commit 12329e5)

8e33c0c fix custom barcode documentation
64fa1cd add read filename to debug log
  • Loading branch information
tijyojwad committed Jan 17, 2024
1 parent 8c2d004 commit 76f24b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions documentation/CustomBarcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ The following are all the options that can be defined in the arrangement file.
name = "custom_barcode"
kit = "BC"
mask_1_front = "ATCG"
mask_1_rear = "ATCG"
mask_2_front = "TTAA"
mask_2_rear = "GGCC"
mask1_front = "ATCG"
mask1_rear = "ATCG"
mask2_front = "TTAA"
mask2_rear = "GGCC"
# Barcode sequences
barcode1_pattern = "BC%02i"
Expand All @@ -44,7 +44,7 @@ last_index = 96
min_soft_barcode_threshold = 0.2
min_hard_barcode_threshold = 0.2
min_soft_flank_threshold = 0.3
min_hard_barcode_threshold = 0.3
min_hard_flank_threshold = 0.3
min_barcode_score_dist = 0.1
```

Expand Down
1 change: 1 addition & 0 deletions dorado/data_loader/DataLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ void DataLoader::load_reads(const std::string& path,
if (m_loaded_read_count == m_max_reads) {
break;
}
spdlog::debug("Load reads from file {}", entry.path().string());
std::string ext = std::filesystem::path(entry).extension().string();
std::transform(ext.begin(), ext.end(), ext.begin(),
[](unsigned char c) { return std::tolower(c); });
Expand Down

0 comments on commit 76f24b2

Please sign in to comment.