Skip to main content
Table of Contents

Sample Processing 🧪

Overview. The sample process action in Inventory enables researchers to run standard lab operations (such as aliquot, derive, pool, cryopreserve, revive, passage, dispose ) directly on subsamples wit…

Table of Contents

Overview

The sample process action in Inventory enables researchers to run standard lab operations (such as aliquot, derive, pool, cryopreserve, revive, passage, dispose) directly on subsamples with lineage, quantities, and provenance captured automatically instead of via manual record creation.

Note that the action only acts on subsamples, which are the physical manifestations of samples. See Samples vs Subsamples to learn more.

Setup (for System Admins)

The process action is disabled by default. Sysadmins must enable inventory.operations.available:

Processing Summary

With a single subsample selected, a new Process button is available in the list of actions on the right-hand side. The actions available on a single subsample are Aliquot, Passage, Derive, Cryopreserve, Revive, and Destroy.

If you select two samples on the left-hand pane, a Process button becomes available, which will open Pool.

The operations are described in detail below. Briefly, each operation creates a new Sample with a user-defined number of subsamples. The Sample will contain a link back to its 'origin' (the subsample it was created from). The link will give a relation type that is intrinsic to the operation - for example, the 'Aliquot' operation has links that are always 'IsPartOf' on the created Sample, and those links point back to the origin subsample.

The process action also allows for a documentation link to be specified. This can be to any item in the ELN or Gallery.

Operation

What it does

Origins

Request fields

Creates

Restrictions

aliquot

Splits one subsample into count equal children

exactly 1

sampleName (required), count (1 to 100, default 1), eachAmount (required), origin.amountTaken (required), optional templateId, documentedByGlobalId

New sample with count subsamples, linked IsPartOf the origin

amountTaken must be positive and no greater than what the origin holds when the operation runs

passage

Creates the next passage, numbering it from the parent sample

exactly 1

sampleName (required), count (1 to 100, default 1), eachAmount (required), optional templateId, documentedByGlobalId

New sample linked IsDerivedFrom the origin, plus a Passage number text field incremented from the parent's own passage field, starting at 1

Takes nothing from the origin. Omit amountTaken; if sent it must be exactly 0. amountMode: "all" is rejected

pool

Combines several subsamples into one new sample

2 to 100

sampleName (required), count (1 to 100, default 1), eachAmount (required), origins[].amountTaken (required on each), optional templateId, documentedByGlobalId

New sample linked HasPart to every origin

The only multi-origin operation, and the only one using the plural origins. Each origin carries its own positive amountTaken

derive

Records a named process producing a new sample

exactly 1

processName (required), sampleName (required), count (1 to 100, default 1), eachAmount (required), origin.amountTaken (required), optional templateId, documentedByGlobalId

New sample linked IsDerivedFrom the origin

processName is required and has no default. amountTaken must be positive

cryopreserve

Freezes material into a new stored sample

exactly 1

sampleName (required), count (1 to 100, default 1), eachAmount (required), origin.amountTaken (required), storageTemp (required, at most -18°C), cryomedium (optional text), optional templateId, documentedByGlobalId

New sample linked IsDerivedFrom the origin, plus a Cryomedium text field

storageTemp above -18°C is rejected. Omitting cryomedium still creates the Cryomedium field, empty

revive

Brings a frozen sample back into use

exactly 1

sampleName (required), count (1 to 100, default 1), eachAmount (required), origin.amountTaken (required), storageTemp (optional, 4°C to 120°C, default 4°C), optional templateId, documentedByGlobalId

New sample linked IsDerivedFrom the origin

Omit storageTemp and the sample is stored at 4°C. Anything outside 4°C to 120°C is rejected

destroy

Empties the origin and creates nothing

exactly 1

origin only. No inputs, no templateId, no documentedByGlobalId

Nothing. Writes a Disposed date field on the origin, set to today in the session's timezone

Takes the whole origin. amountMode: "explicit" is rejected. Answers 200, not 201, with a null sample

After the process has run, it produces a sample with a user-defined number of subsamples. The sample will have links back to the origin, any linked documents and any additional details such as 'passage number' or 'storage temperature'.

The exception to this rule is the destroy operation, which does not create a sample. Destroy sets the subsample origin amount to 0 and gives it a 'disposed' date.

Below is the 'pool' subsample after is has been subsequently 'destroyed'. The subsample name does not change.

Step-by step processing guide

0. Open the Process action

As described above, either use the right-hand side Process action on a subsample for most actions, or select two subsamples and use the left-hand side Process action for Pool.

1. Choose a template

You must make a choice, even if it is 'no template'. If a template is already chosen, it will be displayed on this page and no further choice needs to be made.

2. Choose amounts

These are chosen with defaults that reflect the units and amounts of both the origin subsample and any chosen templates.

You define the absolute total amount to be taken from the origin, not per subsample created. If you specify 1g to be removed and 100 subsamples to be created, the total removed from the origin will be 1g and not 100g.
The amount in each resulting subsample does not need to match the amount removed from the origin. It is fine to remove 1g from an origin, and create 100 subsamples each having 10g.

For the 'pool' operation the choice is to take all from all origins, to take the same amount from all, or to define an amount for each origin:

The created Sample will have links back to this document.

4. Place the subsamples

All operations except dispose end in an optional placement step into a container.

Note that the container can be remembered in the confirmation step for future use. Use the change container button if that choice no longer works for you and choose leave on my workbench to skip this step completely.
  • List containers don't have internal location choices, so the placement step can be skipped.
  • We do not currently support placing subsamples from a process inside a visual container.

5. Review & confirm

Review whether you are happy with the process summary and confirm to perform the process. You also have the choice to remember these values to speed up future use of that operation.

5.1 Remember values (optional)

The process can remember default choices for an operation and allow one-click processing:

Click on review/edit to choose different values to remember, or untick the remember checkbox to use different values (which will not be remembered).

How did we do?

Relationship Linking in Inventory 🧪

RSpace Inventory (RSINV) Glossary 🧪