Skip to content

Commit 8ac1590

Browse files
authored
Merge pull request #124 from seqeralabs/quickstart-demo
Getting started content: Platform demo (RNASeq) and other updates
2 parents 5a66ca9 + 926b08c commit 8ac1590

File tree

155 files changed

+2459
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+2459
-81
lines changed

platform_versioned_docs/version-23.4/getting-started/deployment-options.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: "Deploy Seqera Platform"
2+
title: "Deploy Platform"
33
description: "An overview of deployment versions and ways to run Seqera Platform."
44
date: "21 Apr 2023"
55
tags: [deployment]
66
---
77

88
Seqera Platform is available in two deployment editions and can be accessed via the web-based user interface (UI), [API](../api/overview.mdx), [CLI](../cli/cli.mdx), or in Nextflow directly using a flag.
99

10-
## Seqera Platform editions
10+
## Platform editions
1111

12-
### Seqera Platform Cloud
12+
### Seqera Cloud
1313

14-
The hosted Seqera Cloud edition is recommended for users who are new to Seqera. It's an ideal choice for individuals and organizations looking to set up quickly. Seqera Cloud has a limit of five concurrent workflow runs per user. It's available free of charge at [cloud.seqera.io](https://cloud.seqera.io).
14+
The hosted Seqera Cloud edition is recommended for users who are new to Platform. It's an ideal choice for individuals and organizations looking to set up quickly. [Seqera Cloud](https://cloud.seqera.io) has a free tier with a limit of five concurrent workflow runs per user. Seqera Cloud Pro offers unlimited runs, dedicated support, and more — [contact us](https://cloud.seqera.io/demo/) for a demo to discuss your requirements.
1515

16-
### Seqera Platform Enterprise
16+
### Seqera Enterprise
1717

18-
[Seqera Platform Enterprise](../enterprise/index.mdx) is installed in an organization's own cloud or on-premises infrastructure. It includes:
18+
[Seqera Enterprise](../enterprise/index.mdx) is installed in an organization's own cloud or on-premises infrastructure. It includes:
1919

2020
- Monitoring, logging, and observability
2121
- Pipeline execution Launchpad
@@ -26,15 +26,15 @@ The hosted Seqera Cloud edition is recommended for users who are new to Seqera.
2626
- Full-featured API
2727
- Dedicated support for Nextflow and Seqera Platform
2828

29-
To install Seqera Platform in your organization's infrastructure, [contact us](https://cloud.seqera.io/demo/) for a demo to discuss your requirements.
29+
To install Platform in your organization's infrastructure, [contact us](https://cloud.seqera.io/demo/) for a demo to discuss your requirements.
3030

31-
## How to use Seqera Platform
31+
## How to use Platform
3232

3333
You can access your Seqera instance through the UI, the [API](../api/overview.mdx), the [CLI](../cli/cli.mdx), or in Nextflow directly using the `-with-tower` option.
3434

35-
### Seqera Platform web-based UI
35+
### Platform web-based UI
3636

37-
1. Create an account and log in to Seqera at [cloud.seqera.io](https://cloud.seqera.io).
37+
1. Create an account and log in to Seqera Cloud at [cloud.seqera.io](https://cloud.seqera.io).
3838

3939
:::note
4040
Platform login sessions remain active as long as the application browser window remains open and active. When the browser window is terminated, automatic logout occurs within 6 hours by default.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
---
2+
title: "Add data"
3+
description: "An introduction to adding pipeline input data in Seqera Platform"
4+
date: "21 Jul 2024"
5+
tags: [platform, data, data explorer, datasets]
6+
---
7+
8+
import Tabs from '@theme/Tabs';
9+
import TabItem from '@theme/TabItem';
10+
11+
Most bioinformatics pipelines require an input of some sort. This is typically a samplesheet where each row consists of a sample, the location of files for that sample (such as FASTQ files), and other sample details. Reliable shared access to pipeline input data is crucial to simplify data management, minimize user data-input errors, and facilitate reproducible workflows.
12+
13+
In Platform, samplesheets and other data can be made easily accessible in one of two ways:
14+
- Use **Data Explorer** to browse and interact with remote data from AWS S3, Azure Blob Storage, and Google Cloud Storage repositories, directly in your organization workspace.
15+
- Use **Datasets** to upload structured data to your workspace in CSV (Comma-Separated Values) or TSV (Tab-Separated Values) format.
16+
17+
## Data Explorer
18+
19+
For pipeline runs in the cloud, users typically need access to buckets or blob storage to upload files (such as samplesheets and reference data) for analysis and to view pipeline results. Managing credentials and permissions for multiple users and training users to navigate cloud consoles and CLIs can be complicated. Data Explorer provides the simplified alternative of viewing your data directly in Platform.
20+
21+
### Add a cloud bucket
22+
23+
Private cloud storage buckets accessible by the [credentials](../../credentials/overview.mdx) in your workspace are added to Data Explorer automatically by default. However, you can also add custom directory paths within buckets to your workspace to simplify direct access.
24+
25+
To add individual buckets (or directory paths within buckets):
26+
27+
1. From the **Data Explorer** tab, select **Add cloud bucket**.
28+
1. Specify the bucket details:
29+
- The cloud **Provider**.
30+
- An existing cloud **Bucket path**.
31+
- A unique **Name** for the bucket.
32+
- The **Credentials** used to access the bucket. For public cloud buckets, select **Public** from the dropdown menu.
33+
- An optional bucket **Description**.
34+
1. Select **Add**.
35+
36+
![Add public bucket](assets/data-explorer-add-bucket.gif)
37+
38+
You can now use this data in your analysis without the need to interact with cloud consoles or CLI tools.
39+
40+
#### Public data sources
41+
42+
Select **Public** from the credentials dropdown menu to add public cloud storage buckets from resources such as:
43+
44+
- [The Cancer Genome Atlas (TCGA)](https://registry.opendata.aws/tcga/)
45+
- [1000 Genomes Project](https://registry.opendata.aws/1000-genomes/)
46+
- [NCBI SRA](https://registry.opendata.aws/ncbi-sra/)
47+
- [Genome in a Bottle Consortium](https://docs.opendata.aws/giab/readme.html)
48+
- [MSSNG Database](https://cloud.google.com/life-sciences/docs/resources/public-datasets/mssng)
49+
- [Genome Aggregation Database (gnomAD)](https://cloud.google.com/life-sciences/docs/resources/public-datasets/gnomad)
50+
51+
### View pipeline outputs
52+
53+
In Data Explorer, you can:
54+
55+
- **View bucket details**:
56+
Select the information icon next to a bucket in the list to view the cloud provider, bucket address, and credentials.
57+
58+
![Bucket details](assets/data-explorer-view-details.gif)
59+
60+
- **View bucket contents**:
61+
Select a bucket name from the list to view the bucket contents. The file type, size, and path of objects are displayed in columns next to the object name. For example, view the outputs of your [nf-core/rnaseq](./comm-showcase.mdx#launch-the-nf-corernaseq-pipeline) run:
62+
63+
![Data Explorer bucket](assets/sp-cloud-data-explorer.gif)
64+
65+
- **Preview files**:
66+
Select a file to open a preview window that includes a **Download** button. For example, view the resultant gene counts of the salmon quantification step of your [nf-core/rnaseq](./comm-showcase.mdx#launch-the-nf-corernaseq-pipeline) run:
67+
68+
![Preview pipeline results](assets/data-explorer-preview-files.gif)
69+
70+
## Datasets
71+
72+
Datasets in Platform are CSV (comma-separated values) and TSV (tab-separated values) files stored in a workspace. You can select stored datasets as input data when launching a pipeline.
73+
74+
<details>
75+
<summary>**Example: nf-core/rnaseq test samplesheet**</summary>
76+
77+
The [nf-core/rnaseq](https://github.com/nf-core/rnaseq) pipeline works with input datasets (samplesheets) containing sample names, FASTQ file locations, and indications of strandedness. The Seqera Community Showcase sample dataset for nf-core/rnaseq specifies the paths to 7 small sub-sampled FASTQ files from a yeast RNAseq dataset:
78+
79+
**Example nf-core/rnaseq dataset**
80+
81+
| sample | fastq_1 | fastq_2 | strandedness |
82+
| ------------------- | ------------------------------------ | ------------------------------------ | ------------ |
83+
| WT_REP1 | s3://nf-core-awsmegatests/rnaseq/... | s3://nf-core-awsmegatests/rnaseq/... | reverse |
84+
| WT_REP1 | s3://nf-core-awsmegatests/rnaseq/... | s3://nf-core-awsmegatests/rnaseq/... | reverse |
85+
| WT_REP2 | s3://nf-core-awsmegatests/rnaseq/... | s3://nf-core-awsmegatests/rnaseq/... | reverse |
86+
| RAP1_UNINDUCED_REP1 | s3://nf-core-awsmegatests/rnaseq/... | | reverse |
87+
| RAP1_UNINDUCED_REP2 | s3://nf-core-awsmegatests/rnaseq/... | | reverse |
88+
| RAP1_UNINDUCED_REP2 | s3://nf-core-awsmegatests/rnaseq/... | | reverse |
89+
| RAP1_IAA_30M_REP1 | s3://nf-core-awsmegatests/rnaseq/... | s3://nf-core-awsmegatests/rnaseq/... | reverse |
90+
91+
</details>
92+
93+
Download the nf-core/rnaseq [samplesheet_test.csv](samplesheet_test.csv).
94+
95+
### Add a dataset
96+
97+
From the **Datasets** tab, select **Add Dataset**.
98+
99+
![Add a dataset](assets/sp-cloud-add-a-dataset.gif)
100+
101+
Specify the following dataset details:
102+
103+
- A **Name** for the dataset, such as `nf-core-rnaseq-test-dataset`.
104+
- A **Description** for the dataset.
105+
- Select the **First row as header** option to prevent Platform from parsing the header row of the samplesheet as sample data.
106+
- Select **Upload file** and browse to your CSV or TSV file in local storage, or simply drag and drop it into the box.
107+
108+
Notice the location of the files in the nf-core/rnaseq example dataset point to a path on S3. This could also be a path to a shared filesystem, if using an HPC compute environment. Nextflow will use these paths to stage the files into the task working directory.
109+
110+
:::info
111+
Platform does not store the data used for analysis in pipelines. The datasets must provide the locations of data that is stored on your own infrastructure.
112+
:::
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: "Add pipelines"
3+
description: "An introduction to adding pipelines to Seqera Platform workspaces"
4+
date: "12 Jul 2024"
5+
tags: [platform, launch, pipelines, launchpad]
6+
---
7+
8+
import Tabs from '@theme/Tabs';
9+
import TabItem from '@theme/TabItem';
10+
11+
The Launchpad lists the preconfigured Nextflow pipelines that can be executed on the [compute environments](../../compute-envs/overview.mdx) in your workspace.
12+
13+
Platform offers two methods to import pipelines to your workspace Launchpad — directly from Seqera Pipelines, or manually via **Add pipeline** in Platform. This page illustrates each method, using [nf-core/rnaseq](https://github.com/nf-core/rnaseq) as an example.
14+
15+
### Import nf-core/rnaseq from Seqera Pipelines
16+
17+
[Seqera Pipelines](https://seqera.io/pipelines) is an open-source resource that provides a curated collection of high-quality, open-source pipelines. Each pipeline includes a curated test dataset to use in a test run in just a few steps.
18+
19+
![Seqera Pipelines overview](assets/seqera-pipelines-overview.gif)
20+
21+
To import the `nf-core/rnaseq` pipeline:
22+
1. Select **Launch** next to the pipeline name in the list. In the **Add pipeline** tab, select **Cloud** or **Enterprise** depending on your Platform account type, then provide the information needed for Seqera Pipelines to access your Platform instance:
23+
- **Seqera Cloud**: Paste your Platform **Access token** and select **Next**.
24+
- **Seqera Enterprise**: Specify the **Seqera Platform URL** (hostname) and **Base API URL** for your Enterprise instance, then paste your Platform **Access token** and select **Next**.
25+
:::note
26+
If you do not have a Platform access token, select **Get your access token from Seqera Platform** to open the Access tokens page in a new browser window.
27+
:::
28+
1. Select the Platform **Organization**, **Workspace**, and **Compute environment** for the imported pipeline.
29+
1. (Optional) Customize the **Pipeline Name** and **Pipeline Description**.
30+
1. Select **Add Pipeline**.
31+
32+
![Seqera Pipelines add to Launchpad](assets/seqera-pipelines-add-pipeline.gif)
33+
34+
:::tip
35+
To launch pipelines directly with CLI tools, select the **Launch Pipeline** tab to grab commands for Nextflow, [Seqera Platform CLI](./automation.mdx), and [nf-core/tools](https://nf-co.re/docs/nf-core-tools):
36+
37+
![Launch Seqera Pipeline](assets/seqera-pipelines-launch-cli.png)
38+
:::
39+
40+
### Add nf-core/rnaseq from the Launchpad
41+
42+
![Add nf-core/rnaseq pipeline](assets/sp-cloud-add-rnaseq.gif)
43+
44+
From your workspace Launchpad, select **Add Pipeline** and specify the following pipeline details:
45+
46+
- **Name**: `nf-core/rnaseq`, or a custom name of your choice.
47+
- (*Optional*) **Description**: A summary of the pipeline or any information that may be useful to workspace participants when selecting a pipeline to launch.
48+
- (*Optional*) **Labels**: Categorize the pipeline according to arbitrary criteria (such as reference genome version) that may help workspace participants to select the appropriate pipeline for their analysis.
49+
- **Compute environment**: Select an existing workspace [compute environment](../../compute-envs/overview.mdx).
50+
- **Pipeline to launch**: `https://github.com/nf-core/rnaseq`
51+
- Platform allows you to select any public or private Git repository that contains Nextflow source code.
52+
- **Revision number**: Platform will search all of the available tags and branches in the provided pipeline repository and render a dropdown to select the appropriate version.
53+
:::tip
54+
Selecting a specific pipeline version is important for reproducibility as this ensures that each run with the same input data will generate the same results.
55+
:::
56+
- (*Optional*) **Config profiles**: `test`
57+
- Select a predefined profile for the Nextflow pipeline.
58+
:::info
59+
All nf-core pipelines include a `test` profile that is associated with a minimal test dataset. This profile runs the pipeline with heavily sub-sampled input data for the purposes of [CI/CD](https://resources.github.com/devops/ci-cd/) and to quickly confirm that the pipeline runs on your infrastructure.
60+
:::
61+
- (*Optional*) **Pipeline parameters**:
62+
- Set any custom pipeline parameters that will be prepopulated when users launch the pipeline from the Launchpad. For example, set the path to local reference genomes so users don't have to worry about locating these files when launching the pipeline.
63+
![Add pipeline parameters](assets/sp-cloud-pipeline-params.gif)
64+
- (*Optional*) **Pre-run script**:
65+
- Define Bash code that executes before the pipeline launches in the same environment where Nextflow runs.
66+
:::info
67+
Pre-run scripts are useful for defining executor settings, troubleshooting, and defining a specific version of Nextflow with the `NXF_VER` environment variable.
68+
:::
69+
![Specify NF version in pre-run script](assets/sp-cloud-pre-run-options.gif)
70+
71+
:::note
72+
Pre-filled pipeline settings (such as compute environment, config profiles, and pipeline parameters) can be overridden during pipeline launch by workspace participants with the necessary [permissions](../../orgs-and-teams/roles.mdx).
73+
:::
74+
75+
After you have populated the appropriate fields, select **Add**. `nf-core/rnaseq` is now available for workspace participants to launch in the preconfigured compute environment.
76+
77+
78+
79+
80+
81+
Loading

0 commit comments

Comments
 (0)