From e24c47ddeb6916800f7d4ec1e10638968dd55d96 Mon Sep 17 00:00:00 2001 From: Yalan Bi Date: Thu, 16 Sep 2021 10:25:28 +0100 Subject: [PATCH 1/2] update how to define a sequencing experiment in validator --- perl_modules/EBI/FGPT/Reader/MAGETAB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl_modules/EBI/FGPT/Reader/MAGETAB.pm b/perl_modules/EBI/FGPT/Reader/MAGETAB.pm index 7e79029..1f48f8e 100644 --- a/perl_modules/EBI/FGPT/Reader/MAGETAB.pm +++ b/perl_modules/EBI/FGPT/Reader/MAGETAB.pm @@ -1051,7 +1051,7 @@ sub _check_files_exist { my @comments = $self->get_magetab->get_comments; my @type_comments = grep { $_->get_name eq "AEExperimentType" } @comments; - $is_seq = grep { $_->get_value =~ /seq/i } @type_comments; + $is_seq = grep { $_->get_value =~ /seq/i|/-C$|CUT&RUN/ } @type_comments; } $self->info("Checking for presence of data files"); From 0dadf56816498c9f964157f5a4cddba58ae51993 Mon Sep 17 00:00:00 2001 From: Yalan Bi Date: Tue, 28 Sep 2021 10:46:57 +0100 Subject: [PATCH 2/2] case insensitive for all --- perl_modules/EBI/FGPT/Reader/MAGETAB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl_modules/EBI/FGPT/Reader/MAGETAB.pm b/perl_modules/EBI/FGPT/Reader/MAGETAB.pm index 1f48f8e..5b574c4 100644 --- a/perl_modules/EBI/FGPT/Reader/MAGETAB.pm +++ b/perl_modules/EBI/FGPT/Reader/MAGETAB.pm @@ -1051,7 +1051,7 @@ sub _check_files_exist { my @comments = $self->get_magetab->get_comments; my @type_comments = grep { $_->get_name eq "AEExperimentType" } @comments; - $is_seq = grep { $_->get_value =~ /seq/i|/-C$|CUT&RUN/ } @type_comments; + $is_seq = grep { $_->get_value =~ /seq|-C$|CUT&RUN/i } @type_comments; } $self->info("Checking for presence of data files");