BASIC-DNA-ASSEMBLY / DNA-BOT

MIT License
24 stars 21 forks source link

Changeable value for labware IDs, and purification and transformation settings #26

Closed tduigou closed 2 years ago

tduigou commented 2 years ago

The changes let users define labware IDs and some parameters (for purification and transformation steps) when executing DNA-Bot. The values can be either provided using the graphical interface using text boxes, or using the terminal by providing a configuration file.

Default values

The default values remain the same as before, i.e. the labware IDs that were previously hardcoded in to the template scripts. This means that executing DNA-Bot without providing specific settings will end with the same expected labwares and the same parameters as before.

Change values via the graphical interface

Below is a view of the new GUI:

image

Change values via the terminal

Use the default_settings_file argument:

python -m dnabot.dnabot_app --default_settings_file /path/to/custom/setting_file.yaml

Format of the setting file

It is a YAML file format, quite easy to write and read for user without strong informatic skills. The full file is provided in the README.md. Here is the first lines:

labwares:

  # Pipettes #############################################
  # Opentrons P20 Single-Channel Electronic Pipette
  p20_single:
    id: p20_single_gen2

  # Opentrons P300 8-Channel Electronic Pipette
  p300_multi:
    id: p300_multi_gen2

  # Modules ###############################################
  # Opentrons magnetic module
  mag_deck:
    id: magdeck
    # id: magnetic module gen2  # BRS script 2