Skip to content

Commit

Permalink
Merge pull request #17 from emilesi/site-cleanup
Browse files Browse the repository at this point in the history
Cleaned up site and added Introduction section
  • Loading branch information
mialpo authored Dec 5, 2024
2 parents bc1a785 + d4c23e9 commit 842ac4c
Show file tree
Hide file tree
Showing 15 changed files with 158 additions and 78 deletions.
10 changes: 10 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.align-center {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}

figure.align-center {
text-align: center;
}
Binary file added _static/files/Strain_Template_YourName.xlsx
Binary file not shown.
Binary file added _static/images/data-storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/registry-sources.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/results-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/storage-inventory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/images/transformation-storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
# "sphinx_design", # https://sphinx-design.readthedocs.io/en/sbt-theme/
# "sphinx_copybutton", # https://sphinx-copybutton.readthedocs.io/
"sphinx_new_tab_link",
"sphinx_design" #This extension enables the hiding of answers in the FAQ page (allow us to use {dropdown})
"sphinx_design", #This extension enables the hiding of answers in the FAQ page (allow us to use {dropdown})
# "sphinxcontrib.video", # This extension allows video embedding without YouTube https://sphinxcontrib-video.readthedocs.io/en/latest/index.html (not working)

]

templates_path = ["_templates"]
Expand Down Expand Up @@ -115,5 +117,6 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = ['custom.css'] # Fixes ability to center text on the screen


93 changes: 93 additions & 0 deletions guides/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Introduction

````{dropdown} **Data collection and storage in Benchling**
**The Registry**
When working on a project, you will often create various entities, such as primers, strains, and plasmids. **Registering** these entities ensures they are easily searchable and accessible across the organization, while also standardizing metadata capture.
This registration process is crucial for utilizing the **Inventory** feature, which helps track entities and their usage over time. Additionally, registering enables you to establish relationships between entities and link them to **Results** tables for comprehensive data analysis.
Knowing how to use the Registry will allow you to unlock the full capabilities of Benchling!
```{figure} ../_static/images/data-storage.png
:alt: Diagram showing the meaning and relationship between Registry, Inventory and Results
:width: 80%
:align: center
*The Registry, Inventory and Results*
```
**Important things to consider**
→ *You can register many kinds of entities*
The Registry goes beyond biological samples. It can also be used for things like media, commercial materials and submissions for analytics.
→ *Registering lets you keep track of entities*
By using the Registry, you can keep track of links between entities, for example, if you have a parent strain and the plasmid it was transformed with to get a new strain, you could link all three entities.
You can also monitor the storage of samples. For storage, you can create batches, which represent physical instances of an entity. Batches let you know when something was stored and by whom.
```{figure} ../_static/images/transformation-storage.png
:alt: Diagram showing the meaning and relationship between Registry, Inventory and Results
:width: 80%
:align: center
*Relations between entities*
```
→ *Some entities require pre-registering other entities*
For example, if you desire to link a plasmid when registering a new strain, the plasmid must be registered beforehand.
**The Inventory**
The **Inventory** is a virtual representation of the storage system of the labs at DTU Biosustain. It allows user to track the physical location of registered entities.
Using the Inventory requires a few essential steps. First, you must create a box or a plate in the location (room, freezer) you want your samples to be. This can be done from the Inventory menu or from an ELN. Afterwards, you need to store your registered entity in a container, such as a tube or a vial. Alternatively, if you want to store a sample in a plate, only the plate needs to exist beforehand.
```{note}
Entities such as **strains** or **plasmids** require **Entity Batches** to be created before storage. This makes it possible to know when a particular physical instance of the entity was stored.
```
A general overview of the information related to the inventory is shown in the figure below.
```{figure} ../_static/images/storage-inventory.png
:alt: Diagram showing the meaning and relationship between Registry, Inventory and Results
:width: 80%
:align: center
*Inventory overview*
```
**Results**
**Results** tables can be created in ELNs. They allow you to capture and map specific results back to samples in the Registry.
An example of how **Results** can be used in Benchling is shown in the figure below:
```{figure} ../_static/images/results-example.png
:alt: Diagram showing the meaning and relationship between Registry, Inventory and Results
:width: 80%
:align: center
*Figure adapted from Benchling*: [Results Best Practices](https://help.benchling.com/hc/en-us/articles/15656552131085-Results-Best-Practices)
```
````

