From c464c98c61f594489e385b8bb67c32518dce59f8 Mon Sep 17 00:00:00 2001 From: zhenxian <920596906@qq.com> Date: Tue, 13 Feb 2024 11:47:00 +0800 Subject: [PATCH] Update run_clairs --- run_clairs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_clairs b/run_clairs index 0ed3ca0..367085d 100755 --- a/run_clairs +++ b/run_clairs @@ -580,8 +580,8 @@ def check_args(args): sys.exit(log_error("[ERROR] Tumor BAM index file {} or {} not found. Please run `samtools index $BAM` first.".format(args.tumor_bam_fn + '.bai', args.tumor_bam_fn + '.crai'))) - if args.enable_indel_calling and args.platform not in {'ont_r10_guppy', 'ont_r10', 'ont', 'hifi_revio', 'hifi_sequel2', 'ont_r10_dorado_sup_5khz', 'ont_r10_dorado_sup_4khz'}: - sys.exit(log_error("[ERROR] Indel calling only support 'ont_r10' and 'hifi_revio' platform")) + if args.enable_indel_calling and args.platform not in {'ont_r10_guppy', 'ont_r10', 'ont', 'hifi_revio', 'hifi_sequel2', 'ont_r10_dorado_sup_5khz', 'ont_r10_dorado_hac_5khz', 'ont_r10_dorado_sup_4khz'}: + sys.exit(log_error("[ERROR] Indel calling only support 'ont_r10_guppy', 'ont_r10_dorado_sup_5khz', 'ont_r10_dorado_hac_5khz', 'ont_r10_dorado_sup_4khz', and 'hifi_revio' platforms")) if args.genotyping_mode_vcf_fn is not None and args.hybrid_mode_vcf_fn is not None: sys.exit(log_error("[ERROR] Please provide either --genotyping_mode_vcf_fn or --hybrid_mode_vcf_fn only"))