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

SMRT Link EPPs #563

Merged
merged 26 commits into from
Dec 12, 2024
Merged

SMRT Link EPPs #563

merged 26 commits into from
Dec 12, 2024

Conversation

Karl-Svard
Copy link
Collaborator

@Karl-Svard Karl-Svard commented Nov 25, 2024

Added

  • New EPP for creating Sample Setup CSVs
  • New EPP for creating pooling calculation CSVs
  • New EPP for calculating Revio pooling volumes
  • New EPP for automatically setting Revio sequencing options
  • New models and classes for SMRT Link CSV creation

Changed

Fixed

Steps to consider while deploying

  • Configuration changes:
  • Documentation updates:
  • Inform users by email:

Review:

  • Code approved by
  • Tests executed on stage by: (Document the test done with screen shots and description.)
  • "Merge and deploy" approved by

This version is a:

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

@Karl-Svard
Copy link
Collaborator Author

Automations set up on stage

Generate SMRT Link Sample Setup CSV

Step: Preparing ABC Complex (Revio)
Activation type: Manual

bash -c -l "conda activate cg_lims && lims -c /home/glsai/.genologics.yaml epps -l {compoundOutputFileLuid0} -p {processLuid} files create-smrtlink-sample-setup -f {compoundOutputFileLuid1}"

Calculate Revio Pooling Volumes

Step: Pooling Samples for Sequencing (Revio)
Activation type: Manual

bash -c -l "conda activate cg_lims &&  lims -c /home/glsai/.genologics.yaml epps -l {compoundOutputFileLuid0} -p {processLuid} udf calculate revio-pooling --concentration-udf 'Concentration (ng/ul)' -v 'Volume of sample (ul)' -b 'Volume Buffer (ul)' --total-volume-udf 'Total Volume (ul)' --size-udf 'Size (bp)' --target-volume-udf 'Pool Volume (ul)' --target-concentration-udf 'Target Pool Concentration (pM)'"

Generate SMRT Link Pooling Calculation CSV

NOTE: This automation will probably be removed in the future. It is solely being used for testing purposes

Step: Pooling Samples for Sequencing (Revio)
Activation type: Manual

bash -c -l "conda activate cg_lims && lims -c /home/glsai/.genologics.yaml epps -l {compoundOutputFileLuid0} -p {processLuid} files create-smrtlink-pooling-calculation -f {compoundOutputFileLuid1}"

Generate SMRT Link Run Design CSV

Step: Set Up Sequencing Run (Revio)
Activation type: Manual

bash -c -l "conda activate cg_lims && lims -c /home/glsai/.genologics.yaml epps -l {compoundOutputFileLuid0} -p {processLuid} files create-smrtlink-run-design -f {compoundOutputFileLuid1}"

Set Revio Sequencing Options

Step: Set Up Sequencing Run (Revio)
Activation type: Manual (On entry to record details in the future)

bash -c -l "conda activate cg_lims && lims -c /home/glsai/.genologics.yaml epps -l {compoundOutputFileLuid0} -p {processLuid} udf set set-revio-sequencing-settings"

Copy link
Contributor

@idalindegaard idalindegaard left a comment

Choose a reason for hiding this comment

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

Vilket otroligt jobb du har gjort! Det har varit mycket nytt för dig att sätta dig in i och sen skapa fungerande skript. Tycker det ser riktigt snyggt och prydligt ut! Har bara några småkommentarer, och frågor om vad några saker innebär mest för att jag är nyfiken

cg_lims/EPPs/files/smrt_link/models.py Show resolved Hide resolved
cg_lims/EPPs/files/smrt_link/models.py Show resolved Hide resolved
cg_lims/EPPs/files/smrt_link/models.py Outdated Show resolved Hide resolved
@Karl-Svard Karl-Svard merged commit a93b5ba into master Dec 12, 2024
2 checks passed
@Karl-Svard Karl-Svard deleted the pb_sample_setup branch December 12, 2024 14:35
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.

2 participants