Skip to content

Commit

Permalink
Merge pull request #53 from intbio-ncl/platelayoutdocs
Browse files Browse the repository at this point in the history
PlateLayoutDocs
  • Loading branch information
Brad0440 authored Apr 16, 2023
2 parents 055f0b7 + 4cba117 commit cdd4bb7
Show file tree
Hide file tree
Showing 7 changed files with 443 additions and 6 deletions.
11 changes: 11 additions & 0 deletions docs/BiomationScripter.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,17 @@ This function imports an Excel file with a standard layout and converts it to a

This function will import a layout specified by an excel file as a [`BiomationScripter.Labware_Layout`](#class-labware_layout) object. The excel file should follow the standard described [here](Standard_Layout_File.md)

!!! warning
* This function requires the pandas library to operate. If pandas has not successfully imported, this function will not work.

The `Plate Name` and `Plate Type` fields are required fields for the `Plate Summary` sheet (_Sheet1_).
The `Well` and `Name` fields must be populated on the `Well lookup` sheet (_Sheet2_) if content in these wells needs to be added. If `Name` is empty, the function will assume that this well is empty and will skip over it. If `Volume (uL) - Current` is empty, `Volume (uL) - Initial` will be used instead. If both volume fields are empty, volume will be zero. If `Calibration Type` is empty, `"AQ_BP"` will be used as a default value.

An empty `PlateLayout` object should be created prior to calling this function and the function will populate the object with the required attributes.
```
Plate = BMS.Labware_Layout(name: str, type: str)
Plate.Import_Labware_Layout(Filename: str, path: str = "~", ext: str = ".xlsx")
```

### Function: [`mastermixes_by_min_volume`](https://github.com/intbio-ncl/BiomationScripterLib/blob/main/BiomationScripter/__init__.py)
This function can be used to automatedly generate mastermixes based on source materials in a list of destination labware layout objects, and user-defined parameters.
Expand Down
44 changes: 38 additions & 6 deletions docs/Standard_Layout_File.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,63 @@

# BiomationScripter - Standard Layout File

!!! warning

**This page is under construction**

---

## Overview

The standard layout file is an Excel file that can be used for storing information about plates used in protocols. This should be used for recording the location of liquids within a given plate. Information contained within this file can be imported into a protocol using the ImportPlate or ImportLabware functions.

---

## Specification


The standard layout file consists of two sheets:
* **Plate Summary** is for attributes of the plate
* **Well lookup** is for the well contents

### Plate Summary
Plate Summary utilises 8 rows in the current version
* `Plate Name` | `str`: Name given to the plate by the user (_required_)
* `Plate Type` | `str`: Type of the plate e.g., 96-well, 384PP (_required_)
* `Total Wells` | `int`: Number of wells for the plate type (_optional_)
* `Rows` | `int`: Number of rows for the plate type (_optional_)
* `Columns` | `int`: Number of columns for the plate type (_optional_)
* `Minimum working volume` | `float`: Least volume that the wells can contain for operation (_optional_)
* `Maximum working volume` | `float`: Greatest volume that the wells can contain for operation (_optional_)
* `Description` | `str`: Field available for the user to write a summary of the plate's intended usage (_optional_)

### Well Lookup
Well lookup utilises 10 columns in the current version. The number of rows is dependent on the number of wells of the plate; each well should have its own row.
* `Well` | `str`: Name given to the well e.g., A1
* `Row` | `str`: Name given to the row e.g., A
* `Column` | `str`: Name given to the column e.g., 1
* `Name` | `str`: Content of the well e.g., T4 Ligase Buffer
* `Volume (uL) - Initial` | `float`: Volume of the liquid originally contained in the well
* `Concentration (ng/uL)` | `float`: Concentration of the liquid in ng/uL
* `Concentration (uM)` | `float`: Concentration of the liquid in uM
* `Volume (uL) - Current` | `float`: Volume of the liquid currently contained in the well i.e., after the last protocol
* `Calibration Type` | `str`: Calibration Type of the liquid or labware. Should be specified for when using EchoProto. e.g., AQ_BP
* `Notes` | `str`: Field available for the user to leave any comments regarding the well such as the source of the stock, expiry date of reagent, etc.

---

## Example Usage

Included for these docs is an example of this layout file for a plate used to store primers


<a href = "/">
<img src="../wiki-images/PlateSummary.png" alt = "Plate Summary sheet for \"Primers\" plate" width = "300"/>
</a>
<a href = "/">
<img src="../wiki-images/WellLookup.png" alt = "Well lookup sheet for \"Primers\" plate" width = "800"/>
</a>

---

## Resources


The example sheets can be found here: <a href = "../protocol_examples/standard_layout_file">Standard Layout File</a>
Each sheet has been separated into a `.csv` file for compliance with github

---
8 changes: 8 additions & 0 deletions docs/protocol_examples/Plate_Summary.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Plate Name,Primers
Plate Type,384PP
Total Wells,384
Rows,16
Columns,24
Minimum working volume,12
Maximum working volume,50
Description,A plate containing primer stocks at 10uM
Loading

0 comments on commit cdd4bb7

Please sign in to comment.