Skip to content

Commit

Permalink
fixing demulti_fast5
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacozzuto committed Dec 9, 2024
1 parent fdcf061 commit 9b6223d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions mop_preprocess/mop_preprocess.nf
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ checkTools(tools, progPars)
// Create a channel for excluded ids
barcodes_to_include = get_barcode_list(params.barcodes)



def guppy_basecall_pars = guppypars + " " + progPars["basecalling--guppy"]

def basecaller_pars = ["guppy" : guppy_basecall_pars, "dorado" : progPars["basecalling--dorado"] ]
Expand Down Expand Up @@ -425,7 +427,7 @@ workflow {
demufq = outbc.demultiplexed_fastqs
bc_stats = reshapeSamples(outbc.basecalling_stats)
bc_demux_stats = reshapeSamples(outbc.basecalling_stats).groupTuple()
outbc.basecalled_fast5.view()
//outbc.basecalled_fast5.view()
break;

case "dorado":
Expand All @@ -452,7 +454,7 @@ workflow {

// DEMULTI FAST5
if (demulti_fast5_opt == "ON") {
outbc.basecalled_fast5.view()
// outbc.basecalled_fast5.view()
basecalled_fast5 = reshapeSamples(outbc.basecalled_fast5).transpose().groupTuple()
if (params.barcodes == "") {
DEMULTI_FAST5(bc_demux_stats, basecalled_fast5)
Expand Down

0 comments on commit 9b6223d

Please sign in to comment.