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.
Input:
Output:
sequences (cell): Array of sequence structures.
experiments (cell): Array of experiment structures.