# lib_bam function library

Dependencies: install_sfo.tpa, lib_eff.tpa, lib_evaluate.tpa, lib_general.tpa, lib_internal.tpa, lib_itm.tpa, lib_list.tpa, lib_macro.tpa, lib_patch.tpa, lib_spl.tpa, lib_table.tpa, lib_text.tpa, lib_tools.tpa

## Description

## Public Functions

compress_bam(dl:i, was_compressed:i)=() patch

decompress_bam()=(was_compressed:s, dl:s) patch

delete_cycle_data(dl:i)=(dl:s) patch

extract_cycle_data()=(cycle_data:s, lookup_data:s, cycle_num:s) patch

get_available_mos_index(current:i)=(value:s) action

insert_cycle_data(cycle_num:i, dl:i, cycle_data:s, lookup_data:s)=(dl:s) patch

install_v2_bam(lowest_mos_index:i, bam_name:s, bam_loc:s, pvrz_loc:s)=() action

legal_byte(input:i)=(output:s) patch

length_of_frame_lookup_table()=(lookup_num:s) patch

pad_to_four(arguments:i)=(value:s) action

patch_colors(suppress_warning:i, condition:s, action:s, bam:s)=() action
patch_colors(condition:s, action:s)=() patch

read_color(offset:i)=(red:s, green:s, blue:s) patch

write_color(red:i, green:i, blue:i, offset:i)=() patch