4. GS Amplicon Variant Analyzer – Special Topics
: 4.5 Project Initialization and the CLI
4.5
Project Initialization and the CLI
When using the CLI, the ‘create project’ command is used to set up new Projects. This process is entirely under user control, and there is no attempt to automatically initialize the Project as is done in the GUI when using the ‘New’ button (section
4.4
). Avoiding automatic initialization in the CLI maintains backward compatibility with pre-existing CLI scripts created for use with prior software versions.
However, this doesn’t prevent a user from taking advantage of the default initialization script if desired. The script can be incorporated into CLI Project setup by using the ‘utility execute’ command. To take advantage of the default initialization script, use the command:
utility execute %libDir/newProjectInit.ava
If the only functionality that the user wants to borrow from the initialization is loading the ‘454Standard’ MIDs (perhaps to add MIDs to a pre-existing Project), the user can directly call the script that the initialization script uses. To load the fourteen ‘454Standard’ Amplicon MIDs to a Project, as shown in the example CLI script in section.
3.6
, use the command:
utility execute %libDir/create454StandardMIDs.ava