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)NoTOWER_WORKSPACE_ID
-i, --idStudio session identifierNonull
-n, --nameStudio nameNonull

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

Example

Command:

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

Example output:

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.Nonull
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)NoTOWER_WORKSPACE_ID
--pagePage number for paginated results (default: 1)Nonull
--offsetRow offset for paginated results (default: 0)Nonull
--maxMaximum number of records to display (default: )Nonull

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

Command:

tw studios checkpoints -i 9s0t1u2v -w 222333444555666

Example 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)NoTOWER_WORKSPACE_ID

Example

Command:

tw studios templates -w 123456789012345

Example 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.Nonull
--labelsComma-separated list of labelsNonull
--descriptionOptional configuration override for 'description'.Nonull
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)NoTOWER_WORKSPACE_ID
-i, --idStudio session identifierNonull
-n, --nameStudio nameNonull
--gpuOptional configuration override for 'gpu' setting (integer representing number of cores).Nonull
--cpuOptional configuration override for 'cpu' setting (integer representing number of cores).Nonull
--memoryOptional configuration override for 'memory' setting (integer representing memory in MBs).Nonull
--lifespanOptional configuration override for 'lifespan' setting (integer representing hours). Defaults to workspace lifespan setting.Nonull

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

Command:

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

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

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

Add a new Studio session in a workspace.

Example

Command:

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

Example output:


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.No20
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)NoTOWER_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.Nonull
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)NoTOWER_WORKSPACE_ID
-i, --idStudio session identifierNonull
-n, --nameStudio nameNonull
--pagePage number for paginated results (default: 1)Nonull
--offsetRow offset for paginated results (default: 0)Nonull
--maxMaximum number of records to display (default: )Nonull

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.Nonull
-n, --nameStudio name.Yesnull
-d, --descriptionStudio descriptionNonull
-a, --auto-startCreate studio and start it immediately (default: false)Nofalse
--privateCreate a private studio that only you can access or manage (default: false)Nofalse
--labelsComma-separated list of labelsNonull
--waitWait until Studio is in RUNNING status. Valid options: STARTING, RUNNING, STOPPED, STOPPING.Nonull
-pid, --parent-idParent studio session identifierNonull
-pn, --parent-nameParent studio nameNonull
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)NoTOWER_WORKSPACE_ID
--gpuOptional configuration override for 'gpu' setting (integer representing number of cores).Nonull
--cpuOptional configuration override for 'cpu' setting (integer representing number of cores).Nonull
--memoryOptional configuration override for 'memory' setting (integer representing memory in MBs).Nonull
--lifespanOptional configuration override for 'lifespan' setting (integer representing hours). Defaults to workspace lifespan setting.Nonull

tw studios stop

Stop a studio.

tw studios stop [OPTIONS]

Options

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

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

Stop an existing Studio session in a workspace.

Example

Command:

tw studios stop -i 13083356 -w community/showcase

Example output:

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

tw studios delete

Delete an existing Studio session from a workspace.

tw studios delete [OPTIONS]

Options

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

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

Example

Command:

tw studios delete -i 2aa60bb7

Example output:

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