Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
As a first exercise we will download and run the nf-core/smrnaseq which is a bioinformatics best-practice analysis pipeline for Small RNA-Seq. We will use the test data provided by the developers to ensure the pipeline installed successfully. This control dataset contains 8 samples.
Run the following command from your home directory:
Code Block |
---|
cd mkdir smrnaseq_cl cd smrnaseq_cl export NXF_OPTS='-Xms1g -Xmx4g' nextflow run nf-core/smrnaseq -profile test,singularity --outdir results -r 2.3.1 |
Line 1: Move to your home directory.
Line 2: Make a temporary folder called smrnaseq_cl for Nextflow to test the smrnaseq pipeline.
Line 3: Change directory to the newly created folder smrnaseq_cl.
Line 4: In some cases, the Nextflow Java virtual machines can start to request a large amount of memory. We recommend adding the following line to your environment to limit this.
Line 5: Download and run the test code.
This will download the smrnaseq pipeline and then run the test code. It should take ~20-30 minutes to run to completion.
Nextflow will first download the pipeline:
...
It will first then display the version of the pipeline which was downloaded: version 2.3.1.
It will then also list all the parameters that differ from the pipeline default.
...
Before running a process, it will download the required singularity imageimages and required reference and input files for testing.
In the screenshot below, all the jobs which will be run are listed.
...
Going back to the terminal from which you launched the Nextflow analysis, you can check the nextflow log to see how the analysis is progressing.
For example in the screenshot below, taken half way through the Nextflow analysis, several processes have run to completion for all 8 samples tested.
...
Once again you can monitor your jobs using the qjobs
qstat -u $user
command.
The test should take ~ 30 min to run.
...