This is intended as an example script for how to use nextflow to run analyses using the HPC
- Log in to the HPC environment
- Start a tmux session
tmux new -s nextflow_test
- Enter an interactive node
srun --exclusive --partition F2 --pty bash
- Download nextflow if not already installed
curl -s https://get.nextflow.io | bash
- creates
nextflow
in home directory, may need to chmod to allow execution
- Clone this repository
git clone https://github.com/akre96/nextflow_test.git
- Enter the repository:
cd nextflow_test
- Run the nextflow query
../nextflow run query_db.nf --study [study_name]
- Example:
../nextflow run query_db.nf --study pilot