To start using the hybrid-assembly pipeline, there are three steps described below:
- Install Nextflow
- Install the pipeline
- Configure the pipeline
Nextflow runs on most POSIX systems (Linux, Mac OSX etc). It can be installed by running the following commands:
# Make sure that Java v7+ is installed:
java -version
# Install Nextflow
curl -fsSL get.nextflow.io | bash
# Add Nextflow binary to your PATH:
mv nextflow ~/bin
# OR system-wide installation:
# sudo mv nextflow /usr/local/bin
You need NextFlow version >= 0.24 to run this pipeline.
See nextflow.io and NGI-NextflowDocs for further instructions on how to install and configure Nextflow.
This pipeline itself needs no installation - NextFlow will automatically fetch it from GitHub if kevinmenden/hybrid-assembly
is specified as the pipeline name.
If you need to run the pipeline on a system with no internet connection, you will need to download the files yourself from GitHub and run them directly:
wget https://github.com/kevinmenden/hybrid-assembly/archive/master.zip
unzip master.zip -d /my-pipelines/
cd /my_data/
nextflow run /my-pipelines/hybrid-assembly-master