````{dropdown} **Entities and schemas in Benchling**
In Benchling, **entities** and **schemas** are the backbone of how information is structured, stored, and interconnected. They provide a standardized way to represent biological, chemical, and material components, enabling seamless workflows and robust data tracking. Together, entities and schemas ensure that data remains organized, traceable, and easily accessible throughout your research processes.
**Entities**
Entities are the individual building blocks of the Benchling platform, representing key elements of your research, such as DNA sequences, strains, samples, or reagents. They hold information about physical or conceptual items in the lab, often enriched with metadata like descriptions, annotations, and relationships to other entities.
**Schemas**
Schemas define the structure of entities in Benchling, acting as templates that standardize how information is captured and stored. They determine the required fields, optional properties, and relationships for a given type of entity.
````
28 changes: 0 additions & 28 deletions guides/material_orders.md

This file was deleted.

9 changes: 0 additions & 9 deletions guides/sequence_registration.md

This file was deleted.

56 changes: 48 additions & 8 deletions guides/strain_registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,29 @@ Each step is shown in the video down below.
If there are no validation errors, your strains will now be registered!
<iframe width="560" height="315" src="https://www.youtube.com/embed/_4SFBM0M1iA?si=CfAimXGJYZkgAKo1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
````{raw} html
<div style="text-align: center;">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/_4SFBM0M1iA?si=CfAimXGJYZkgAKo1?rel=0&modestbranding=1&autoplay=0&showinfo=0"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
````
## How to store a strain
![Strain storage](../_static/images/store-a-strain-v2.png)
````{figure} ../_static/images/store-a-strain-v2.png
:alt: Strain-storage
:width: 90%
:align: center
````
```{note}
Each step is shown in the video down below.
Expand All @@ -79,17 +97,26 @@ Each step is shown in the video down below.

Helps you create vials for the samples and lets you store them in the box.

````{raw} html
<div style="text-align: center;">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/-MP_b3G6ULg?si=yfGJ5ZpS7JKkViui?rel=0&modestbranding=1&autoplay=0&showinfo=0"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
````


<iframe width="560" height="315" src="https://www.youtube.com/embed/-MP_b3G6ULg?si=yfGJ5ZpS7JKkViui" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

## Can I do this from a spreadsheet?
Yes, you can easily register strains by uploading a spreadsheet onto a strain registration table. Your spreadsheet must have columns corresponding to some or all of the required fields.

```{important}
**You can use the following template for strain registration:**
-> Document
**You can use the following template for strain registration:** {download}`Strain_Template_YourName.xlsx <../_static/files/Strain_Template_YourName.xlsx>`.
* Red fields are mandatory
* Blue fields refer to registered entities
```
Expand All @@ -100,7 +127,20 @@ Benchling will try to match the names in blue fields to entities in the registry
It is recommended to use **registry IDs** (which are unique) instead of entity names to prevent this issue.
```

<iframe width="560" height="315" src="https://www.youtube.com/embed/xKyDvrNoZh8?si=ltnVty38KMEbLJxY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
````{raw} html
<div style="text-align: center;">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/xKyDvrNoZh8?si=ltnVty38KMEbLJxY?rel=0&modestbranding=1&autoplay=0&showinfo=0"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
````


## Tips and tricks

You can register from a table multiple times, without duplicating registries – only the changes and additions are uploaded! You can use this to update registered entities or add new ones from the same table.
3 changes: 1 addition & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ FAQ
:hidden:
:caption: 'Benchling guides'
Submit a material order <guides/material_orders>
Register your sequences <guides/sequence_registration>
Introduction <guides/introduction>
Register your strains <guides/strain_registration>
```

Expand Down
16 changes: 1 addition & 15 deletions training_materials/basics.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Introduction to Benchling

```{note}
This is a test
```

```{tip}
This is a test
```

```{warning}
This is a test
```

## Add section

## Add section
*Coming soon!*
16 changes: 1 addition & 15 deletions training_materials/molbio.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Molecular Biology Tools

```{note}
This is a test
```

```{tip}
This is a test
```

```{warning}
This is a test
```

## Add section

## Add section
*Coming soon!*

0 comments on commit 842ac4c

Please sign in to comment.