This topic covers the management of samples and types of samples within the Sample Manager application.
Freezer Management Available
You can track the storage and usage of samples through the Freezer Management feature. Learn about storing samples in freezers here:
View All Sample Types
To view all the Sample Types defined in LabKey Sample Manager, click Sample Types
on the main menu.
You can select among several ways to view all the samples in the system.
The grid view of all Sample Types lists the name, description, and other details about each type of sample in the system. You can also download a template for easier import of data from files.
Click the name to open the set of individual samples of that type
The heatmap shows a 12 box row for each type, representing 12 months of sample collection. Darker shades are used for months where more samples were collected. Hover over any square for more details.
Click a square to open a grid view of data filtered for that month and Sample Type
The card view of all samples indicates the total number of samples for that type.
Click a card to see the grid of data for that Sample Type
View Samples of One Type
You can open the grid of all samples of a specific type in several ways:
Sample Type Details
are shown in the left hand panel, including the Description, Naming Pattern, Metric Unit, Parent Import Alias(es), and Source Import Alias(es)
. The right hand panel shows sample type insights
Below the details and insights, the grid of Samples
offers menus, custom views, filtering, sorting and searching. Learn more in this topic:
Sample Type Insights
The panel of Insights
gives a quick visual summary of Storage Status
, Sample Status
, and Aliquots
. Color coded bars show the relative prevalence of each state. Hover for details, shown here, how many samples are checked out. Click any bar segment to filter the samples grid to show only those samples.
When several sample Status
values have the same base type, such as "Received" and "Available" both being "Available" samples, you can hover over portions of the bar for details of that specific sample status. Click any bar segment to filter the samples grid to show only those samples.
menu in the upper right offers these options:
- Edit Sample Type Design: Reopen the existing details and fields; edit using the same interface as you used to create the Sample Type.
- Delete Sample Type: Note this will delete all sample data as well
- View Audit History: Administrators can view the audit history for this Sample Type from this link.
Learn more about sample grid menus and buttons in this topic:
View Individual Sample Details
Click the Sample ID for any sample to view the details about it in the system in a series of panels. Tabs along the top offer more details about the sample. From the
menu** you can create new samples of any type, delete this sample
, add it to a picklist
, or upload assay data for this sample. Storage editors can check it out or discard it. You can also view the audit history for this specific sample.
The tabs along the top of the details page let you see the following for this specific sample:
- Lineage: View a lineage graph or grid.
- Aliquots: See aliquots and subaliquots of this sample.
- Assays: All assay data available for this sample (and any aliquots).
- Jobs: Find all jobs involving this sample (and any aliquots).
- Timeline: See a detailed timeline of all events involving this sample.
Panels on the Overview
- Storage Location: Shows the current location, checkout status, and storage details.
- Aliquots: Details about any aliquots created of this sample.
- Notebooks: Links to any notebooks that reference this sample will be shown here. Click the name to open the notebook
- Details: Details about this sample.
- For an aliquot, you will see both Aliquot Details and Original Sample Details in separate panels.
- Source Details: Information about sources of this sample.
- Parent Details: Information about parents of this sample.
Edit Sample Details
To edit the details for this sample, click the (Edit)
icon for that section. Make changes using dropdowns and selectors similar to when you originally assigned the values. Remember to click to Save
Note that you can edit the SampleID (Name) here, keeping in mind that all Sample IDs must remain unique. This is useful in a situation where the original name may have included a typo or other error. You cannot, however, edit SampleIDs using any bulk method, including 'Edit in Grid' and import from a file.
Edit Sample Lineage
You can edit the source and parent information (i.e. the lineage) for a sample directly from the sample details page. Use the (Edit)
icon for the Source Details or Parent Details
section as needed. Make changes using dropdowns and selectors similar to when you originally assigned the values. Remember to click to Save
More Sample Editing
Learn more about editing samples in this topic:
Deletion of samples may be necessary for a variety of reasons, and once completed, deletion cannot be undone.
For samples with data dependencies or references, deletion is disallowed. This ensures integrity of your data in that the origins of the data will be retained for future reference. Samples cannot be deleted if they:
- Are 'parents' of other derived samples or aliquots
- Have assay runs associated with them
- Are included in workflow jobs
- Have a status that prevents deletion
- Are referenced by Electronic Lab Notebooks
The Delete Sample
option will be grayed out when deletion is disallowed.
Delete One Sample
For samples which can
be deleted, you can delete a single sample while viewing it's details page.
- From the detail page for the sample to delete, open the menu on the right.
- Select Delete Sample.
- You will be asked to confirm the deletion.
Delete More Samples
You can also delete one or more samples from the grid view for the Sample Type. Note that you can only delete up to 10,000 samples at one time, so if you need to delete more than that, perform the deletion in batches.
- From the grid view for the type of sample to delete, select one or more checkboxes for the sample(s) you wish to delete. To select all samples, use the checkbox at the top of the column.
- Select Edit > Delete.
- You will be asked to confirm the deletion.
If deletion is disallowed for any of the samples you attempt to delete, the popup will give you more details and ask you to confirm or cancel the partial deletion of any samples without dependencies.
When you delete samples, they will be automatically removed from any picklists to which they had been added.