diff --git a/Changes b/Changes index bf45b434..a8b1121b 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,11 @@ LIST OF CHANGES + - update regex to discriminate crams to consider in manifest4study bin. + regex will look for filename patterns including: + - xxxxx#z.cram + - xxxxx_y#z.cram + - xxxxx_y-y#z.cram + release 44.1.0 - inital ml warehouse run data loader for pacbio data - move from Travis CI to GitHub Actions diff --git a/bin/npg_manifest4study b/bin/npg_manifest4study index 3edc13d3..befc6a67 100755 --- a/bin/npg_manifest4study +++ b/bin/npg_manifest4study @@ -254,7 +254,7 @@ sub _uploaded_files { while (<$fh>) { ##no critic (RegularExpressions::RequireExtendedFormatting RegularExpressions::ProhibitEscapedMetacharacters ProhibitComplexRegexes) - if ( m{(\S+/(\d+)/((\d+)(?:_(\d))?#(\d+)[.]cram)):.*Hash \(md5\):\s+(\S+)}sm ) { + if ( m{(\S+/(\d+)/((\d+)(?:_(\d)(?:-\d)*)?#(\d+)[.]cram)):.*Hash \(md5\):\s+(\S+)}sm ) { my $path = $1; my $sample = $2; my $file_name = $3;