Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
y3rsh committed Aug 14, 2024
1 parent c002c44 commit 11a9259
Show file tree
Hide file tree
Showing 3 changed files with 558 additions and 73 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from opentrons.protocol_api import PARTIAL_COLUMN

metadata = {
"protocolName": "8 Channel SINGLE Happy Path A1 or H1",
"protocolName": "8 Channel PARTIAL_COLUMN Happy Path A1 or H1",
"description": "Tip Rack South Clearance for the 8 Channel pipette and a SINGLE partial tip configuration.",
}

Expand All @@ -15,19 +15,21 @@ def run(protocol):

trash = protocol.load_trash_bin("A3") # must load trash bin

thermocycler = protocol.load_module("thermocycler module gen2")

partial_tip_rack = protocol.load_labware(
load_name="opentrons_flex_96_tiprack_1000ul",
load_name="opentrons_flex_96_tiprack_50ul",
label="Partial Tip Rack",
location="C1",
location="B3",
)

pipette = protocol.load_instrument(instrument_name="flex_8channel_50", mount="left")
pipette = protocol.load_instrument(instrument_name="flex_8channel_50", mount="right")
# mount on the right and you will get an error.

pipette.configure_nozzle_layout(
style=PARTIAL_COLUMN,
start="H1",
end="G1", # 2 Tips
end="B1", # 2 Tips
tip_racks=[partial_tip_rack],
)

Expand All @@ -45,6 +47,42 @@ def run(protocol):

volume = 10 # Default volume for actions that require it

# #############################
# # Pipette do work
# # leading nozzle
# # index in based on eh number of tips in my current configuration
# pipette.transfer(volume, source_labware_B2["B6"], destination_labware_C2["A6"])

# pipette.pick_up_tip()
# pipette.touch_tip(source_labware_B2["B1"])
# pipette.drop_tip()
# pipette.pick_up_tip()
# pipette.home()
# pipette.drop_tip()

# pipette.pick_up_tip()
# well = source_labware_B2["D1"]
# # directly from docs http://sandbox.docs.opentrons.com/edge/v2/new_protocol_api.html#opentrons.protocol_api.InstrumentContext.prepare_to_aspirate
# pipette.move_to(well.bottom(z=2))
# pipette.mix(10, 10)
# pipette.move_to(well.top(z=5))
# pipette.blow_out()
# pipette.prepare_to_aspirate()
# pipette.move_to(well.bottom(z=2))
# pipette.aspirate(10, well.bottom(z=2))
# pipette.dispense(10)
# pipette.drop_tip()

# ############################
# # Change the pipette configuration

# pipette.configure_nozzle_layout(
# style=PARTIAL_COLUMN,
# start="H1",
# end="B1", # 7 Tips
# tip_racks=[partial_tip_rack],
# )

#############################
# Pipette do work

Expand All @@ -69,50 +107,3 @@ def run(protocol):
pipette.aspirate(10, well.bottom(z=2))
pipette.dispense(10)
pipette.drop_tip()

############################
# Change the pipette configuration

pipette.configure_nozzle_layout(
style=PARTIAL_COLUMN,
start="H1",
end="B1", # 7 Tips
tip_racks=[partial_tip_rack],
)

source_labware_B3 = protocol.load_labware(
load_name="nest_96_wellplate_100ul_pcr_full_skirt",
label="B3 Source Labware",
location="B3",
)

destination_labware_C3 = protocol.load_labware(
load_name="nest_96_wellplate_100ul_pcr_full_skirt",
label="C3 Destination Labware",
location="C3",
)

#############################
# Pipette do work

pipette.transfer(volume, source_labware_B3["A6"], destination_labware_C3["A6"])

pipette.pick_up_tip()
pipette.touch_tip(source_labware_B3["B1"])
pipette.drop_tip()
pipette.pick_up_tip()
pipette.home()
pipette.drop_tip()

pipette.pick_up_tip()
well = source_labware_B3["D1"]
# directly from docs http://sandbox.docs.opentrons.com/edge/v2/new_protocol_api.html#opentrons.protocol_api.InstrumentContext.prepare_to_aspirate
pipette.move_to(well.bottom(z=2))
pipette.mix(10, 10)
pipette.move_to(well.top(z=5))
pipette.blow_out()
pipette.prepare_to_aspirate()
pipette.move_to(well.bottom(z=2))
pipette.aspirate(10, well.bottom(z=2))
pipette.dispense(10)
pipette.drop_tip()
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ def run(protocol):
trash = protocol.load_trash_bin("A3") # must load trash bin

partial_tip_rack = protocol.load_labware(
load_name="opentrons_flex_96_tiprack_1000ul",
load_name="opentrons_flex_96_tiprack_50ul",
label="Partial Tip Rack",
location="C1",
location="B3",
)

pipette = protocol.load_instrument(instrument_name="flex_8channel_50", mount="left")
thermocycler = protocol.load_module("thermocycler module gen2")

pipette = protocol.load_instrument(instrument_name="flex_8channel_50", mount="right")
# mount on the right and you will get an error.

# On the 8-channel SINGLE
Expand Down Expand Up @@ -92,43 +94,31 @@ def run(protocol):
tip_racks=[partial_tip_rack],
)

source_labware_B3 = protocol.load_labware(
load_name="nest_96_wellplate_100ul_pcr_full_skirt",
label="B3 Source Labware",
location="B3",
)

destination_labware_C3 = protocol.load_labware(
load_name="nest_96_wellplate_100ul_pcr_full_skirt",
label="C3 Destination Labware",
location="C3",
)

#############################
# Pipette do work
pipette.consolidate(
[volume, volume],
[source_labware_B3["A3"], source_labware_B3["A4"]],
destination_labware_C3["A3"],
[source_labware_B2["A3"], source_labware_B2["A4"]],
destination_labware_C2["A3"],
)

pipette.transfer(volume, source_labware_B3["A6"], destination_labware_C3["A6"])
pipette.transfer(volume, source_labware_B2["A6"], destination_labware_C2["A6"])

pipette.distribute(
5,
source_labware_B2["A7"],
[destination_labware_C3["A7"], destination_labware_C3["A8"]],
[destination_labware_C2["A7"], destination_labware_C2["A8"]],
)

pipette.pick_up_tip()
pipette.touch_tip(source_labware_B3["B1"])
pipette.touch_tip(source_labware_B2["B1"])
pipette.drop_tip()
pipette.pick_up_tip()
pipette.home()
pipette.drop_tip()

pipette.pick_up_tip()
well = source_labware_B3["D1"]
well = source_labware_B2["D1"]
# directly from docs http://sandbox.docs.opentrons.com/edge/v2/new_protocol_api.html#opentrons.protocol_api.InstrumentContext.prepare_to_aspirate
pipette.move_to(well.bottom(z=2))
pipette.mix(10, 10)
Expand Down
Loading

0 comments on commit 11a9259

Please sign in to comment.