Skip to content

Commit

Permalink
Merge pull request #518 from dozy/spatial_filter_file_names
Browse files Browse the repository at this point in the history
change naming of spatial_filter stats files for spatial_filter check
  • Loading branch information
dozy authored May 29, 2018
2 parents 7c65e66 + f1096a3 commit 0eeda38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LIST OF CHANGES FOR NPG-QC PACKAGE
- tag_metics matches_pf_percent only stored to three decimals places now
so trim in viewer
- modified spatial filter qc check to read all run_lane filter.stats files
- changed naming of spatial_filter stats files to <run>_<lane>*.spatial_filter.stats
- upstream_tags qc check - replaced bamindexdecoder with bambi decode
- dropped ability for qc checks to sub-sample input fastq
instead run the checks directly off the cached fastq files
Expand Down
2 changes: 1 addition & 1 deletion lib/npg_qc/autoqc/checks/spatial_filter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ our $VERSION = '0';

override 'execute' => sub {
my ($self) = @_;
my $filter_stats_file_name_glob = $self->qc_in . q{/} . $self->id_run . '_' . $self->position . q{*.filter.stats};
my $filter_stats_file_name_glob = $self->qc_in . q{/} . $self->id_run . '_' . $self->position . q{*.spatial_filter.stats};
my @filter_stats_files = glob $filter_stats_file_name_glob or
croak "Cannot find any filter stats files using $filter_stats_file_name_glob";
$self->result->parse_output(\@filter_stats_files); #read stderr from spatial_filter -a for each sample
Expand Down

0 comments on commit 0eeda38

Please sign in to comment.