Skip to content

Commit

Permalink
Merge branch 'smalton/DOR-956-demux-aligned' into 'master'
Browse files Browse the repository at this point in the history
[DOR-956] Demux aligned reads

Closes DOR-956

See merge request machine-learning/dorado!1274
  • Loading branch information
malton-ont committed Nov 21, 2024
2 parents 35da003 + 7b303a3 commit 631e94c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dorado/cli/demux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,11 @@ int demuxer(int argc, char* argv[]) {
barcode_kits::add_custom_barcode_kit(kit_name, kit_info);
}
client_info->contexts().register_context<const demux::BarcodingInfo>(barcoding_info);
auto trimmer = pipeline_desc.add_node<TrimmerNode>({demux_writer}, 1);
pipeline_desc.add_node<BarcodeClassifierNode>({trimmer}, demux_threads);
auto current_node = demux_writer;
if (!no_trim) {
current_node = pipeline_desc.add_node<TrimmerNode>({demux_writer}, 1);
}
pipeline_desc.add_node<BarcodeClassifierNode>({current_node}, demux_threads);
}

// Create the Pipeline from our description.
Expand Down

0 comments on commit 631e94c

Please sign in to comment.