Workflow
ReadGroup to String
Validates a
ReadGroup struct is well-formed and then converts it to a StringWDL Version
1.3
Category
Utility
Nested Inputs Not Allowed
data_structures/read_group.wdlRUN WITH
sprocket run --target read_group_to_string data_structures/read_group.wdldata_structures\read_group.wdl [INPUTS]...
Inputs
Required Inputs
Other Inputs
Name
Type
Default
Description
required_fieldsArray[String]["SM"]Array of read group fields that must be defined. The ID field is always required and does not need to be specified.
Array of read group fields that must be defined. The ID field is always required and does not need to be specified.
format_as_sam_recordBooleanfalseFormat the
ReadGroup as a SAM record?Format the
ReadGroup as a SAM record?split_on_fieldBooleanfalseSplit the ReadGroup into separate array elements, one per field, instead of a si...
Split the ReadGroup into separate array elements, one per field, instead of a single
String. Behavior is undefined if format_as_sam_record == true.restrictiveBooleantrueIf true, run a stricter validation of field values. Otherwise, check against SAM spec-defined values.
If true, run a stricter validation of field values. Otherwise, check against SAM spec-defined values.
Outputs
Name
Type
Expression
Description
validated_read_groupString?inner_read_group_to_string.stringified_read_groupThe validated input
ReadGroup as a String. Undefined if split_on_field == true.The validated input
ReadGroup as a String. Undefined if split_on_field == true.validated_read_group_arrayArray[String]?inner_read_group_to_string.read_group_arrayThe validated input
ReadGroup as an Array[String], one entry per field. Undefined if split_on_field == false.The validated input
ReadGroup as an Array[String], one entry per field. Undefined if split_on_field == false.