Environment Variables
Environment variables about the analysis and sample are injected into every workflow for your convenience.
The follow environment variables are available to your workflow:
Environment Variable | Description |
---|---|
OCX_SAMPLE_FILENAME | The normalized filename of the FASTA/Q file that was uploaded to One Codex. This will correspond to the name of the file that is injected into the working directory for your workflow. |
OCX_SAMPLE_NAME | The name of the Sample in One Codex. This might be different from the filename if the user has edited the Sample metadata. |
OCX_SAMPLE_UUID | The UUID of the Sample in One Codex. This is a globally unique identifier for the Sample that was used as input for the workflow. |
OCX_ANALYSIS_UUID | The UUID of the current Analysis in One Codex. This is a globally unique identifier for the current workflow run on a particular sample with the specific set of input parameters. This can be used to globally identify a particular instance of an Analysis in One Codex. |
Workflow Parameters as Environment Variables
Any parameters that are defined for your workflow either as part of the workflow definition or by the user at the time of analysis kickoff are injected into the execution environment as environment variables.
Updated about 2 months ago