Skip to main content

tw studios

Run tw studios -h to view the list of supported operations.

Manage Studio sessions hosted in Seqera Platform. Studio sessions allow interactive analysis using Jupyter, RStudio, VS Code, and Xpra. Additional custom analysis environments can be defined as needed.

note

Most Studio operations require workspace MAINTAIN permissions.

tw studios view

View studio details.

tw studios view [OPTIONS]

Options

OptionDescriptionRequiredDefault
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
-i, --idStudio session identifier
-n, --nameStudio name

Run tw studios view -h to view the required and optional fields for viewing session details.

tw studios view -i 23ce7967 -w community/showcase

Studio at workspace '[community / showcase]'

---------------------+------------------------------------------------------------
SessionID | 23ce7967
Name | experiment-analysis-session
Status | STARTING
Status Last Update | Fri, 31 Jan 2025 19:35:07 GMT
Studio URL | https://a23ce7967.connect.cloud.seqera.io
Description |
Created on | Fri, 31 Jan 2025 18:12:27 GMT
Created by | rob-newman | rob.newman@seqera.io
Template | public.cr.seqera.io/platform/data-studio-jupyter:4.1.5-0.7
Mounted Data |
Compute environment | aws-datastudios-sandbox-ireland-16cpus
Region | eu-west-1
GPU allocated | 0
CPU allocated | 2
Memory allocated | 8192
Build reports | NA

tw studios list

List studios.

tw studios list [OPTIONS]

Options

OptionDescriptionRequiredDefault
-f, --filterOptional filter criteria, allowing free text search on name and templateUrl and keywords: userName, computeEnvName and status. Example keyword usage: -f status:RUNNING.
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
--pagePage number for paginated results (default: 1)
--offsetRow offset for paginated results (default: 0)
--maxMaximum number of records to display (default: )

Run tw studios checkpoints -h to view the required and optional fields for viewing checkpoints for a session.

List all checkpoints for an existing Studio session in a workspace. See Session checkpoints for more information.

Example

tw studios checkpoints -i 9s0t1u2v -w 222333444555666

# Output:
Checkpoints at Studio 9s0t1u2v at [organization2 / organization6] workspace:

ID | Name | Author | Date Created | Date Saved
------+----------------------+------------+-------------------------------+-------------------------------
7889 | snakemake_1768412934 | user3-name | Wed, 14 Jan 2026 17:48:54 GMT | Thu, 15 Jan 2026 14:28:01 GMT
7838 | snakemake_1768226043 | user3-name | Mon, 12 Jan 2026 13:54:03 GMT | Mon, 12 Jan 2026 14:22:31 GMT

tw studios templates

List available Studio templates.

tw studios templates [OPTIONS]

Options

OptionDescriptionRequiredDefault
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID

Example

tw studios templates -w 123456789012345

# Output:
Available templates for Studios:

Templates
--------------------------------------------------------------
public.cr.seqera.io/platform/data-studio-jupyter:4.2.5-0.8
public.cr.seqera.io/platform/data-studio-jupyter:4.2.5-0.9
public.cr.seqera.io/platform/data-studio-ride:2025.04.1-0.8
public.cr.seqera.io/platform/data-studio-ride:2025.04.1-0.9

tw studios start

Start a studio.

tw studios start [OPTIONS]

Options

OptionDescriptionRequiredDefault
--waitWait until given status or fail. Valid options: STARTING, RUNNING, STOPPED, STOPPING.
--labelsComma-separated list of labels
--descriptionOptional configuration override for 'description'.
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
-i, --idStudio session identifier
-n, --nameStudio name
--gpuOptional configuration override for 'gpu' setting (integer representing number of cores).
--cpuOptional configuration override for 'cpu' setting (integer representing number of cores).
--memoryOptional configuration override for 'memory' setting (integer representing memory in MBs).
--lifespanOptional configuration override for 'lifespan' setting (integer representing hours). Defaults to workspace lifespan setting.

Run tw studios start-as-new -h to view the required and optional fields for adding and starting a new session from an existing session checkpoint.

Add a new session from an existing parent Studio session and checkpoint. Useful for experimentation without impacting the parent Studio session state.

Example

tw studios add-as-new -pid 0t1u2v3w -n cloned-studio-example -w 123456789012345

# Output:
Studio 1u2v3w4x CREATED at [my-organization-updated / my-workspace] workspace.

tw studios add

Add a studio.

