constrain.lims.csv_database

Easy to use functions to fetch sequences and objects from local csv database

Functions

add_annotations(list_of_parts[, ...])

Adds the neccessary annotations to a list of SeqRecord objects to be uploaded to the database

add_sequences_to_dataframe(list_of_DNA, ...)

Adds sequences to local csv databse.

add_unique_ids(list_of_parts[, path])

Adds unique ids to a list of SeqRecords.

change_row(row_index, csv_database_as_df, ...)

inserts a biopyton object into the database at a specific index

delete_row_df(row_index, which_df)

Deletes a row in the database without changing the namse of

get_box(box_number, csv_database_as_df)

Returns the plate from a specified csv_database.

get_database(name[, path])

Fetches the csv database as a pd.dataframe

get_dna_from_box_name(name, database_name[, ...])

fetch dna based on the name from the BOX database of choice.

get_dna_from_plate_name(name, database_name)

fetch dna based on the name from the PLATE database of choice.

get_plate(plate_number, csv_database_as_df)

Returns the plate from a specified csv_database.

get_unique_id([path])

Makes a single unique ID from the csv_database files.

update_database(dataframe, which_database[, ...])

Updates the database of choosing