-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
“ramifarawi”
committed
Feb 1, 2024
1 parent
572c58e
commit 0a55def
Showing
16 changed files
with
9,510 additions
and
0 deletions.
There are no files selected for viewing
137 changes: 137 additions & 0 deletions
137
protocols/00c517multi1-pt2/00c517multi1-pt2.ot2.apiv2.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
import math | ||
|
||
metadata = { | ||
'protocolName': 'VIB UGENT - Multi-channel Workflow Part 2', | ||
'author': 'Rami Farawi <[email protected]>', | ||
'source': 'Custom Protocol Request', | ||
'apiLevel': '2.15' | ||
} | ||
|
||
|
||
def run(ctx): | ||
|
||
[num_samp, m300_mount] = get_values( # noqa: F821 | ||
"num_samp", "m300_mount") | ||
|
||
# m300_mount = 'left' | ||
# num_samp = 96 | ||
|
||
# labware | ||
c_18_tiprack = ctx.load_labware('agilent_96_c18omix_200ul', 1) | ||
agilent_1200 = ctx.load_labware('agilent_96_wellplate_1200ul', 2) | ||
|
||
waste_res = ctx.load_labware('nest_1_reservoir_195ml', 5) | ||
wash_buff_res = ctx.load_labware('nest_12_reservoir_15ml', 10) # up to number of columns of sample # noqa: E501 | ||
reagent_plate = ctx.load_labware('nest_12_reservoir_15ml', 4) | ||
agilent_500 = [ctx.load_labware('agilent_96_wellplate_500ul', slot) | ||
for slot in [7, 8, 9]] | ||
|
||
tips300 = [ctx.load_labware('opentrons_96_tiprack_300ul', slot) | ||
for slot in [6, 11]] | ||
|
||
# pipettes | ||
m300 = ctx.load_instrument('p300_multi_gen2', m300_mount, | ||
tip_racks=tips300) | ||
|
||
# mapping | ||
# trypsin = reagent_plate.rows()[0][0] | ||
acn = reagent_plate.rows()[0][0] | ||
equil_buffer = reagent_plate.rows()[0][1:3] | ||
eb = reagent_plate.rows()[0][3:5] | ||
waste = waste_res['A1'] | ||
wash_buff_plate = agilent_500[0] | ||
elution_buff_plates = agilent_500[1:3] | ||
|
||
num_col = math.ceil(num_samp/8) | ||
sample_cols = agilent_1200.rows()[0][:num_col] | ||
|
||
tip_ctr = 0 | ||
|
||
def pick_up_c18(): | ||
nonlocal tip_ctr | ||
m300.pick_up_tip(c_18_tiprack.rows()[0][tip_ctr]) | ||
tip_ctr += 1 | ||
|
||
ctx.pause(''' | ||
Place the following labware on deck: | ||
Opentrons tip rack with C18 OMIX tips on slot 1, | ||
Agilent plate (round wells, 1200 µl) containing dried peptides on slot 2, | ||
a 12 column reservoir containing 12 ml 2%ACN 0.1% TFA (column 1), | ||
20 ml equilibration buffer (column 2, 3), and 10mL elution buffer | ||
in columns 4, 5 | ||
a 12 column reservoir containing 8mL wash buffer in each column up to | ||
the number of sample columns | ||
and 20 ml elution buffer (column 8) in slot 4, | ||
a one well reservoir on slot 5 (for waste), | ||
a 300 µl tiprack on slot 6 | ||
and 3 96-well plates (Agilent 500 µl) in slots 7, 8 & 9. | ||
''') | ||
|
||
# protocol | ||
ctx.comment('\n---------------43 - ADD ACN----------------\n\n') | ||
for col in sample_cols: | ||
m300.pick_up_tip() | ||
m300.aspirate(100, acn) | ||
m300.dispense(100, col) | ||
m300.mix(5, 80, col) | ||
m300.drop_tip() | ||
|
||
ctx.pause(''' | ||
Add sample to lunatic chip manually to measure peptide concentration | ||
''') | ||
|
||
ctx.comment('\n---------------46 - ADDING WASH BUFFER----------------\n\n') | ||
m300.pick_up_tip() | ||
for wash_well, col in zip(wash_buff_res.rows()[0], | ||
wash_buff_plate.rows()[0][:num_col]): | ||
m300.transfer(400, wash_well, col, new_tip='never') | ||
m300.drop_tip() | ||
|
||
ctx.comment('\n-------------46 - ADDING ELUTION BUFFER--------------\n\n') | ||
m300.pick_up_tip() | ||
for eb_well, plate in zip(eb, elution_buff_plates): | ||
for col in plate.rows()[0][:num_col]: | ||
m300.aspirate(100, eb_well) | ||
m300.dispense(100, col) | ||
m300.drop_tip() | ||
|
||
ctx.comment('\n-------------46 - WASH STEPS--------------\n\n') | ||
for i, (wash_buff_res_col, | ||
wash_buff_col, | ||
eb1_col, | ||
eb2_col, | ||
sample_col) in enumerate( | ||
zip(wash_buff_res.rows()[0], | ||
wash_buff_plate.rows()[0], | ||
elution_buff_plates[0].rows()[0][:num_col], | ||
elution_buff_plates[0].rows()[0][:num_col], | ||
sample_cols, | ||
)): | ||
pick_up_c18() | ||
for _ in range(3): | ||
m300.aspirate(100, equil_buffer[0 if i < 6 else 1], rate=0.2) # ONE COLUMN PER 6 SAMPLES | ||
m300.dispense(100, waste.top()) | ||
|
||
for _ in range(5): | ||
m300.aspirate(100, wash_buff_res_col) | ||
m300.dispense(100, waste.top(), rate=0.2) | ||
|
||
m300.mix(20, 100, sample_col, rate=0.2) | ||
m300.aspirate(100, sample_col) | ||
m300.dispense(100, waste.top()) | ||
|
||
for _ in range(3): | ||
m300.aspirate(100, wash_buff_col) | ||
m300.dispense(100, waste.top()) | ||
|
||
m300.mix(10, 100, eb1_col, rate=0.2) | ||
m300.mix(10, 100, eb2_col, rate=0.2) | ||
m300.aspirate(100, eb2_col) | ||
m300.dispense(100, eb1_col) | ||
|
||
m300.drop_tip() | ||
|
||
ctx.comment('\n\n\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"type": "int", | ||
"label": "Number of samples (8-96)", | ||
"name": "num_samp", | ||
"default": 96 | ||
}, | ||
{ | ||
"type": "dropDown", | ||
"label": "P300 Multi-Channel Mount", | ||
"name": "m300_mount", | ||
"options": [ | ||
{"label": "Left", "value": "left"}, | ||
{"label": "Right", "value": "right"} | ||
] | ||
} | ||
] |
1 change: 1 addition & 0 deletions
1
protocols/00c517multi1-pt2/labware/3DPrint 96 Tube Rack with Nippon 0.2 mL.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"brand":{"brand":"3DPrint","brandId":["U0014"]},"cornerOffsetFromSlot":{"x":0,"y":0,"z":0},"dimensions":{"xDimension":128,"yDimension":85.78,"zDimension":31.68},"groups":[{"brand":{"brand":"Nippon","brandId":["FG-028"]},"metadata":{"displayCategory":"tubeRack","wellBottomShape":"u"},"wells":["A1","B1","C1","D1","E1","F1","G1","H1","A2","B2","C2","D2","E2","F2","G2","H2","A3","B3","C3","D3","E3","F3","G3","H3","A4","B4","C4","D4","E4","F4","G4","H4","A5","B5","C5","D5","E5","F5","G5","H5","A6","B6","C6","D6","E6","F6","G6","H6","A7","B7","C7","D7","E7","F7","G7","H7","A8","B8","C8","D8","E8","F8","G8","H8","A9","B9","C9","D9","E9","F9","G9","H9","A10","B10","C10","D10","E10","F10","G10","H10","A11","B11","C11","D11","E11","F11","G11","H11","A12","B12","C12","D12","E12","F12","G12","H12"]}],"metadata":{"displayCategory":"tubeRack","displayName":"3DPrint 96 Tube Rack with Nippon 0.2 mL","displayVolumeUnits":"µL","tags":[]},"namespace":"custom_beta","ordering":[["A1","B1","C1","D1","E1","F1","G1","H1"],["A2","B2","C2","D2","E2","F2","G2","H2"],["A3","B3","C3","D3","E3","F3","G3","H3"],["A4","B4","C4","D4","E4","F4","G4","H4"],["A5","B5","C5","D5","E5","F5","G5","H5"],["A6","B6","C6","D6","E6","F6","G6","H6"],["A7","B7","C7","D7","E7","F7","G7","H7"],["A8","B8","C8","D8","E8","F8","G8","H8"],["A9","B9","C9","D9","E9","F9","G9","H9"],["A10","B10","C10","D10","E10","F10","G10","H10"],["A11","B11","C11","D11","E11","F11","G11","H11"],["A12","B12","C12","D12","E12","F12","G12","H12"]],"parameters":{"format":"irregular","isMagneticModuleCompatible":false,"isTiprack":false,"loadName":"3dprint_96_tuberack_200ul","quirks":[]},"schemaVersion":2,"version":1,"wells":{"A1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":73.98,"z":12.3},"A10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":73.98,"z":12.3},"A11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":73.98,"z":12.3},"A12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":73.98,"z":12.3},"A2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":73.98,"z":12.3},"A3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":73.98,"z":12.3},"A4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":73.98,"z":12.3},"A5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":73.98,"z":12.3},"A6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":73.98,"z":12.3},"A7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":73.98,"z":12.3},"A8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":73.98,"z":12.3},"A9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":73.98,"z":12.3},"B1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":65.1,"z":12.3},"B10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":65.1,"z":12.3},"B11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":65.1,"z":12.3},"B12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":65.1,"z":12.3},"B2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":65.1,"z":12.3},"B3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":65.1,"z":12.3},"B4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":65.1,"z":12.3},"B5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":65.1,"z":12.3},"B6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":65.1,"z":12.3},"B7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":65.1,"z":12.3},"B8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":65.1,"z":12.3},"B9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":65.1,"z":12.3},"C1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":56.22,"z":12.3},"C10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":56.22,"z":12.3},"C11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":56.22,"z":12.3},"C12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":56.22,"z":12.3},"C2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":56.22,"z":12.3},"C3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":56.22,"z":12.3},"C4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":56.22,"z":12.3},"C5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":56.22,"z":12.3},"C6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":56.22,"z":12.3},"C7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":56.22,"z":12.3},"C8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":56.22,"z":12.3},"C9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":56.22,"z":12.3},"D1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":47.34,"z":12.3},"D10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":47.34,"z":12.3},"D11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":47.34,"z":12.3},"D12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":47.34,"z":12.3},"D2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":47.34,"z":12.3},"D3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":47.34,"z":12.3},"D4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":47.34,"z":12.3},"D5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":47.34,"z":12.3},"D6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":47.34,"z":12.3},"D7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":47.34,"z":12.3},"D8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":47.34,"z":12.3},"D9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":47.34,"z":12.3},"E1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":38.46,"z":12.3},"E10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":38.46,"z":12.3},"E11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":38.46,"z":12.3},"E12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":38.46,"z":12.3},"E2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":38.46,"z":12.3},"E3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":38.46,"z":12.3},"E4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":38.46,"z":12.3},"E5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":38.46,"z":12.3},"E6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":38.46,"z":12.3},"E7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":38.46,"z":12.3},"E8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":38.46,"z":12.3},"E9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":38.46,"z":12.3},"F1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":29.58,"z":12.3},"F10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":29.58,"z":12.3},"F11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":29.58,"z":12.3},"F12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":29.58,"z":12.3},"F2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":29.58,"z":12.3},"F3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":29.58,"z":12.3},"F4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":29.58,"z":12.3},"F5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":29.58,"z":12.3},"F6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":29.58,"z":12.3},"F7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":29.58,"z":12.3},"F8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":29.58,"z":12.3},"F9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":29.58,"z":12.3},"G1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":20.7,"z":12.3},"G10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":20.7,"z":12.3},"G11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":20.7,"z":12.3},"G12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":20.7,"z":12.3},"G2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":20.7,"z":12.3},"G3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":20.7,"z":12.3},"G4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":20.7,"z":12.3},"G5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":20.7,"z":12.3},"G6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":20.7,"z":12.3},"G7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":20.7,"z":12.3},"G8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":20.7,"z":12.3},"G9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":20.7,"z":12.3},"H1":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":14.46,"y":11.82,"z":12.3},"H10":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":94.38,"y":11.82,"z":12.3},"H11":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":103.26,"y":11.82,"z":12.3},"H12":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":112.14,"y":11.82,"z":12.3},"H2":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":23.34,"y":11.82,"z":12.3},"H3":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":32.22,"y":11.82,"z":12.3},"H4":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":41.1,"y":11.82,"z":12.3},"H5":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":49.98,"y":11.82,"z":12.3},"H6":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":58.86,"y":11.82,"z":12.3},"H7":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":67.74,"y":11.82,"z":12.3},"H8":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":76.62,"y":11.82,"z":12.3},"H9":{"depth":19.38,"diameter":5.18,"shape":"circular","totalLiquidVolume":200,"x":85.5,"y":11.82,"z":12.3}}} |
Oops, something went wrong.