cwl_utils.parser.cwl_v1_0
Attributes
Classes
Mark classes than have a save() and fromDoc() function. |
|
A field of a record. |
|
Mark classes than have a save() and fromDoc() function. |
|
Represents a file (or group of files when |
|
Represents a directory to present to a command line tool. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define an input or output parameter to a process. |
|
Mark classes than have a save() and fromDoc() function. |
|
Mark classes than have a save() and fromDoc() function. |
|
Mark classes than have a save() and fromDoc() function. |
|
Mark classes than have a save() and fromDoc() function. |
|
A field of a record. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define an enumerated type. |
|
Mark classes than have a save() and fromDoc() function. |
|
A field of a record. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define an enumerated type. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define an input or output parameter to a process. |
|
Define an input or output parameter to a process. |
|
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See |
|
The base executable type in CWL is the |
|
Indicates that the workflow platform must support inline Javascript expressions. If this requirement is not present, the workflow platform must not perform expression interpolatation. |
|
This field consists of an array of type definitions which must be used when interpreting the |
|
Define an environment variable that will be set in the runtime environment by the workflow platform when executing the command line tool. May be the result of executing an expression, such as getting a parameter from input. |
|
When listed under |
|
Describes how to generate an output parameter based on the files produced by a CommandLineTool. |
|
A field of a record. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define an enumerated type. |
|
Mark classes than have a save() and fromDoc() function. |
|
A field of a record. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define an enumerated type. |
|
Mark classes than have a save() and fromDoc() function. |
|
An input parameter for a CommandLineTool. |
|
An output parameter for a CommandLineTool. |
|
This defines the schema of the CWL Command Line Tool Description document. |
|
Indicates that a workflow component should be run in a Docker container, and specifies how to fetch or build the image. |
|
A list of software packages that should be configured in the environment of the defined process. |
|
Mark classes than have a save() and fromDoc() function. |
|
Define a file or subdirectory that must be placed in the designated output directory prior to executing the command line tool. May be the result of executing an expression, such as building a configuration file from a template. |
|
Define a list of files and subdirectories that must be created by the workflow platform in the designated output directory prior to executing the command line tool. |
|
Define a list of environment variables which will be set in the execution environment of the tool. See |
|
Modify the behavior of CommandLineTool to generate a single string containing a shell command line. Each item in the argument list must be joined into a string separated by single spaces and quoted to prevent interpretation by the shell, unless |
|
Specify basic hardware resource requirements. |
|
Define an input or output parameter to a process. |
|
Execute an expression as a Workflow step. |
|
Describe an output parameter of a workflow. The parameter must be connected to one or more parameters defined in the workflow that will provide the value of the output parameter. |
|
Mark classes than have a save() and fromDoc() function. |
|
The input of a workflow step connects an upstream parameter (from the workflow inputs, or the outputs of other workflows steps) with the input parameters of the underlying step. |
|
Associate an output parameter of the underlying process with a workflow parameter. The workflow parameter (given in the |
|
A workflow step is an executable element of a workflow. It specifies the underlying process implementation (such as |
|
A workflow describes a set of steps and the dependencies between those steps. When a step produces output that will be consumed by a second step, the first step is a dependency of the second step. |
|
Indicates that the workflow platform must support nested workflows in the |
|
Indicates that the workflow platform must support the |
|
Indicates that the workflow platform must support multiple inbound data links listed in the |
|
Indicate that the workflow platform must support the |
|
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See |
|
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See |
|
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See |
|
Set an upper limit on the execution time of a CommandLineTool or ExpressionTool. A tool execution which exceeds the time limit may be preemptively terminated and considered failed. May also be used by batch systems to make scheduling decisions. |
|
For implementations that support reusing output from past work (on the assumption that same code and same input produce same results), control whether to enable or disable the reuse behavior for a particular tool or step (to accommodate situations where that assumption is incorrect). A reused step is not executed but instead returns the same output as the original execution. |
|
Indicate whether a process requires outgoing IPv4/IPv6 network access. Choice of IPv4 or IPv6 is implementation and site specific, correct tools must support both. |
|
The base executable type in CWL is the |
|
Indicates that a process requires an MPI runtime. |
|
Require support for NVIDA CUDA (GPU hardware acceleration). |
|
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See |
Functions
|
|
|
|
|
|
|
Shortcut to load via a YAML object. |
Module Contents
- class cwl_utils.parser.cwl_v1_0.CWLArraySchema(items, type_, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.metaschema.ArraySchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
items (Any)
type_ (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- items
- type_
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CWLRecordField(name, type_, doc=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.metaschema.RecordField
A field of a record.
- Parameters:
name (Any)
type_ (Any)
doc (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- doc = None
- type_
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CWLRecordSchema(type_, fields=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.metaschema.RecordSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
type_ (Any)
fields (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- fields = None
- type_
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.File(location=None, path=None, basename=None, dirname=None, nameroot=None, nameext=None, checksum=None, size=None, secondaryFiles=None, format=None, contents=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
Represents a file (or group of files when
secondaryFilesis provided) that will be accessible by tools using standard POSIX file system call API such as open(2) and read(2).Files are represented as objects with
classofFile. File objects have a number of properties that provide metadata about the file.The
locationproperty of a File is a URI that uniquely identifies the file. Implementations must support the file:// URI scheme and may support other schemes such as http://. The value oflocationmay also be a relative reference, in which case it must be resolved relative to the URI of the document it appears in. Alternately tolocation, implementations must also accept thepathproperty on File, which must be a filesystem path available on the same host as the CWL runner (for inputs) or the runtime environment of a command line tool execution (for command line tool outputs).If no
locationorpathis specified, a file object must specifycontentswith the UTF-8 text content of the file. This is a “file literal”. File literals do not correspond to external resources, but are created on disk withcontentswith when needed for a executing a tool. Where appropriate, expressions can return file literals to define new files on a runtime. The maximum size ofcontentsis 64 kilobytes.The
basenameproperty defines the filename on disk where the file is staged. This may differ from the resource name. If not provided,basenamemust be computed from the last path part oflocationand made available to expressions.The
secondaryFilesproperty is a list of File or Directory objects that must be staged in the same directory as the primary file. It is an error for file names to be duplicated insecondaryFiles.The
sizeproperty is the size in bytes of the File. It must be computed from the resource and made available to expressions. Thechecksumfield contains a cryptographic hash of the file content for use it verifying file contents. Implementations may, at user option, enable or disable computation of thechecksumfield for performance or other reasons. However, the ability to compute output checksums is required to pass the CWL conformance test suite.When executing a CommandLineTool, the files and secondary files may be staged to an arbitrary directory, but must use the value of
basenamefor the filename. Thepathproperty must be file path in the context of the tool execution runtime (local to the compute node, or within the executing container). All computed properties should be available to expressions. File literals also must be staged andpathmust be set.When collecting CommandLineTool outputs,
globmatching returns file paths (with thepathproperty) and the derived properties. This can all be modified byoutputEval. Alternately, if the filecwl.output.jsonis present in the output,outputBindingis ignored.File objects in the output must provide either a
locationURI or apathproperty in the context of the tool execution runtime (local to the compute node, or within the executing container).When evaluating an ExpressionTool, file objects must be referenced via
location(the expression tool does not have access to files on disk sopathis meaningless) or as file literals. It is legal to return a file object with an existinglocationbut a differentbasename. TheloadContentsfield of ExpressionTool inputs behaves the same as on CommandLineTool inputs, however it is not meaningful on the outputs.An ExpressionTool may forward file references from input to output by using the same value for
location.- Parameters:
location (Any | None)
path (Any | None)
basename (Any | None)
dirname (Any | None)
nameroot (Any | None)
nameext (Any | None)
checksum (Any | None)
size (Any | None)
secondaryFiles (Any | None)
format (Any | None)
contents (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- location = None
- path = None
- basename = None
- dirname = None
- nameroot = None
- nameext = None
- checksum = None
- size = None
- secondaryFiles = None
- format = None
- contents = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.Directory(location=None, path=None, basename=None, listing=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
Represents a directory to present to a command line tool.
Directories are represented as objects with
classofDirectory. Directory objects have a number of properties that provide metadata about the directory.The
locationproperty of a Directory is a URI that uniquely identifies the directory. Implementations must support the file:// URI scheme and may support other schemes such as http://. Alternately tolocation, implementations must also accept thepathproperty on Directory, which must be a filesystem path available on the same host as the CWL runner (for inputs) or the runtime environment of a command line tool execution (for command line tool outputs).A Directory object may have a
listingfield. This is a list of File and Directory objects that are contained in the Directory. For each entry inlisting, thebasenameproperty defines the name of the File or Subdirectory when staged to disk. Iflistingis not provided, the implementation must have some way of fetching the Directory listing at runtime based on thelocationfield.If a Directory does not have
location, it is a Directory literal. A Directory literal must providelisting. Directory literals must be created on disk at runtime as needed.The resources in a Directory literal do not need to have any implied relationship in their
location. For example, a Directory listing may contain two files located on different hosts. It is the responsibility of the runtime to ensure that those files are staged to disk appropriately. Secondary files associated with files inlistingmust also be staged to the same Directory.When executing a CommandLineTool, Directories must be recursively staged first and have local values of
pathassigned.Directory objects in CommandLineTool output must provide either a
locationURI or apathproperty in the context of the tool execution runtime (local to the compute node, or within the executing container).An ExpressionTool may forward file references from input to output by using the same value for
location.Name conflicts (the same
basenameappearing multiple times inlistingor in any entry insecondaryFilesin the listing) is a fatal error.- Parameters:
location (Any | None)
path (Any | None)
basename (Any | None)
listing (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- location = None
- path = None
- basename = None
- listing = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.SchemaBase
Bases:
schema_salad.runtime.Saveable
Mark classes than have a save() and fromDoc() function.
- class cwl_utils.parser.cwl_v1_0.Parameter
Bases:
SchemaBase
Define an input or output parameter to a process.
- class cwl_utils.parser.cwl_v1_0.InputBinding
Bases:
schema_salad.runtime.Saveable
Mark classes than have a save() and fromDoc() function.
- class cwl_utils.parser.cwl_v1_0.OutputBinding
Bases:
schema_salad.runtime.Saveable
Mark classes than have a save() and fromDoc() function.
- class cwl_utils.parser.cwl_v1_0.InputSchema
Bases:
SchemaBase
Mark classes than have a save() and fromDoc() function.
- class cwl_utils.parser.cwl_v1_0.OutputSchema
Bases:
SchemaBase
Mark classes than have a save() and fromDoc() function.
- class cwl_utils.parser.cwl_v1_0.InputRecordField(name, type_, doc=None, inputBinding=None, label=None, extension_fields=None, loadingOptions=None)
Bases:
CWLRecordField
A field of a record.
- Parameters:
name (Any)
type_ (Any)
doc (Any | None)
inputBinding (Any | None)
label (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- doc = None
- type_
- inputBinding = None
- label = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.InputRecordSchema(type_, fields=None, label=None, name=None, extension_fields=None, loadingOptions=None)
Bases:
CWLRecordSchema,InputSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
type_ (Any)
fields (Any | None)
label (Any | None)
name (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- fields = None
- type_
- label = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.InputEnumSchema(symbols, type_, name=None, label=None, inputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.metaschema.EnumSchema,InputSchema
Define an enumerated type.
- Parameters:
symbols (Any)
type_ (Any)
name (Any | None)
label (Any | None)
inputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- symbols
- type_
- label = None
- inputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.InputArraySchema(items, type_, label=None, inputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
CWLArraySchema,InputSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
items (Any)
type_ (Any)
label (Any | None)
inputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- items
- type_
- label = None
- inputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.OutputRecordField(name, type_, doc=None, outputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
CWLRecordField
A field of a record.
- Parameters:
name (Any)
type_ (Any)
doc (Any | None)
outputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- doc = None
- type_
- outputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.OutputRecordSchema(type_, fields=None, label=None, extension_fields=None, loadingOptions=None)
Bases:
CWLRecordSchema,OutputSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
type_ (Any)
fields (Any | None)
label (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- fields = None
- type_
- label = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.OutputEnumSchema(symbols, type_, name=None, label=None, outputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.metaschema.EnumSchema,OutputSchema
Define an enumerated type.
- Parameters:
symbols (Any)
type_ (Any)
name (Any | None)
label (Any | None)
outputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- symbols
- type_
- label = None
- outputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.OutputArraySchema(items, type_, label=None, outputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
CWLArraySchema,OutputSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
items (Any)
type_ (Any)
label (Any | None)
outputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- items
- type_
- label = None
- outputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.InputParameter(id, label=None, secondaryFiles=None, streamable=None, doc=None, format=None, inputBinding=None, default=None, type_=None, extension_fields=None, loadingOptions=None)
Bases:
Parameter
Define an input or output parameter to a process.
- Parameters:
id (Any)
label (Any | None)
secondaryFiles (Any | None)
streamable (Any | None)
doc (Any | None)
format (Any | None)
inputBinding (Any | None)
default (Any | None)
type_ (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- label = None
- secondaryFiles = None
- streamable = None
- doc = None
- format = None
- inputBinding = None
- default = None
- type_ = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.OutputParameter(id, label=None, secondaryFiles=None, streamable=None, doc=None, outputBinding=None, format=None, extension_fields=None, loadingOptions=None)
Bases:
Parameter
Define an input or output parameter to a process.
- Parameters:
id (Any)
label (Any | None)
secondaryFiles (Any | None)
streamable (Any | None)
doc (Any | None)
outputBinding (Any | None)
format (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- label = None
- secondaryFiles = None
- streamable = None
- doc = None
- outputBinding = None
- format = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ProcessRequirement
Bases:
schema_salad.runtime.Saveable
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See
`Process.hints<#process>`__ and`Process.requirements<#process>`__.Process requirements are the primary mechanism for specifying extensions to the CWL core specification.
- class cwl_utils.parser.cwl_v1_0.Process
Bases:
schema_salad.runtime.Saveable
The base executable type in CWL is the
Processobject defined by the document. Note that theProcessobject is abstract and cannot be directly executed.
- class cwl_utils.parser.cwl_v1_0.InlineJavascriptRequirement(expressionLib=None, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicates that the workflow platform must support inline Javascript expressions. If this requirement is not present, the workflow platform must not perform expression interpolatation.
- Parameters:
expressionLib (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- expressionLib = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.SchemaDefRequirement(types, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
This field consists of an array of type definitions which must be used when interpreting the
inputsandoutputsfields. When atypefield contain a IRI, the implementation must check if the type is defined inschemaDefsand use that definition. If the type is not found inschemaDefs, it is an error. The entries inschemaDefsmust be processed in the order listed such that later schema definitions may refer to earlier schema definitions.- Parameters:
types (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- types
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.EnvironmentDef(envName, envValue, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
Define an environment variable that will be set in the runtime environment by the workflow platform when executing the command line tool. May be the result of executing an expression, such as getting a parameter from input.
- Parameters:
envName (Any)
envValue (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- envName
- envValue
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandLineBinding(loadContents=None, position=None, prefix=None, separate=None, itemSeparator=None, valueFrom=None, shellQuote=None, extension_fields=None, loadingOptions=None)
Bases:
InputBinding
When listed under
inputBindingin the input schema, the term “value” refers to the the corresponding value in the input object. For binding objects listed inCommandLineTool.arguments, the term “value” refers to the effective value after evaluatingvalueFrom.The binding behavior when building the command line depends on the data type of the value. If there is a mismatch between the type described by the input schema and the effective value, such as resulting from an expression evaluation, an implementation must use the data type of the effective value.
string: Add
prefixand the string to the command line.number: Add
prefixand decimal representation to command line.boolean: If true, add
prefixto the command line. If false, add nothing.File: Add
prefixand the value of`File.path<#File>`__ to the command line.Directory: Add
prefixand the value of`Directory.path<#Directory>`__ to the command line.array: If
itemSeparatoris specified, addprefixand the join the array into a single string withitemSeparatorseparating the items. Otherwise first addprefix, then recursively process individual elements. If the array is empty, it does not add anything to command line.object: Add
prefixonly, and recursively add object fields for whichinputBindingis specified.null: Add nothing.
- Parameters:
loadContents (Any | None)
position (Any | None)
prefix (Any | None)
separate (Any | None)
itemSeparator (Any | None)
valueFrom (Any | None)
shellQuote (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- loadContents = None
- position = None
- prefix = None
- separate = None
- itemSeparator = None
- valueFrom = None
- shellQuote = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandOutputBinding(glob=None, loadContents=None, outputEval=None, extension_fields=None, loadingOptions=None)
Bases:
OutputBinding
Describes how to generate an output parameter based on the files produced by a CommandLineTool.
The output parameter value is generated by applying these operations in the following order:
glob
loadContents
outputEval
secondaryFiles
- Parameters:
glob (Any | None)
loadContents (Any | None)
outputEval (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- glob = None
- loadContents = None
- outputEval = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandInputRecordField(name, type_, doc=None, inputBinding=None, label=None, extension_fields=None, loadingOptions=None)
Bases:
InputRecordField
A field of a record.
- Parameters:
name (Any)
type_ (Any)
doc (Any | None)
inputBinding (Any | None)
label (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- doc = None
- type_
- inputBinding = None
- label = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandInputRecordSchema(type_, fields=None, label=None, name=None, extension_fields=None, loadingOptions=None)
Bases:
InputRecordSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
type_ (Any)
fields (Any | None)
label (Any | None)
name (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- fields = None
- type_
- label = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandInputEnumSchema(symbols, type_, name=None, label=None, inputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
InputEnumSchema
Define an enumerated type.
- Parameters:
symbols (Any)
type_ (Any)
name (Any | None)
label (Any | None)
inputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- symbols
- type_
- label = None
- inputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandInputArraySchema(items, type_, label=None, inputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
InputArraySchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
items (Any)
type_ (Any)
label (Any | None)
inputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- items
- type_
- label = None
- inputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandOutputRecordField(name, type_, doc=None, outputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
OutputRecordField
A field of a record.
- Parameters:
name (Any)
type_ (Any)
doc (Any | None)
outputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- doc = None
- type_
- outputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandOutputRecordSchema(type_, fields=None, label=None, name=None, extension_fields=None, loadingOptions=None)
Bases:
OutputRecordSchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
type_ (Any)
fields (Any | None)
label (Any | None)
name (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- fields = None
- type_
- label = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandOutputEnumSchema(symbols, type_, name=None, label=None, outputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
OutputEnumSchema
Define an enumerated type.
- Parameters:
symbols (Any)
type_ (Any)
name (Any | None)
label (Any | None)
outputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- symbols
- type_
- label = None
- outputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandOutputArraySchema(items, type_, label=None, outputBinding=None, extension_fields=None, loadingOptions=None)
Bases:
OutputArraySchema
Mark classes than have a save() and fromDoc() function.
- Parameters:
items (Any)
type_ (Any)
label (Any | None)
outputBinding (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- items
- type_
- label = None
- outputBinding = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandInputParameter(id, label=None, secondaryFiles=None, streamable=None, doc=None, format=None, inputBinding=None, default=None, type_=None, extension_fields=None, loadingOptions=None)
Bases:
InputParameter
An input parameter for a CommandLineTool.
- Parameters:
id (Any)
label (Any | None)
secondaryFiles (Any | None)
streamable (Any | None)
doc (Any | None)
format (Any | None)
inputBinding (Any | None)
default (Any | None)
type_ (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- label = None
- secondaryFiles = None
- streamable = None
- doc = None
- format = None
- inputBinding = None
- default = None
- type_ = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandOutputParameter(id, label=None, secondaryFiles=None, streamable=None, doc=None, outputBinding=None, format=None, type_=None, extension_fields=None, loadingOptions=None)
Bases:
OutputParameter
An output parameter for a CommandLineTool.
- Parameters:
id (Any)
label (Any | None)
secondaryFiles (Any | None)
streamable (Any | None)
doc (Any | None)
outputBinding (Any | None)
format (Any | None)
type_ (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- label = None
- secondaryFiles = None
- streamable = None
- doc = None
- outputBinding = None
- format = None
- type_ = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CommandLineTool(inputs, outputs, id=None, requirements=None, hints=None, label=None, doc=None, cwlVersion=None, baseCommand=None, arguments=None, stdin=None, stderr=None, stdout=None, successCodes=None, temporaryFailCodes=None, permanentFailCodes=None, extension_fields=None, loadingOptions=None)
Bases:
Process
This defines the schema of the CWL Command Line Tool Description document.
- Parameters:
inputs (Any)
outputs (Any)
id (Any | None)
requirements (Any | None)
hints (Any | None)
label (Any | None)
doc (Any | None)
cwlVersion (Any | None)
baseCommand (Any | None)
arguments (Any | None)
stdin (Any | None)
stderr (Any | None)
stdout (Any | None)
successCodes (Any | None)
temporaryFailCodes (Any | None)
permanentFailCodes (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- inputs
- outputs
- requirements = None
- hints = None
- label = None
- doc = None
- cwlVersion = None
- baseCommand = None
- arguments = None
- stdin = None
- stderr = None
- stdout = None
- successCodes = None
- temporaryFailCodes = None
- permanentFailCodes = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.DockerRequirement(dockerPull=None, dockerLoad=None, dockerFile=None, dockerImport=None, dockerImageId=None, dockerOutputDirectory=None, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicates that a workflow component should be run in a Docker container, and specifies how to fetch or build the image.
If a CommandLineTool lists
DockerRequirementunderhints(orrequirements), it may (or must) be run in the specified Docker container.The platform must first acquire or install the correct Docker image as specified by
dockerPull,dockerImport,dockerLoadordockerFile.The platform must execute the tool in the container using
docker runwith the appropriate Docker image and tool command line.The workflow platform may provide input files and the designated output directory through the use of volume bind mounts. The platform should rewrite file paths in the input object to correspond to the Docker bind mounted locations. That is, the platform should rewrite values in the parameter context such as
runtime.outdir,runtime.tmpdirand others to be valid paths within the container.When running a tool contained in Docker, the workflow platform must not assume anything about the contents of the Docker container, such as the presence or absence of specific software, except to assume that the generated command line represents a valid command within the runtime environment of the container.
Interaction with other requirements
If EnvVarRequirement is specified alongside a DockerRequirement, the environment variables must be provided to Docker using
--envor--env-fileand interact with the container’s preexisting environment as defined by Docker.- dockerPull = None
- dockerLoad = None
- dockerFile = None
- dockerImport = None
- dockerImageId = None
- dockerOutputDirectory = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- Parameters:
dockerPull (Any | None)
dockerLoad (Any | None)
dockerFile (Any | None)
dockerImport (Any | None)
dockerImageId (Any | None)
dockerOutputDirectory (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- class cwl_utils.parser.cwl_v1_0.SoftwareRequirement(packages, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
A list of software packages that should be configured in the environment of the defined process.
- Parameters:
packages (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- packages
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.SoftwarePackage(package, version=None, specs=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
Mark classes than have a save() and fromDoc() function.
- Parameters:
package (Any)
version (Any | None)
specs (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- package
- version = None
- specs = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.Dirent(entry, entryname=None, writable=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
Define a file or subdirectory that must be placed in the designated output directory prior to executing the command line tool. May be the result of executing an expression, such as building a configuration file from a template.
- Parameters:
entry (Any)
entryname (Any | None)
writable (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- entryname = None
- entry
- writable = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.InitialWorkDirRequirement(listing, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Define a list of files and subdirectories that must be created by the workflow platform in the designated output directory prior to executing the command line tool.
- Parameters:
listing (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- listing
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.EnvVarRequirement(envDef, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Define a list of environment variables which will be set in the execution environment of the tool. See
EnvironmentDeffor details.- Parameters:
envDef (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- envDef
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ShellCommandRequirement(extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Modify the behavior of CommandLineTool to generate a single string containing a shell command line. Each item in the argument list must be joined into a string separated by single spaces and quoted to prevent interpretation by the shell, unless
CommandLineBindingfor that argument containsshellQuote: false. IfshellQuote: falseis specified, the argument is joined into the command string without quoting, which allows the use of shell metacharacters such as|for pipes.- Parameters:
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ResourceRequirement(coresMin=None, coresMax=None, ramMin=None, ramMax=None, tmpdirMin=None, tmpdirMax=None, outdirMin=None, outdirMax=None, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Specify basic hardware resource requirements.
“min” is the minimum amount of a resource that must be reserved to schedule a job. If “min” cannot be satisfied, the job should not be run.
“max” is the maximum amount of a resource that the job shall be permitted to use. If a node has sufficient resources, multiple jobs may be scheduled on a single node provided each job’s “max” resource requirements are met. If a job attempts to exceed its “max” resource allocation, an implementation may deny additional resources, which may result in job failure.
If “min” is specified but “max” is not, then “max” == “min” If “max” is specified by “min” is not, then “min” == “max”.
It is an error if max < min.
It is an error if the value of any of these fields is negative.
If neither “min” nor “max” is specified for a resource, an implementation may provide a default.
- Parameters:
coresMin (Any | None)
coresMax (Any | None)
ramMin (Any | None)
ramMax (Any | None)
tmpdirMin (Any | None)
tmpdirMax (Any | None)
outdirMin (Any | None)
outdirMax (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- coresMin = None
- coresMax = None
- ramMin = None
- ramMax = None
- tmpdirMin = None
- tmpdirMax = None
- outdirMin = None
- outdirMax = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ExpressionToolOutputParameter(id, label=None, secondaryFiles=None, streamable=None, doc=None, outputBinding=None, format=None, type_=None, extension_fields=None, loadingOptions=None)
Bases:
OutputParameter
Define an input or output parameter to a process.
- Parameters:
id (Any)
label (Any | None)
secondaryFiles (Any | None)
streamable (Any | None)
doc (Any | None)
outputBinding (Any | None)
format (Any | None)
type_ (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- label = None
- secondaryFiles = None
- streamable = None
- doc = None
- outputBinding = None
- format = None
- type_ = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ExpressionTool(inputs, outputs, expression, id=None, requirements=None, hints=None, label=None, doc=None, cwlVersion=None, extension_fields=None, loadingOptions=None)
Bases:
Process
Execute an expression as a Workflow step.
- Parameters:
inputs (Any)
outputs (Any)
expression (Any)
id (Any | None)
requirements (Any | None)
hints (Any | None)
label (Any | None)
doc (Any | None)
cwlVersion (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- inputs
- outputs
- requirements = None
- hints = None
- label = None
- doc = None
- cwlVersion = None
- expression
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.WorkflowOutputParameter(id, label=None, secondaryFiles=None, streamable=None, doc=None, outputBinding=None, format=None, outputSource=None, linkMerge=None, type_=None, extension_fields=None, loadingOptions=None)
Bases:
OutputParameter
Describe an output parameter of a workflow. The parameter must be connected to one or more parameters defined in the workflow that will provide the value of the output parameter.
- Parameters:
id (Any)
label (Any | None)
secondaryFiles (Any | None)
streamable (Any | None)
doc (Any | None)
outputBinding (Any | None)
format (Any | None)
outputSource (Any | None)
linkMerge (Any | None)
type_ (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- label = None
- secondaryFiles = None
- streamable = None
- doc = None
- outputBinding = None
- format = None
- outputSource = None
- linkMerge = None
- type_ = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.Sink
Bases:
schema_salad.runtime.Saveable
Mark classes than have a save() and fromDoc() function.
- class cwl_utils.parser.cwl_v1_0.WorkflowStepInput(id, source=None, linkMerge=None, default=None, valueFrom=None, extension_fields=None, loadingOptions=None)
Bases:
Sink
The input of a workflow step connects an upstream parameter (from the workflow inputs, or the outputs of other workflows steps) with the input parameters of the underlying step.
Input object
A WorkflowStepInput object must contain an
idfield in the form#fieldnameor#prefix/fieldname. When theidfield contains a slash/the field name consists of the characters following the final slash (the prefix portion may contain one or more slashes to indicate scope). This defines a field of the workflow step input object with the value of thesourceparameter(s).Merging
To merge multiple inbound data links, MultipleInputFeatureRequirement must be specified in the workflow or workflow step requirements.
If the sink parameter is an array, or named in a workflow scatter operation, there may be multiple inbound data links listed in the
sourcefield. The values from the input links are merged depending on the method specified in thelinkMergefield. If not specified, the default method is “merge_nested”.merge_nested
The input must be an array consisting of exactly one entry for each input link. If “merge_nested” is specified with a single link, the value from the link must be wrapped in a single-item list.
merge_flattened
The source and sink parameters must be compatible types, or the source type must be compatible with single element from the “items” type of the destination array parameter.
Source parameters which are arrays are concatenated. Source parameters which are single element types are appended as single elements.
- source = None
- linkMerge = None
- default = None
- valueFrom = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- Parameters:
id (Any)
source (Any | None)
linkMerge (Any | None)
default (Any | None)
valueFrom (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- class cwl_utils.parser.cwl_v1_0.WorkflowStepOutput(id, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
Associate an output parameter of the underlying process with a workflow parameter. The workflow parameter (given in the
idfield) be may be used as asourceto connect with input parameters of other workflow steps, or with an output parameter of the process.- Parameters:
id (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.WorkflowStep(id, in_, out, run, requirements=None, hints=None, label=None, doc=None, scatter=None, scatterMethod=None, extension_fields=None, loadingOptions=None)
Bases:
schema_salad.runtime.Saveable
A workflow step is an executable element of a workflow. It specifies the underlying process implementation (such as
CommandLineToolor anotherWorkflow) in therunfield and connects the input and output parameters of the underlying process to workflow parameters.Scatter/gather
To use scatter/gather, ScatterFeatureRequirement must be specified in the workflow or workflow step requirements.
A “scatter” operation specifies that the associated workflow step or subworkflow should execute separately over a list of input elements. Each job making up a scatter operation is independent and may be executed concurrently.
The
scatterfield specifies one or more input parameters which will be scattered. An input parameter may be listed more than once. The declared type of each input parameter is implicitly becomes an array of items of the input parameter type. If a parameter is listed more than once, it becomes a nested array. As a result, upstream parameters which are connected to scattered parameters must be arrays.All output parameter types are also implicitly wrapped in arrays. Each job in the scatter results in an entry in the output array.
If any scattered parameter runtime value is an empty array, all outputs are set to empty arrays and no work is done for the step, according to applicable scattering rules.
If
scatterdeclares more than one input parameter,scatterMethoddescribes how to decompose the input into a discrete set of jobs.dotproduct specifies that each of the input arrays are aligned and one element taken from each array to construct each job. It is an error if all input arrays are not the same length.
nested_crossproduct specifies the Cartesian product of the inputs, producing a job for every combination of the scattered inputs. The output must be nested arrays for each level of scattering, in the order that the input arrays are listed in the
scatterfield.flat_crossproduct specifies the Cartesian product of the inputs, producing a job for every combination of the scattered inputs. The output arrays must be flattened to a single level, but otherwise listed in the order that the input arrays are listed in the
scatterfield.
Subworkflows
To specify a nested workflow as part of a workflow step, SubworkflowFeatureRequirement must be specified in the workflow or workflow step requirements.
It is a fatal error if a workflow directly or indirectly invokes itself as a subworkflow (recursive workflows are not allowed).
- in_
- out
- requirements = None
- hints = None
- label = None
- doc = None
- run
- scatter = None
- scatterMethod = None
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- Parameters:
id (Any)
in_ (Any)
out (Any)
run (Any)
requirements (Any | None)
hints (Any | None)
label (Any | None)
doc (Any | None)
scatter (Any | None)
scatterMethod (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- class cwl_utils.parser.cwl_v1_0.Workflow(inputs, outputs, steps, id=None, requirements=None, hints=None, label=None, doc=None, cwlVersion=None, extension_fields=None, loadingOptions=None)
Bases:
Process
A workflow describes a set of steps and the dependencies between those steps. When a step produces output that will be consumed by a second step, the first step is a dependency of the second step.
When there is a dependency, the workflow engine must execute the preceding step and wait for it to successfully produce output before executing the dependent step. If two steps are defined in the workflow graph that are not directly or indirectly dependent, these steps are independent, and may execute in any order or execute concurrently. A workflow is complete when all steps have been executed.
Dependencies between parameters are expressed using the
sourcefield on workflow step input parameters and workflow output parameters.The
sourcefield expresses the dependency of one parameter on another such that when a value is associated with the parameter specified bysource, that value is propagated to the destination parameter. When all data links inbound to a given step are fulfilled, the step is ready to execute.Workflow success and failure
A completed step must result in one of
success,temporaryFailureorpermanentFailurestates. An implementation may choose to retry a step execution which resulted intemporaryFailure. An implementation may choose to either continue running other steps of a workflow, or terminate immediately uponpermanentFailure.If any step of a workflow execution results in
permanentFailure, then the workflow status ispermanentFailure.If one or more steps result in
temporaryFailureand all other steps completesuccessor are not executed, then the workflow status istemporaryFailure.If all workflow steps are executed and complete with
success, then the workflow status issuccess.
Extensions
ScatterFeatureRequirement and SubworkflowFeatureRequirement are available as standard extensions to core workflow semantics.
- inputs
- outputs
- requirements = None
- hints = None
- label = None
- doc = None
- cwlVersion = None
- steps
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- Parameters:
inputs (Any)
outputs (Any)
steps (Any)
id (Any | None)
requirements (Any | None)
hints (Any | None)
label (Any | None)
doc (Any | None)
cwlVersion (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- class cwl_utils.parser.cwl_v1_0.SubworkflowFeatureRequirement(extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicates that the workflow platform must support nested workflows in the
runfield of WorkflowStep.- Parameters:
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ScatterFeatureRequirement(extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicates that the workflow platform must support the
scatterandscatterMethodfields of WorkflowStep.- Parameters:
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.MultipleInputFeatureRequirement(extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicates that the workflow platform must support multiple inbound data links listed in the
sourcefield of WorkflowStepInput.- Parameters:
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.StepInputExpressionRequirement(extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicate that the workflow platform must support the
valueFromfield of WorkflowStepInput.- Parameters:
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.LoadListingRequirement(loadListing, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See
`Process.hints<#process>`__ and`Process.requirements<#process>`__.Process requirements are the primary mechanism for specifying extensions to the CWL core specification.
- Parameters:
loadListing (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- loadListing
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.InplaceUpdateRequirement(inplaceUpdate, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See
`Process.hints<#process>`__ and`Process.requirements<#process>`__.Process requirements are the primary mechanism for specifying extensions to the CWL core specification.
- Parameters:
inplaceUpdate (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- inplaceUpdate
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.Secrets(secrets, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See
`Process.hints<#process>`__ and`Process.requirements<#process>`__.Process requirements are the primary mechanism for specifying extensions to the CWL core specification.
- Parameters:
secrets (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- secrets
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.TimeLimit(timelimit, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Set an upper limit on the execution time of a CommandLineTool or ExpressionTool. A tool execution which exceeds the time limit may be preemptively terminated and considered failed. May also be used by batch systems to make scheduling decisions.
- Parameters:
timelimit (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- timelimit
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.WorkReuse(enableReuse, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
For implementations that support reusing output from past work (on the assumption that same code and same input produce same results), control whether to enable or disable the reuse behavior for a particular tool or step (to accommodate situations where that assumption is incorrect). A reused step is not executed but instead returns the same output as the original execution.
If
enableReuseis not specified, correct tools should assume it is enabled by default.- Parameters:
enableReuse (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- enableReuse
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.NetworkAccess(networkAccess, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicate whether a process requires outgoing IPv4/IPv6 network access. Choice of IPv4 or IPv6 is implementation and site specific, correct tools must support both.
If
networkAccessis false or not specified, tools must not assume network access, except for localhost (the loopback device).If
networkAccessis true, the tool must be able to make outgoing connections to network resources. Resources may be on a private subnet or the public Internet. However, implementations and sites may apply their own security policies to restrict what is accessible by the tool.Enabling network access does not imply a publicly routable IP address or the ability to accept inbound connections.
- Parameters:
networkAccess (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- networkAccess
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ProcessGenerator(inputs, outputs, run, id=None, requirements=None, hints=None, label=None, doc=None, cwlVersion=None, extension_fields=None, loadingOptions=None)
Bases:
Process
The base executable type in CWL is the
Processobject defined by the document. Note that theProcessobject is abstract and cannot be directly executed.- Parameters:
inputs (Any)
outputs (Any)
run (Any)
id (Any | None)
requirements (Any | None)
hints (Any | None)
label (Any | None)
doc (Any | None)
cwlVersion (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- inputs
- outputs
- requirements = None
- hints = None
- label = None
- doc = None
- cwlVersion = None
- run
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.MPIRequirement(processes, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Indicates that a process requires an MPI runtime.
- Parameters:
processes (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- processes
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.CUDARequirement(cudaComputeCapability, cudaVersionMin, cudaDeviceCountMax=None, cudaDeviceCountMin=None, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
Require support for NVIDA CUDA (GPU hardware acceleration).
- Parameters:
cudaComputeCapability (Any)
cudaVersionMin (Any)
cudaDeviceCountMax (Any | None)
cudaDeviceCountMin (Any | None)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- cudaComputeCapability
- cudaDeviceCountMax = None
- cudaDeviceCountMin = None
- cudaVersionMin
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- class cwl_utils.parser.cwl_v1_0.ShmSize(shmSize, extension_fields=None, loadingOptions=None)
Bases:
ProcessRequirement
A process requirement declares a prerequisite that may or must be fulfilled before executing a process. See
`Process.hints<#process>`__ and`Process.requirements<#process>`__.Process requirements are the primary mechanism for specifying extensions to the CWL core specification.
- Parameters:
shmSize (Any)
extension_fields (collections.abc.MutableMapping[str, Any] | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- shmSize
- classmethod fromDoc(doc, baseuri, loadingOptions, docRoot=None)
Construct this object from the result of yaml.load().
- Parameters:
doc (Any)
baseuri (str)
loadingOptions (schema_salad.runtime.LoadingOptions)
docRoot (str | None)
- Return type:
Self
- save(top=False, base_url='', relative_uris=True)
Convert this object to a JSON/YAML friendly dictionary.
- attrs: ClassVar[collections.abc.Collection[str]]
- cwl_utils.parser.cwl_v1_0.strtype: Final
- cwl_utils.parser.cwl_v1_0.inttype: Final
- cwl_utils.parser.cwl_v1_0.floattype: Final
- cwl_utils.parser.cwl_v1_0.booltype: Final
- cwl_utils.parser.cwl_v1_0.None_type: Final
- cwl_utils.parser.cwl_v1_0.Any_type: Final
- cwl_utils.parser.cwl_v1_0.DocumentedProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.PrimitiveTypeLoader: Final
Names of salad data types (based on Avro schema declarations).
Refer to the Avro schema declaration documentation for detailed information.
null: no value
boolean: a binary value
int: 32-bit signed integer
long: 64-bit signed integer
float: single precision (32-bit) IEEE 754 floating-point number
double: double precision (64-bit) IEEE 754 floating-point number
string: Unicode character sequence
- cwl_utils.parser.cwl_v1_0.AnyLoader: Final
The Any type validates for any non-null value.
- cwl_utils.parser.cwl_v1_0.RecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.RecordSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.EnumSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.ArraySchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.MapSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.UnionSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CWLTypeLoader: Final
Extends primitive types with the concept of a file and directory as a builtin type.
File: A File object
Directory: A Directory object
- cwl_utils.parser.cwl_v1_0.CWLArraySchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CWLRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.CWLRecordSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.FileLoader: Final
- cwl_utils.parser.cwl_v1_0.DirectoryLoader: Final
- cwl_utils.parser.cwl_v1_0.CWLObjectTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_CWLObjectTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_None_type_or_CWLObjectTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.map_of_union_of_None_type_or_CWLObjectTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.CWLInputFileLoader: Final
- cwl_utils.parser.cwl_v1_0.CWLVersionLoader: Final
Current version symbol for CWL documents.
- cwl_utils.parser.cwl_v1_0.SchemaBaseProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.ParameterProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.InputBindingProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputBindingProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.InputSchemaProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputSchemaProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.InputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.InputRecordSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.InputEnumSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.InputArraySchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.InputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.OutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputRecordSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputEnumSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputArraySchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.InputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.OutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.ProcessRequirementProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.ProcessProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.InlineJavascriptRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.SchemaDefRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.EnvironmentDefLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandLineBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandOutputBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandInputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandInputRecordSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandInputEnumSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandInputArraySchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandOutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandOutputRecordSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandOutputEnumSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandOutputArraySchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandInputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.CommandInputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.stdoutLoader: Final
Only valid as a
typefor aCommandLineTooloutput with nooutputBindingset.The following
outputs: an_output_name: type: stdout stdout: a_stdout_file
is equivalent to
outputs: an_output_name: type: File streamable: true outputBinding: glob: a_stdout_file stdout: a_stdout_file
If there is no
stdoutname provided, a random filename will be created. For example, the followingoutputs: an_output_name: type: stdout
is equivalent to
outputs: an_output_name: type: File streamable: true outputBinding: glob: random_stdout_filenameABCDEFG stdout: random_stdout_filenameABCDEFG
- cwl_utils.parser.cwl_v1_0.stderrLoader: Final
Only valid as a
typefor aCommandLineTooloutput with nooutputBindingset.The following
outputs: an_output_name: type: stderr stderr: a_stderr_file
is equivalent to
outputs: an_output_name: type: File streamable: true outputBinding: glob: a_stderr_file stderr: a_stderr_file
If there is no
stderrname provided, a random filename will be created. For example, the followingoutputs: an_output_name: type: stderr
is equivalent to
outputs: an_output_name: type: File streamable: true outputBinding: glob: random_stderr_filenameABCDEFG stderr: random_stderr_filenameABCDEFG
- cwl_utils.parser.cwl_v1_0.CommandOutputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.CommandOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.CommandLineToolLoader: Final
- cwl_utils.parser.cwl_v1_0.DockerRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.SoftwareRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.SoftwarePackageLoader: Final
- cwl_utils.parser.cwl_v1_0.DirentLoader: Final
- cwl_utils.parser.cwl_v1_0.InitialWorkDirRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.EnvVarRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.ShellCommandRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.ResourceRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.ExpressionToolOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.ExpressionToolLoader: Final
- cwl_utils.parser.cwl_v1_0.LinkMergeMethodLoader: Final
The input link merge method, described in WorkflowStepInput.
- cwl_utils.parser.cwl_v1_0.WorkflowOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.SinkProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.WorkflowStepInputLoader: Final
- cwl_utils.parser.cwl_v1_0.WorkflowStepOutputLoader: Final
- cwl_utils.parser.cwl_v1_0.ScatterMethodLoader: Final
The scatter method, as described in workflow step scatter.
- cwl_utils.parser.cwl_v1_0.WorkflowStepLoader: Final
- cwl_utils.parser.cwl_v1_0.WorkflowLoader: Final
- cwl_utils.parser.cwl_v1_0.SubworkflowFeatureRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.ScatterFeatureRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.MultipleInputFeatureRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.StepInputExpressionRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.LoadListingRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.InplaceUpdateRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.SecretsLoader: Final
- cwl_utils.parser.cwl_v1_0.TimeLimitLoader: Final
- cwl_utils.parser.cwl_v1_0.WorkReuseLoader: Final
- cwl_utils.parser.cwl_v1_0.NetworkAccessLoader: Final
- cwl_utils.parser.cwl_v1_0.ProcessGeneratorLoader: Final
- cwl_utils.parser.cwl_v1_0.MPIRequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.CUDARequirementLoader: Final
- cwl_utils.parser.cwl_v1_0.ShmSizeLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_strtype_or_array_of_strtype: Final
- cwl_utils.parser.cwl_v1_0.uri_strtype_True_False_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype_or_array_of_union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype_or_array_of_union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype_2: Final
- cwl_utils.parser.cwl_v1_0.array_of_RecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_RecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_fields_union_of_None_type_or_array_of_RecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.Record_nameLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_Record_nameLoader_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_True_False_None_None: Final
- cwl_utils.parser.cwl_v1_0.uri_array_of_strtype_True_False_None_None: Final
- cwl_utils.parser.cwl_v1_0.Enum_nameLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_Enum_nameLoader_2: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype_or_array_of_union_of_PrimitiveTypeLoader_or_RecordSchemaLoader_or_EnumSchemaLoader_or_ArraySchemaLoader_or_MapSchemaLoader_or_UnionSchemaLoader_or_strtype_False_True_2_None: Final
- cwl_utils.parser.cwl_v1_0.Array_nameLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_Array_nameLoader_2: Final
- cwl_utils.parser.cwl_v1_0.Map_nameLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_Map_nameLoader_2: Final
- cwl_utils.parser.cwl_v1_0.Union_nameLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_Union_nameLoader_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype_or_array_of_union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype_or_array_of_union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype_False_True_2_None: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype_or_array_of_union_of_PrimitiveTypeLoader_or_CWLRecordSchemaLoader_or_EnumSchemaLoader_or_CWLArraySchemaLoader_or_strtype_2: Final
- cwl_utils.parser.cwl_v1_0.array_of_CWLRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_CWLRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_fields_union_of_None_type_or_array_of_CWLRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.File_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_File_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_False_False_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_inttype: Final
- cwl_utils.parser.cwl_v1_0.union_of_FileLoader_or_DirectoryLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_FileLoader_or_DirectoryLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_union_of_FileLoader_or_DirectoryLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_True_False_None_True: Final
- cwl_utils.parser.cwl_v1_0.Directory_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_Directory_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_strtype_or_ExpressionLoader_or_array_of_union_of_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_booltype: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_InputBindingProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_InputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_InputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_fields_union_of_None_type_or_array_of_InputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_InputRecordSchemaLoader_or_InputEnumSchemaLoader_or_InputArraySchemaLoader_or_strtype_False_True_2_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_OutputBindingProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_OutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_OutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_fields_union_of_None_type_or_array_of_OutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_OutputRecordSchemaLoader_or_OutputEnumSchemaLoader_or_OutputArraySchemaLoader_or_strtype_False_True_2_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_strtype_or_array_of_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_or_array_of_strtype_or_ExpressionLoader_True_False_None_True: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_InputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_None_type_or_InputParameterTypeLoader_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_or_ExpressionLoader_True_False_None_True: Final
- cwl_utils.parser.cwl_v1_0.array_of_InputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_inputs_array_of_InputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_OutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_outputs_array_of_OutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_LoadListingRequirementLoader_or_EnvVarRequirementLoader_or_WorkReuseLoader_or_DockerRequirementLoader_or_SoftwareRequirementLoader_or_InitialWorkDirRequirementLoader_or_ScatterFeatureRequirementLoader_or_MPIRequirementLoader_or_SchemaDefRequirementLoader_or_InlineJavascriptRequirementLoader_or_InplaceUpdateRequirementLoader_or_CUDARequirementLoader_or_ResourceRequirementLoader_or_StepInputExpressionRequirementLoader_or_MultipleInputFeatureRequirementLoader_or_SubworkflowFeatureRequirementLoader_or_ShellCommandRequirementLoader_or_TimeLimitLoader_or_SecretsLoader_or_ShmSizeLoader_or_NetworkAccessLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_ProcessRequirementProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_ProcessRequirementProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_requirements_union_of_None_type_or_array_of_ProcessRequirementProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_ProcessRequirementProxyLoader_or_Any_type: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_ProcessRequirementProxyLoader_or_Any_type: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_union_of_ProcessRequirementProxyLoader_or_Any_type: Final
- cwl_utils.parser.cwl_v1_0.idmap_hints_union_of_None_type_or_array_of_union_of_ProcessRequirementProxyLoader_or_Any_type: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_CWLVersionLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_CWLVersionLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.InlineJavascriptRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_InlineJavascriptRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_strtype: Final
- cwl_utils.parser.cwl_v1_0.SchemaDefRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_SchemaDefRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_InputRecordSchemaLoader_or_InputArraySchemaLoader_or_InputEnumSchemaLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_InputSchemaProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_strtype_or_ExpressionLoader_or_array_of_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_CommandLineBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_CommandInputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_CommandInputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_fields_union_of_None_type_or_array_of_CommandInputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_CommandInputRecordSchemaLoader_or_CommandInputEnumSchemaLoader_or_CommandInputArraySchemaLoader_or_strtype_False_True_2_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_CommandOutputBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_CommandOutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_CommandOutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_fields_union_of_None_type_or_array_of_CommandOutputRecordFieldLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype_or_array_of_union_of_CWLTypeLoader_or_CommandOutputRecordSchemaLoader_or_CommandOutputEnumSchemaLoader_or_CommandOutputArraySchemaLoader_or_strtype_False_True_2_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_CommandInputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_None_type_or_CommandInputParameterTypeLoader_2: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_CommandOutputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_None_type_or_CommandOutputParameterTypeLoader_2: Final
- cwl_utils.parser.cwl_v1_0.CommandLineTool_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_CommandLineTool_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_CommandInputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_inputs_array_of_CommandInputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_CommandOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_outputs_array_of_CommandOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_strtype_or_ExpressionLoader_or_CommandLineBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_strtype_or_ExpressionLoader_or_CommandLineBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_union_of_strtype_or_ExpressionLoader_or_CommandLineBindingLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_inttype: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_inttype: Final
- cwl_utils.parser.cwl_v1_0.DockerRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_DockerRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.SoftwareRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_SoftwareRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_SoftwarePackageLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_packages_array_of_SoftwarePackageLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_array_of_strtype_False_False_None_True: Final
- cwl_utils.parser.cwl_v1_0.InitialWorkDirRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_InitialWorkDirRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_FileLoader_or_DirectoryLoader_or_DirentLoader_or_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_FileLoader_or_DirectoryLoader_or_DirentLoader_or_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_array_of_union_of_FileLoader_or_DirectoryLoader_or_DirentLoader_or_strtype_or_ExpressionLoader_or_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.EnvVarRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_EnvVarRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_EnvironmentDefLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_envDef_array_of_EnvironmentDefLoader: Final
- cwl_utils.parser.cwl_v1_0.ShellCommandRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_ShellCommandRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.ResourceRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_ResourceRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_inttype_or_strtype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_OutputParameterTypeLoader: Final
- cwl_utils.parser.cwl_v1_0.typedsl_union_of_None_type_or_OutputParameterTypeLoader_2: Final
- cwl_utils.parser.cwl_v1_0.ExpressionTool_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_ExpressionTool_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_ExpressionToolOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_outputs_array_of_ExpressionToolOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_or_array_of_strtype_False_False_1_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_LinkMergeMethodLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_or_array_of_strtype_False_False_2_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_WorkflowStepInputLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_in__array_of_WorkflowStepInputLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_strtype_or_WorkflowStepOutputLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_strtype_or_WorkflowStepOutputLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_array_of_union_of_strtype_or_WorkflowStepOutputLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_array_of_union_of_strtype_or_WorkflowStepOutputLoader_True_False_None_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_Any_type: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_array_of_Any_type: Final
- cwl_utils.parser.cwl_v1_0.idmap_hints_union_of_None_type_or_array_of_Any_type: Final
- cwl_utils.parser.cwl_v1_0.union_of_ExpressionToolLoader_or_WorkflowLoader_or_ProcessGeneratorLoader_or_CommandLineToolLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_strtype_or_ProcessProxyLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_strtype_or_ProcessProxyLoader_False_False_None_None: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_strtype_or_array_of_strtype_False_False_0_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_ScatterMethodLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_union_of_None_type_or_ScatterMethodLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.Workflow_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_Workflow_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.array_of_WorkflowOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_outputs_array_of_WorkflowOutputParameterLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_WorkflowStepLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_array_of_WorkflowStepLoader: Final
- cwl_utils.parser.cwl_v1_0.idmap_steps_union_of_array_of_WorkflowStepLoader: Final
- cwl_utils.parser.cwl_v1_0.SubworkflowFeatureRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_SubworkflowFeatureRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.ScatterFeatureRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_ScatterFeatureRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.MultipleInputFeatureRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_MultipleInputFeatureRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.StepInputExpressionRequirement_classLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_StepInputExpressionRequirement_classLoader_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.uri_strtype_False_True_None_None: Final
- cwl_utils.parser.cwl_v1_0.LoadListingEnumLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_LoadListingEnumLoader: Final
- cwl_utils.parser.cwl_v1_0.uri_array_of_strtype_False_False_0_None: Final
- cwl_utils.parser.cwl_v1_0.union_of_inttype_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_booltype_or_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_inttype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_strtype_or_array_of_strtype: Final
- cwl_utils.parser.cwl_v1_0.union_of_None_type_or_inttype_or_ExpressionLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_CommandLineToolLoader_or_ExpressionToolLoader_or_WorkflowLoader_or_ProcessGeneratorLoader: Final
- cwl_utils.parser.cwl_v1_0.array_of_union_of_CommandLineToolLoader_or_ExpressionToolLoader_or_WorkflowLoader_or_ProcessGeneratorLoader: Final
- cwl_utils.parser.cwl_v1_0.union_of_CommandLineToolLoader_or_ExpressionToolLoader_or_WorkflowLoader_or_ProcessGeneratorLoader_or_array_of_union_of_CommandLineToolLoader_or_ExpressionToolLoader_or_WorkflowLoader_or_ProcessGeneratorLoader: Final
- cwl_utils.parser.cwl_v1_0.load_document(doc, baseuri=None, loadingOptions=None)
- Parameters:
doc (Any)
baseuri (str | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- Return type:
Any
- cwl_utils.parser.cwl_v1_0.load_document_with_metadata(doc, baseuri=None, loadingOptions=None, addl_metadata_fields=None)
- Parameters:
doc (Any)
baseuri (str | None)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
addl_metadata_fields (collections.abc.MutableSequence[str] | None)
- Return type:
Any
- cwl_utils.parser.cwl_v1_0.load_document_by_string(string, uri, loadingOptions=None)
- Parameters:
string (Any)
uri (str)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- Return type:
Any
- cwl_utils.parser.cwl_v1_0.load_document_by_yaml(yaml, uri, loadingOptions=None)
Shortcut to load via a YAML object. yaml: must be from ruamel.yaml.main.YAML.load with preserve_quotes=True
- Parameters:
yaml (Any)
uri (str)
loadingOptions (schema_salad.runtime.LoadingOptions | None)
- Return type:
Any