Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update manifest4study file discrimination regex #187

Merged
merged 2 commits into from
Jun 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/npg_manifest4study
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down