#!/bin/bash# SI NMNH MitoPilot workshop# December 11, 2025# https://dmacguigan.github.io/MitoPilot_workshop_2025/# author: Dan MacGuigan# macguigand@si.edu# MitoPilot setup script to install dependencies# Nextflow installation instructions# from https://www.nextflow.io/docs/latest/install.htmlcd ~# load Java module, needed by Nextflowmodule load tools/java/21.0.2# install Nextflowcurl-s https://get.nextflow.io |bash# make Nextflow executablechmod +x nextflow # create bin directory, if neededmkdir ~/bin# move nextflow to bin directorymv ~/nextflow ~/bin/nextflow # add bin directory to PATH, in case it's not already thereecho'export PATH="${HOME}/bin:${PATH}"'>> ~/.bashrc # reload your bash configuration filesource ~/.bashrc