Environment variables about the analysis and sample are injected into every workflow for your convenience.
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. |