|
1 | | -# Part 9: Hello Seqera |
2 | | - |
3 | 1 | --- |
4 | | - |
5 | | -title: Seqera Platform |
| 2 | +title: Hello Seqera |
6 | 3 | description: Get started with Seqera Platform |
7 | | - |
8 | 4 | --- |
9 | 5 |
|
10 | | -# Get started with Seqera Platform |
11 | | - |
12 | | -Seqera Platform, previously known as Nextflow Tower, is the centralized command post for data management and workflows. It brings monitoring, logging and observability to distributed workflows and simplifies the deployment of workflows on any cloud, cluster or laptop. In Seqera Platform terminology, a workflow is what we've been working on so far, and pipelines are pre-configured workflows that can be used by all users in a workspace. It is composed of a workflow repository, launch parameters, and a compute environment. We'll stick to these definitions in this section. |
13 | | - |
14 | | -Seqera core features include: |
| 6 | +# Part 9: Hello Seqera |
15 | 7 |
|
16 | | -- The launching of pre-configured pipelines with ease. |
17 | | -- Programmatic integration to meet the needs of an organization. |
18 | | -- Publishing pipelines to shared workspaces. |
19 | | -- Management of the infrastructure required to run data analysis at scale. |
| 8 | +So far we've been running Nextflow workflows on our local machine using the command line interface. |
| 9 | +In this section, we'll introduce you to Seqera Platform, a powerful cloud-based platform for running, monitoring, and sharing Nextflow workflows. |
20 | 10 |
|
21 | 11 | !!! tip |
22 | 12 |
|
23 | 13 | [Sign up](https://cloud.seqera.io/) to try Seqera for free or request a [demo](https://seqera.io/demo/) for deployments in your own on-premise or cloud environment. |
24 | 14 |
|
25 | | -You can use Seqera Platform via either the **CLI**, through the **online GUI** or through the **API**. |
26 | | - |
27 | | -## CLI |
28 | | - |
29 | | -You will need to set up your environment to use Seqera Platform. This is a one-time setup. |
30 | | - |
31 | | -Create an account and login into Seqera Platform. |
32 | | - |
33 | | -**1. Create a new token** |
34 | | - |
35 | | -You can access your tokens from the **Settings** drop-down menu: |
36 | | - |
37 | | - |
38 | | - |
39 | | -**2. Name your token** |
40 | | - |
41 | | - |
42 | | - |
43 | | -**3. Save your token safely** |
44 | | - |
45 | | -Copy and keep your new token in a safe place. |
46 | | - |
47 | | - |
48 | | - |
49 | | -**4. Export your token** |
50 | | - |
51 | | -Once your token has been created, open a terminal and type: |
| 15 | +You'll learn how to use Seqera Platform within Nextflow CLI, the Seqera Platform GUI, and the API. |
52 | 16 |
|
53 | | -```bash |
54 | | -export TOWER_ACCESS_TOKEN=eyxxxxxxxxxxxxxxxQ1ZTE= |
55 | | -``` |
56 | | - |
57 | | -Where `eyxxxxxxxxxxxxxxxQ1ZTE=` is the token you have just created. |
58 | | - |
59 | | -!!! note |
60 | | - |
61 | | - Check your `nextflow -version`. Bearer tokens require Nextflow version 20.10.0 or later and can be set with the second command shown above. You can change the version if necessary. |
62 | | - |
63 | | -To submit a pipeline to a [Workspace](https://docs.seqera.io/platform/24.1/getting-started/workspace-setup) using the Nextflow command-line tool, add the workspace ID to your environment. For example: |
64 | | - |
65 | | -```bash |
66 | | -export TOWER_WORKSPACE_ID=000000000000000 |
67 | | -``` |
68 | | - |
69 | | -The workspace ID can be found on the organizationβs Workspaces overview page. |
70 | | - |
71 | | -**5. Run Nextflow with Seqera Platform** |
72 | | - |
73 | | -Run your Nextflow workflows as usual with the addition of the `-with-tower` command: |
74 | | - |
75 | | -```bash |
76 | | -nextflow run hello.nf -with-tower |
77 | | -``` |
78 | | - |
79 | | -You will see and be able to monitor your **Nextflow jobs** in Seqera Platform. |
80 | | - |
81 | | -To configure and execute Nextflow jobs in **Cloud environments**, visit the [Compute environments section](https://docs.seqera.io/platform/24.1/compute-envs/overview). |
82 | | - |
83 | | -!!! exercise |
84 | | - |
85 | | - Run the RNA-Seq `script7.nf` using the `-with-tower` flag, after correctly completing the token settings outlined above. |
86 | | - |
87 | | - ??? tip |
88 | | - |
89 | | - Go to <https://cloud.seqera.io/>, login, then click the run tab, and select the run that you just submitted. If you canβt find it, double check your token was entered correctly. |
90 | | - |
91 | | -!!! cboard-list-2 "Summary" |
| 17 | +You can use Seqera Platform via either the **CLI**, through the **online GUI** or through the **API**. |
92 | 18 |
|
93 | | - In this step you have learned: |
| 19 | +## 1. Use Seqera Platform to capture and monitor Nextflow jobs launched from the CLI |
94 | 20 |
|
95 | | - 1. How to create and add your token and workspace. |
96 | | - 2. How to launch a pipeline with Seqera Platform. |
| 21 | +--8<-- "./seqera/01_run_with_cli.md" |
97 | 22 |
|
98 | 23 | ## Online GUI |
99 | 24 |
|
|
0 commit comments