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

Merge devel to master for release 2.53.0 #488

Merged
merged 26 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b7b4025
Add sample_uuid to Illumina annotator
marcomoscasgr Nov 29, 2024
c560332
Add sample uuid to Pacbio annotator
marcomoscasgr Nov 29, 2024
dd1d09c
Update AgfDataObjectTest with sample_uuid
marcomoscasgr Dec 2, 2024
430dbe8
Update copyright for Illumina and PAcbio Annotators
marcomoscasgr Dec 2, 2024
2e30a0c
Add sample_lims for Pacbio Annotator
marcomoscasgr Dec 3, 2024
0a30950
Allow for naming differences in unbarcoded bam files from SMRT Link d…
ces Dec 4, 2024
1d391c5
Remove unnecessary json file
ces Dec 4, 2024
ca865ae
Pacbio - in v13.1 onboard processing no longer produces a fail_reads.…
ces Dec 6, 2024
46c5e66
Merge pull request #483 from ces/pacbio33
kjsanger Dec 9, 2024
9e61010
Update tests in AlnDataObjectTest with the sample_uuid
marcomoscasgr Dec 10, 2024
9d94306
Fix indentation in AlnDataObjectTest
marcomoscasgr Dec 10, 2024
e69637c
Add sample_lims for Illumina Annotator
marcomoscasgr Dec 11, 2024
4b74b78
Update tests in AgfDataObjectTest for sample_lims
marcomoscasgr Dec 11, 2024
fcbff2d
Fix indentation in AlnDataObjectTest for sample_uuid attributes
marcomoscasgr Dec 11, 2024
866f48d
Change to any
ces Dec 12, 2024
297fdb6
Merge pull request #482 from ces/pacbio32
kjsanger Dec 12, 2024
d900d57
Merge pull request #481 from marcomoscasgr/feature/sample-lims-and-sa…
mgcam Dec 13, 2024
33506ec
Remove GridION test modules
marcomoscasgr Dec 16, 2024
25e8f07
Remove GridION references from metadata
marcomoscasgr Dec 16, 2024
2bbb6b1
Merge pull request #484 from marcomoscasgr/remove-unused-ONT-test-files
mgcam Dec 17, 2024
3a48229
Installed libdevel-patchperl-perl in GitHub runner.
mgcam Dec 18, 2024
e94f4ff
Merge pull request #485 from mgcam/fix_perl_brew
jmtcsngr Dec 18, 2024
37ea305
Bump Singularity to 4.2.2
jmtcsngr Jan 8, 2025
f13ee80
Merge pull request #486 from jmtcsngr/singularity_ci
kjsanger Jan 9, 2025
c3a677c
prep release 2.53.0
jmtcsngr Jan 16, 2025
465ce39
Merge pull request #487 from jmtcsngr/devel
jmtcsngr Jan 17, 2025
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
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
shell: bash -l -e -o pipefail {0}

env:
SINGULARITY_VERSION: "3.11.1"
SINGULARITY_VERSION: "4.2.2"
PERL_CACHE: ~/perl5 # Perlbrew and CPAN modules installed here, cached
NPG_LIB: ~/perl5npg # NPG modules installed here, not cached
WTSI_NPG_BUILD_BRANCH: ${{ github.base_ref || github.ref }}
Expand Down Expand Up @@ -87,6 +87,7 @@ jobs:
sudo apt-get install -qq libgd-dev libgd-text-perl # For npg_tracking
sudo apt-get install -qq liblzma-dev # For npg_qc
sudo apt-get install -qq pigz # for BioNano run publication in npg_irods
sudo apt-get install -qq libdevel-patchperl-perl # For perlbrew

- name: "Install Singularity"
run: |
Expand Down
12 changes: 12 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
Unreleased

Release 2.53.0 (2025-01-17)
- Fixed perlbrew installation by installing libdevel-patchperl-perl in
GitHub runner.
- Allow for naming differences in unbarcoded bam files from SMRT Link
deplexing
- Pacbio - in v13.1 onboard processing changes
- Update the annotators of Illumina and Pacbio to accept sample_uuid and
sample_lims
- Remove unused ONT files and references
- Install libdevel-patchperl-perl in GitHub runner
- Bump Singularity to 4.2.2 for CI

