Installation¶
BioPAP is a Python-based preprocessing pipeline that requires Python 3.10 or higher and Jupyter Notebook/Lab.
Choose One Installation Method
Select either the command-line method or the Anaconda method below, not both. Both will successfully install BioPAP and its requirements.
- Command Line (Recommended): Standard development practice, easier to troubleshoot if issues occur
- Anaconda: Simpler GUI-based approach for users unfamiliar with terminals
Install from Command Line¶
This method guides you through installing Python, pip, Jupyter, and BioPAP directly using terminal commands.
Step 1: Check Python and pip
Verify that Python 3.10+ and pip are installed:
If not installed or version is too old, run:
Step 2: Install Jupyter Notebook
Step 3: Install BioPAP
Clone the repository and install BioPAP in development mode:
Step 4: Verify Installation
Step 1: Check Python and pip
Check if Python 3.10+ and pip are installed:
If not installed, install using Homebrew:
Step 2: Install Jupyter Notebook
Step 3: Install BioPAP
Clone the repository and install BioPAP in development mode:
Step 4: Verify Installation
Step 1: Check Python and pip
Open Command Prompt and verify Python 3.10+ and pip are installed:
If not installed, download the installer from python.org. Important: During installation, check the box "Add Python to PATH".
After installation, verify in Command Prompt:
Step 2: Install Jupyter Notebook
Step 3: Install BioPAP
Clone the repository and install BioPAP in development mode:
Step 4: Verify Installation
Install with Anaconda¶
Anaconda is a package manager with a graphical interface (Anaconda Navigator) that makes installation possible with minimal usage of the command line. Download it from the Anaconda website.
Step 1: Install Anaconda
- Download the Anaconda installer and run it.
- Follow the installer prompts and accept the defaults.
- Close and reopen your terminal when finished.
Step 2: Open Anaconda Navigator
- Search for "Anaconda Navigator" in your applications menu and open it.
- Wait for it to load (this might take a minute).
Step 3: Install Jupyter
- In Anaconda Navigator, look for "Jupyter Notebook" in the home tab.
- Click the Launch button next to Jupyter Notebook.
- Jupyter will open in your web browser.
Step 4: Install BioPAP
- Open a terminal and navigate to where you want to store BioPAP:
Step 5: Open the Example Notebook
- In Jupyter (which should still be open in your browser), navigate to the BioPAP folder you just cloned.
- Open the folder:
examples - Click on
pipeline.ipynbto open the example notebook. - You're ready to start using BioPAP!
Step 1: Install Anaconda
- Download and run the Anaconda installer.
- Follow the installer prompts with default settings.
- Close and reopen your terminal when finished.
Step 2: Open Anaconda Navigator
- Look for "Anaconda Navigator" in your Applications folder and open it.
- Wait for it to load (this might take a minute).
Step 3: Install Jupyter
- In Anaconda Navigator, find "Jupyter Notebook" in the home tab.
- Click the Launch button next to Jupyter Notebook.
- Jupyter will open in your web browser.
Step 4: Install BioPAP
- Open a terminal and navigate to where you want to store BioPAP:
Step 5: Open the Example Notebook
- In Jupyter (which should still be open in your browser), navigate to the BioPAP folder you just cloned.
- Open the folder:
examples - Click on
pipeline.ipynbto open the example notebook. - You're ready to start using BioPAP!
Step 1: Install Anaconda
- Download the Anaconda installer (.exe) and double-click to run it.
- Follow the installer steps with default settings.
- Important: Check the box "Register Anaconda3 as my default Python 3.x" at the Advanced Installation Options.
- Close and reopen Command Prompt when finished.
Step 2: Open Anaconda Navigator
- Click the Start menu and search for "Anaconda Navigator".
- Click to open Anaconda Navigator.
- Wait for it to load (this might take a minute).
Step 3: Install Jupyter
- In Anaconda Navigator, find "Jupyter Notebook" in the home tab.
- Click the Launch button next to Jupyter Notebook.
- Jupyter will open in your web browser.
Step 4: Install BioPAP
- Open Command Prompt and navigate to where you want to store BioPAP:
Step 5: Open the Example Notebook
- In Jupyter (which should still be open in your browser), navigate to the BioPAP folder you just cloned.
- Open the folder:
examples - Click on
pipeline.ipynbto open the example notebook. - You're ready to start using BioPAP!
Next Steps¶
- Read the Building a Pipeline tutorial to learn how to set up a preprocessing pipeline.
- Check the Configuration tutorial to understand how to customize module parameters.
- Explore the Modules API Documentation for detailed information about each module.