constrain.lims.benchling_api

Easy to use benchling functions to fetch sequences and objects

Module Attributes

session

This part of the LIMS module is used for importing sequences and exporting sequences to benchling

Functions

from_benchling(bname[, schema])

Extract information of object on benchling. Parameters: ----------- bname : str The name of the object on Benchling. schema : str, optional The schema of the object, by default "".

sequence_to_benchling(folder_name, ...)

This function uploads sequences to Benchling. Parameters: ---------- folder_name : str The name of the folder in which to upload the sequence. oligo_name : str The name of the oligo. oligo_bases : str The base sequence of the oligo. schema : str The schema to use for the oligo. Should be one of the following: "Primer", "DNA Fragment", "Plasmid", "Gene", "gRNA", "Marker","Promoter", "Terminator", "Tag", "Origin of Replication".

update_loc_vol_conc(seqRecord[, DBpath])

Update with location volume and concentration information downloaded from benchling if possible. Parameters: ----------- seqRecord : Bio.SeqRecord.SeqRecord The SeqRecord object to update. DBpath : str, optional The path to the csv file containing the location, volume and concentration information.