Release 2.52.0 (2024-12-02)
- Minor changes and tests for IsoSeq csi publishing
- collect pipeline central, postqc and product release logs from BAM_basecalls
Expand Down
4 changes: 3 additions & 1 deletion lib/WTSI/NPG/HTS/Illumina/Annotator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,12 @@ sub make_sample_metadata {
my $method_attr =
{sample_accession_numbers => $SAMPLE_ACCESSION_NUMBER,
sample_ids => $SAMPLE_ID,
sample_lims => $SAMPLE_LIMS,
sample_names => $SAMPLE_NAME,
sample_public_names => $SAMPLE_PUBLIC_NAME,
sample_common_names => $SAMPLE_COMMON_NAME,
sample_supplier_names => $SAMPLE_SUPPLIER_NAME,
sample_uuids => $SAMPLE_UUID,
sample_cohorts => $SAMPLE_COHORT,
sample_donor_ids => $SAMPLE_DONOR_ID};

Expand Down Expand Up @@ -585,7 +587,7 @@ Keith James <kdj@sanger.ac.uk>, Iain Bancarz <ib5@sanger.ac.uk>

=head1 COPYRIGHT AND DISCLAIMER

Copyright (C) 2015, 2016, 2017, 2018, 2019 Genome Research Limited.
Copyright (C) 2015, 2016, 2017, 2018, 2019, 2024 Genome Research Limited.
All Rights Reserved.

This program is free software: you can redistribute it and/or modify
Expand Down
5 changes: 0 additions & 5 deletions lib/WTSI/NPG/HTS/Metadata.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ use Exporter qw[import];

## no critic (Modules::ProhibitAutomaticExportation)
our @EXPORT = qw[
$EXPERIMENT_NAME
$GRIDION_DEVICE_ID
$LIBRARY_TYPE
$SEQCHKSUM
$HUMAN
Expand All @@ -24,9 +22,6 @@ our $VERSION = '';

# Annotation

our $EXPERIMENT_NAME = 'experiment_name';
our $GRIDION_DEVICE_ID = 'device_id';

our $LIBRARY_TYPE = 'library_type';
our $SEQCHKSUM = 'seqchksum';

Expand Down
4 changes: 2 additions & 2 deletions lib/WTSI/NPG/HTS/PacBio/AnalysisPublisher.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use namespace::autoclean;
use English qw[-no_match_vars];
use File::Basename;
use File::Spec::Functions qw[catdir];
use List::AllUtils qw[any];
use JSON;
use Moose;
use MooseX::StrictConstructor;
Expand Down Expand Up @@ -399,8 +400,7 @@ sub _get_tag_name_from_fname {

sub _is_allowed_fname {
my ($self, $file, $fnames) = @_;
my @exists = grep { $file =~ m{[.] $_ [.]}smx } @{ $fnames };
return @exists == 1 ? 1 : 0;
return (any { $file =~ m{[.] $_ [.]}smx } @{ $fnames } );
}

sub _dest_path {
Expand Down
4 changes: 3 additions & 1 deletion lib/WTSI/NPG/HTS/PacBio/Annotator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ sub make_sample_metadata {
my @samples = map { $_->sample } @run_records;
my $method_attr = {accession_number => $SAMPLE_ACCESSION_NUMBER,
id_sample_lims => $SAMPLE_ID,
id_lims => $SAMPLE_LIMS,
uuid_sample_lims => $SAMPLE_UUID,
name => $SAMPLE_NAME,
public_name => $SAMPLE_PUBLIC_NAME,
common_name => $SAMPLE_COMMON_NAME,
Expand Down Expand Up @@ -319,7 +321,7 @@ Keith James <kdj@sanger.ac.uk>

=head1 COPYRIGHT AND DISCLAIMER

Copyright (C) 2016, 2017 Genome Research Limited. All Rights Reserved.
Copyright (C) 2016, 2017, 2024 Genome Research Limited. All Rights Reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the Perl Artistic License or the GNU General
Expand Down
2 changes: 1 addition & 1 deletion lib/WTSI/NPG/HTS/PacBio/RunPublisher.pm
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ sub publish_image_archive {
elsif ($process_type eq $ONINST_REVIO1) {
$file_types = q{ccs_report.txt|fail_reads.lima_counts.txt|}.
q{fail_reads.lima_summary.txt|hifi_reads.lima_counts.txt|}.
q{hifi_reads.lima_summary.txt|summary.json|fail_reads.json|hifi_reads.json|}.
q{hifi_reads.lima_summary.txt|summary.json|hifi_reads.json|}.
q{ccs_report.json|fail_reads.unassigned.json|hifi_reads.unassigned.json};
}
elsif ($process_type eq $ONINST_REVIO2) {
Expand Down

This file was deleted.

2 changes: 2 additions & 0 deletions t/lib/WTSI/NPG/HTS/Illumina/AgfDataObjectTest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,10 @@ sub update_secondary_metadata_tag1_no_spike_human : Test(12) {
{attribute => $SAMPLE_COMMON_NAME, value => 'Mus musculus'},
{attribute => $SAMPLE_DONOR_ID, value => '2905STDY6178180'},
{attribute => $SAMPLE_ID, value => '2376982'},
{attribute => $SAMPLE_LIMS, value => 'SQSCP'},
{attribute => $SAMPLE_PUBLIC_NAME, value => 'UTX_IP_UTX_GTX_A'},
{attribute => $SAMPLE_SUPPLIER_NAME, value => 'UTX_IP_UTX_GTX_A'},
{attribute => $SAMPLE_UUID, value => '4e0f6640-40f7-11e5-998e-3c4a9275d6c6'},
{attribute => $STUDY_NAME,
value => 'Analysis of the chromatin state of mouse stem and progenitor cell compartment'},
{attribute => $STUDY_ACCESSION_NUMBER, value => 'ERP004563'},
Expand Down
Loading
Loading