Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
microtiter_clear_name = 'Corning-microtiter-96'
if microtiter_clear_name not in labware.list():
labware.create(
microtiter_clear_name,
grid=(12, 8),
spacing=(9, 9),
diameter=6.86,
depth=10.67,
volume=360
)
reservoir_name = 'Axygen-290ml-reservoir'
if reservoir_name not in labware.list():
labware.create(
reservoir_name,
grid=(1, 1),
spacing=(0, 0),
diameter=8,
depth=37,
volume=290000
)
# load labware
source_plate = labware.load(culture_plate_24_name, '1', 'source plate')
media_res = labware.load(reservoir_name, '2', 'media')
pbs_res = labware.load(reservoir_name, '3', 'PBS')
rep_plate = labware.load(
microtiter_clear_name,
'4',
'clear microtiter plate'
from opentrons import labware, instruments, modules, robot
from otcustomizers import StringSelection
import math
metadata = {
'protocolName': 'Zymo Research Direct-zol-96 RNA MagPrep',
'author': 'Nick ',
'source': 'Custom Protocol Request'
}
# create custom labware
deep_name = 'axygen_96_wellplate_2ml_deep'
if deep_name not in labware.list():
labware.create(
deep_name,
grid=(12, 8),
spacing=(9, 9),
diameter=7.2,
depth=38.5,
volume=2000
)
# load labware and modules
elution_plate = labware.load(
'biorad_96_wellplate_200ul_pcr', '1', 'elution plate')
etoh = labware.load('agilent_1_reservoir_290ml', '2', 'EtOH').wells(0)
waste_list = [
res.wells(0).top()
for res in [
labware.load('agilent_1_reservoir_290ml', slot, 'waste')
from opentrons import labware, instruments, robot
from otcustomizers import StringSelection
metadata = {
'protocolName': 'BioFluid Mix and Transfer - Part 2/2',
'author': 'Chaz ',
'source': 'Custom Protocol Request'
}
# custom labware creation
vial_container = 'custom_agilent_samplevial_container'
if vial_container not in labware.list():
labware.create(
vial_container,
grid=(5, 10),
spacing=(18.3, 18.3),
diameter=12,
depth=32,
volume=250
)
centr_container = 'custom_centrifuge_tube_container'
if centr_container not in labware.list():
labware.create(
centr_container,
grid=(8, 12),
spacing=(9, 9),
diameter=5.5,
depth=30.5,
example_csv = """,Sample in µl,,,,,,,,,,,,,,
,,1,2,3,4,5,6,7,8,9,10,11,12,," "
,A,1,1,1,1,1,1,1,1,1,1,1,1,,
,B,2,2,2,2,2,2,2,2,2,2,2,2,,
,C,3,3,3,3,3,3,3,3,3,3,3,3,,
,D,4,4,4,4,4,4,4,4,4,4,4,4,,
,E,5,5,5,5,5,5,5,5,5,5,5,5,,
,F,6,6,6,6,6,6,6,6,6,6,6,6,,
,G,7,7,7,7,7,7,7,7,7,7,7,7,,
,H,8,8,8,8,8,8,8,8,8,8,8,8,,
"""
# create custom create custom labware
PCR_plate_name = 'FrameStar-96-PCR'
if PCR_plate_name not in labware.list():
labware.create(
PCR_plate_name,
grid=(12, 8),
spacing=(9, 9),
diameter=5.50,
depth=15.10,
volume=200
)
flat_plate_name = '4titude-96-flat'
if flat_plate_name not in labware.list():
labware.create(
flat_plate_name,
grid=(12, 8),
spacing=(9, 9),
diameter=6.3,
depth=10.8,
from opentrons import labware, instruments
trough_name = 'trough-1well'
if trough_name not in labware.list():
labware.create(
'trough-1well',
grid=(1, 1),
spacing=(0, 0),
diameter=0,
depth=25)
# labware setup
tiprack = labware.load('opentrons-tiprack-300ul', '1')
trough_1 = labware.load('trough-12row', '2')
trough_2 = labware.load('trough-12row', '3')
# pipette setup
m300 = instruments.P300_Multi(
mount='right',
tip_racks=[tiprack])
from opentrons import labware, instruments
from opentrons.data_storage import database
if 'solidBlue_5x10' not in database.list_all_containers():
labware.create(
'solidBlue_5x10', # name of you container
grid=(5, 10), # specify amount of (columns, rows)
spacing=(18.4, 18.4), # distances (mm) between each (column, row)
diameter=11, # diameter (mm) of each well on the plate
depth=50) # depth (mm) of each well on the plate
if 'clearBlue_8x12' not in database.list_all_containers():
labware.create(
'clearBlue_8x12', # name of you container
grid=(8, 12), # specify amount of (columns, rows)
spacing=(12, 15), # distances (mm) between each (column, row)
diameter=9, # diameter (mm) of each well on the plate
depth=40) # depth (mm) of each well on the plate
tiprack1 = labware.load('opentrons-tiprack-300ul', '1')
tiprack2 = labware.load('opentrons-tiprack-300ul', '4')
glassVials = labware.load('solidBlue_5x10', '2')
cuvetteTray = labware.load('clearBlue_8x12', '3')
glassVials.properties['height'] = 70
glassVials.properties['height'] = 63.5
p50 = instruments.P50_Single(mount='left', tip_racks=[tiprack1, tiprack2])
from opentrons import labware, instruments, robot
metadata = {
'protocolName': 'Protein-based Compound Screening',
'author': 'Alise ',
'source': 'Custom Protocol Request'
}
plate_name = 'corning-384-well-standard-flat'
if plate_name not in labware.list():
labware.create(
plate_name,
grid=(24, 16),
spacing=(4.5, 4.5),
depth=14.5,
diameter=3.63
)
# labware setup
plate_1 = labware.load(plate_name, '1')
plate_2 = labware.load(plate_name, '2')
for plate in [plate_1, plate_2]:
for well in plate.wells():
well.properties['height'] = 11.6
trough = labware.load('trough-12row', '4')
spacing=(0, 0),
diameter=85,
depth=38)
plate_name = 'puregrade-96-flat'
if plate_name not in labware.list():
labware.create(
plate_name,
grid=(12, 8),
spacing=(9, 9),
diameter=7,
depth=11)
cooler_name = 'eppendorf-PCR-cooler'
if cooler_name not in labware.list():
labware.create(
cooler_name,
grid=(1, 1),
spacing=(0, 0),
diameter=0,
depth=30)
cooler_plate_name = 'non-skirted-96-PCR-chimney'
if cooler_plate_name not in labware.list():
labware.create(
cooler_plate_name,
grid=(12, 8),
spacing=(9, 9),
diameter=6,
depth=14)
# labware setup
from opentrons import labware, instruments, robot
from otcustomizers import StringSelection
metadata = {
'protocolName': 'Protein Array',
'author': 'Nick ',
'source': 'Custom Protocol Request'
}
# create custom labware
custom_shaker_name = 'teleshake1536_64_slides_100ul'
if custom_shaker_name not in labware.list():
labware.create(
custom_shaker_name,
grid=(4, 8),
spacing=(27, 9),
diameter=7,
depth=4,
volume=100
)
# load modules and labware
res_12 = labware.load(
'usascientific_12_reservoir_22ml', '3', 'reagent reservoir')
shake_plate = labware.load(
custom_shaker_name, '4', 'Teleshake with slides mounted')
liquid_trash = labware.load(
'agilent_1_reservoir_290ml', '6', 'liquid trash').wells(0).top()
from opentrons import labware, instruments, robot
from otcustomizers import StringSelection, FileInput
metadata = {
'protocolName': 'Nextera DNA Flex NGS Library Prep: Cherrypick Samples',
'author': 'Nick ',
'source': 'Custom Protocol Request'
}
# create source plate
plate_name = 'olympus_96_wellplate_200ul_pcr'
if plate_name not in labware.list():
labware.create(
plate_name,
grid=(12, 8),
spacing=(9, 9),
diameter=5.6,
depth=14.5,
volume=200
)
# load labware
source_plates = {}
for i in range(9):
slot = str(i+1)
source_plates[slot] = labware.load(
plate_name, slot, 'source plate ' + slot)
destination_plate = labware.load(
'biorad_96_wellplate_200ul_pcr', '10', 'destination_plate')