generated from enryH/notes_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added RunningRealWorflow and SeqeraPlatform markdowns
- Loading branch information
apca
committed
Nov 11, 2024
1 parent
8c37655
commit 20ff9e4
Showing
4 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# RNA-Seq workflow | ||
|
||
Let's run a commonly used Nextflow pipeline to analise RNA-seq data ([nf-core/rnaseq](https://nf-co.re/rnaseq/3.17.0)). | ||
|
||
This pipeline that we will run will cover the following 4 steps using diffrent coomonly used bioinformatics tools: | ||
|
||
1. Indexes a transcriptome file | ||
2. Quality control of the high throughput sequence data with **FastQC** | ||
3. Quantification of transcripts using **Salmon** | ||
4. Creates a **MultiQC** report. MultiQC searches a given directory for analysis logs and compiles a easy-viwing HTML report. | ||
|
||
This is based on this part of [Nextflow tutorial](https://training.nextflow.io/basic_training/rnaseq_pipeline/). There you can find the pipeline broken into the different pieces in a collection of 7 different scripts if you want to get into the details. | ||
|
||
In this part of the tutorial you can also see that Nextflow allows the execution of a workflow project directly from a GitHub repository. This [GitHub repository](https://github.com/nextflow-io/rnaseq-nf) hosts a version of this tutorial workflow (first 4 steps with some test data). You can run it specifying the project name and executing each process in a Docker container (`with-docker` as parameter). The containers will be automatically downloaded and saved in the folder `$HOME/.nextflow`. | ||
|
||
```groovy | ||
nextflow run nextflow-io/rnaseq-nf -with-docker | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Run Nextflow CLI with Seqera Platform visualizing and capturing logs | ||
|
||
## Seqera platform | ||
|
||
The Seqera Platform is a collaborative environment where pipelines and analysis results can be launched, cataloged, monitored, organized, and shared with colleagues. | ||
|
||
Seqera platform can help us by: | ||
|
||
1. giving researchers early access to pipelines and computational resources | ||
2. promoting effective collaboration, | ||
3. standardizing and accelerating the generation of results, | ||
4. ensuring compliance and security providing the framework for reliable and reproducible pipeline execution | ||
5. allowing us to optimize and reduce computing and storage costs | ||
|
||
First you need to create an account and creat an access token. Later you need to export the token to your system: | ||
|
||
```bash | ||
export TOWER_ACCESS_TOKEN=copyandpastetokenfromtheSqeraPlatformhere | ||
``` | ||
|
||
Lets's run our first nextflow script in Seqera with the addition of the -with-tower command: | ||
|
||
```{code-block} groovy | ||
:caption: hello.nf capturing logs in Seqera platform | ||
nextflow run hello.nf -with-tower | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters