This function initializes the current workspace by reading sequences and experiments as well as initializing global variables. It also checks if native resources have to be downloaded or compiled.
To make loading faster when running the script multiple times, it checks if sequences and experiments variables exist in the workspace and if they are cell arrays and just reuses them. No further check is performed so this may lead to problems when switching workspaces. Clear the workspace or use 'Force' argument to avoid issues with cached data.
varargin[Force] (boolean): Force reloading the sequences and experiments.
varargin[Directory] (string): Set the directory of the workspace (otherwise current directory is used.
varargin[OnlyDefaults] (boolean): Only set default global variables and skip workspace initialization.
sequences (cell): Array of sequence structures.
experiments (cell): Array of experiment structures.