Summary

Oscript and OmicSoft Server can now be configured to support multiple default instance types. Extending the InstanceType parameter to support comma-delimited instance types; if one instance type fails, the next entry will be tried until the list is exhausted, at which point the job fails

This is most beneficial when running large numbers of parallel jobs; if there are not enough instances of the preferred types, remaining jobs will be launched using your specified backup instance types.
  • The InstanceType options parameter in Oscripts supports multiple instances listed in the /InstanceType parameter. If the instance type parameter is not specified for an Oscript, the corresponding options defined in ArrayServer.cfg are used instead, depending on whether the job is an OAlign job, an OSummary job, or an ESummary job.
    • /InstanceType=t2.nano,t2.large,m4.large,m5.large
  • The OAlignInstanceType and OSummaryInstanceType (also specifies Esummary instance types) configuration options in ArrayServer.cfg have been extended to support a comma-separated list of AWS EC2 instance types (e.g. OSummaryInstanceType=t2.nano,t2.large,m4.large,m5.large). The list also allows duplicate instance types to be specified.
    • Only procs that support the InstanceType parameter will use this setting; check with ts-bioinformatics@qiagen.com if you would like the latest list of supported procs
  • If only a single instance type ends up being requested, the behavior for launching EC2 instances is the same as before: try at most 3 times using the requested instance type.
  • If 2 or more instance types are specified, the max. number of attempts made to launch instances is equal to the number of instance types specified. The priority is from left to right, so the 1st instance type is tried on the 1st attempt, the 2nd type on the 2nd attempt, and so on.
A simple example job demonstrating this function for reference:
Begin NewProject;
Project {PROJECT_NAME_HERE}
/IsDistributed=True 
/RunOnServer=True;
End;

Begin DownloadSraFastqGz /Namespace=NgsLib /RunOnServer=True;
IDs  
"
SRP070710
";

Options
        /InstanceType=m4.large,m4.xlarge,m5.large
	/EnableAWSSpot=False
	/ParallelJobNumber=28
	/CombineRuns=True 
	/RunOnCloud=True 

	/OutputFolder="/MyCloudFolder/GSE78220/FASTQ";
End;