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

DPL-812: FluidX tube rack data report #1433

Merged
merged 39 commits into from
Oct 31, 2023

Conversation

StephenHulme
Copy link
Contributor

@StephenHulme StephenHulme commented Oct 25, 2023

Closes ##1439

Changes proposed in this pull request

  • Add button to the PBMC Plate that generates a report of well contents
  • Add extensive testing to assist with accurate mocking

Acceptance criteria

  • Data should include:
    • donor
    • parent barcode (vacutainer)
    • fluidx barcode (tube that it's being transferred in)
    • extraction & freeze date (both should be the same) - creation date of the fluidx tube
    • which tubes are destined for sequencing vs contingency
    • cell count
    • viability
    • volume
    • study (needed for when uploading into Titian)
    • collection site

Example CSV Report

Workflow,scRNA Core PBMC Bank

Well name,Donor ID,Stock barcode,FluidX barcode,Extraction and freeze date,Sequencing or contingency,Cell count (cells/ml),Viability (%),Volume (µl),Study name,Collection site
SQPD-9011:B1,,NT13A,SQ16102001,2023-10-16 11:32:16 +0100,Sequencing,2030000,76,135,UAT Study,Sanger
SQPD-9011:C1,,NT13A,SP16102007,2023-10-16 11:32:30 +0100,Contingency,2300000,75,135,UAT Study,Sanger
SQPD-9011:D1,,NT14B,SQ16102002,2023-10-16 11:32:16 +0100,Sequencing,2100000,75,135,UAT Study,Sanger
SQPD-9011:E1,,NT14B,SP16102008,2023-10-16 11:32:30 +0100,Contingency,2280000,75,135,UAT Study,Sanger
SQPD-9011:F1,,NT14B,SP16102009,2023-10-16 11:32:30 +0100,Contingency,2110000,75,135,UAT Study,Sanger
SQPD-9011:G1,,NT15C,SQ16102003,2023-10-16 11:32:16 +0100,Sequencing,2220000,76,135,UAT Study,Sanger
SQPD-9011:H1,,NT15C,SP16102010,2023-10-16 11:32:31 +0100,Contingency,1940000,74,135,UAT Study,Sanger
SQPD-9011:A2,,NT15C,SP16102011,2023-10-16 11:32:31 +0100,Contingency,2030000,75,135,UAT Study,Sanger
SQPD-9011:B2,,NT16D,SQ16102004,2023-10-16 11:32:17 +0100,Sequencing,2030000,76,135,UAT Study,Sanger
SQPD-9011:C2,,NT16D,SP16102012,2023-10-16 11:32:31 +0100,Contingency,2300000,75,135,UAT Study,Sanger

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

Comment on lines +38 to +41
def latest_cell_viability
latest_qc(key: 'viability', units: '%')
end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied across from DPL-827

@KatyTaylor KatyTaylor linked an issue Oct 30, 2023 that may be closed by this pull request
1 task
CSV.generate_line [
'Well name',
'Donor ID',
'Parent barcode',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is what it says in the story (my fault, not sure where it came from in the first place), but could we call this "Stock barcode" instead? I think "Parent barcode" is misleading because the LRC Blood Vac tube is not the parent labware of the LRC Bank Seq / Spare tubes. Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries :) Fixed in 7d3868a

Copy link
Contributor

@KatyTaylor KatyTaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left you a few comments.

Thanks for spending time improving the test setup. If there are any changes you feel would make the test setup better but you didn't have time for, please raise them, because I think we need to make improvements as it's quite a pain point!

@codeclimate
Copy link

codeclimate bot commented Oct 30, 2023

Code Climate has analyzed commit 613c3bc and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.0% (0.0% change).

View more on Code Climate.

@StephenHulme StephenHulme merged commit e1583b1 into develop Oct 31, 2023
8 checks passed
@StephenHulme StephenHulme deleted the dpl-812-fluidx-tube-rack-data-report branch October 31, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DPL-812 Transfer PBMC bank data to BioResource team
2 participants