typo fix for all rule, fixed f-string handling in dorado model folder helper

This commit is contained in:
Tom Kasper
2026-09-17 22:26:44 +01:00
parent 08467102c8
commit 1511281885
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ rule all:
#'../data/raw_pod5/' #'../data/raw_pod5/'
#'../data/pod5_files_to_pull', #'../data/pod5_files_to_pull',
#'../data/basecalled_reads/hac.fastq.gz' #'../data/basecalled_reads/hac.fastq.gz'
expand('../data/raw_pod5/PBK98658_853a956f_57f83f46_{batch}.fastq.gz',batch=range(1,config["pod5_dataset_size"]+1,config["pod5_stride"])) expand('../data/raw_pod5/PBK98658_853a956f_57f83f46_{batch}.pod5',batch=range(1,config["pod5_dataset_size"]+1,config["pod5_stride"]))
use rule * from preparation use rule * from preparation
use rule * from baseline use rule * from baseline
+2 -1
View File
@@ -3,7 +3,8 @@ def get_model_name(wildcards):
return config[config_param] return config[config_param]
def get_model_requirement(wildcards): def get_model_requirement(wildcards):
return f"{config['dorado_model_dir']}/{config[f'{wildcards.model}_model_name']} config_param=f'{wildcards.model}_model_name'
return config['dorado_model_dir']+'/'+config[config_param]
def get_benchmarking_file(wildcards): def get_benchmarking_file(wildcards):
config_param = f'{wildcards.model}_benchmarks_file' config_param = f'{wildcards.model}_benchmarks_file'