From c43360a3f33fb9e351610701fa1d7807714469dd Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 29 Aug 2019 13:17:11 -0400 Subject: [PATCH] increase snp overlap filter requirement --- main.nf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.nf b/main.nf index 430d0e2..4cfa7d5 100644 --- a/main.nf +++ b/main.nf @@ -4406,9 +4406,9 @@ annotations_tables_paired_filtered.choice( annotations_tables_paired_filtered_go long tumor_count = Files.lines(tumor_tsv).count() long normal_count = Files.lines(normal_tsv).count() - // good if either has >1 lines - if (tumor_count > 1) output_ch = 0 - if (normal_count > 1) output_ch = 0 + // good if either has >2 lines; 1 header and one entry + if (tumor_count > 2) output_ch = 0 + if (normal_count > 2) output_ch = 0 return(output_ch) }