The example below splits a FASTA file into chunks and executes for each of them a BLAST query in a parallel manner. Then, all the sequences for the top hits are collected and merged to a single result file.
In order to run this pipeline in your computer you will required:
Install Nextflow entering the following command in the shell terminal:
$ curl -fsSL https://get.nextflow.io | bash
Then launch the pipeline execution using this command:
$ ./nextflow run blast-example -with-docker
It will automatically download the pipeline Github repository and the associated Docker images, thus the first execution can requires few minutes to complete depending you network connection.