tw studios add [OPTIONS]

Options

OptionDescriptionRequiredDefault
-n, --nameStudio name.
-d, --descriptionStudio description
--conda-env-yml, --conda-env-yamlPath to a YAML env file with Conda packages to be installed in the studio environment
-c, --compute-envCompute environment name
-a, --auto-startCreate studio and start it immediately (default: false)false
--privateCreate a private studio that only you can access or manage (default: false)false
--labelsComma-separated list of labels
--waitWait until Studio is in RUNNING status. Valid options: STARTING, RUNNING, STOPPED, STOPPING.
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
-t, --templateContainer image template to be used for Studio. Available templates can be listed with 'studios templates' command.
-ct, --custom-templateCustom container image template to be used for Studio.
--gpuOptional configuration override for 'gpu' setting (integer representing number of cores).
--cpuOptional configuration override for 'cpu' setting (integer representing number of cores).
--memoryOptional configuration override for 'memory' setting (integer representing memory in MBs).
--lifespanOptional configuration override for 'lifespan' setting (integer representing hours). Defaults to workspace lifespan setting.

Run tw studios add -h to view the required and optional fields for adding sessions.

Add a new Studio session in a workspace.

tw studios add -n new-analysis -w community/showcase \
--description="New Python analysis for RNA experiment ABC" \
--template="public.cr.seqera.io/platform/data-studio-jupyter:4.1.5-0.7" \
--compute-env=48bB2PDk83AxskE40lealy \
--cpu=2 \
--memory=8192

Studio 2aa60bb7 CREATED at [community / showcase] workspace.

tw studios templates

List available studio templates.

tw studios templates [OPTIONS]

Options

OptionDescriptionRequiredDefault
--maxMaximum number of templates to return, defaults to 20.20
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID

tw studios checkpoints

List studio checkpoints.

tw studios checkpoints [OPTIONS]

Options

OptionDescriptionRequiredDefault
-f, --filterOptional filter criteria, allowing free text search on name and keywords: after: YYYY-MM-DD, before: YYYY-MM-DD and author. Example keyword usage: -f author:my-name.
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
-i, --idStudio session identifier
-n, --nameStudio name
--pagePage number for paginated results (default: 1)
--offsetRow offset for paginated results (default: 0)
--maxMaximum number of records to display (default: )

tw studios add-as-new

Add a studio from an existing one.

tw studios add-as-new [OPTIONS]

Options

OptionDescriptionRequiredDefault
--parent-checkpoint-idParent Studio checkpoint id, to be used as the starting point for the new Studio session. If not provided, it defaults to the most recent existing checkpoint of the parent Studio session.
-n, --nameStudio name.
-d, --descriptionStudio description
-a, --auto-startCreate studio and start it immediately (default: false)false
--privateCreate a private studio that only you can access or manage (default: false)false
--labelsComma-separated list of labels
--waitWait until Studio is in RUNNING status. Valid options: STARTING, RUNNING, STOPPED, STOPPING.
-pid, --parent-idParent studio session identifier
-pn, --parent-nameParent studio name
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
--gpuOptional configuration override for 'gpu' setting (integer representing number of cores).
--cpuOptional configuration override for 'cpu' setting (integer representing number of cores).
--memoryOptional configuration override for 'memory' setting (integer representing memory in MBs).
--lifespanOptional configuration override for 'lifespan' setting (integer representing hours). Defaults to workspace lifespan setting.

tw studios stop

Stop a studio.

tw studios stop [OPTIONS]

Options

OptionDescriptionRequiredDefault
--waitWait until given status or fail. Valid options: STARTING, RUNNING, STOPPED, STOPPING.
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
-i, --idStudio session identifier
-n, --nameStudio name

Run tw studios stop -h to view the required and optional fields for adding sessions.

Stop an existing Studio session in a workspace.

tw studios stop -i 13083356 -w community/showcase

Studio 13083356 STOP successfully submitted at [community / showcase] workspace.

tw studios delete

Delete a studio.

tw studios delete [OPTIONS]

Options

OptionDescriptionRequiredDefault
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)TOWER_WORKSPACE_ID
-i, --idStudio session identifier
-n, --nameStudio name

Run tw studios delete -h to view the required and optional fields for listing sessions.

Delete an existing Studio session from a workspace.

tw studios delete -i 2aa60bb7

Studio 2aa60bb7 deleted at [community / showcase] workspace.