This pipeline processes the raw, basecalled Nanopore reads generated from the Nanopore Sequencing . It does the following steps:
- It QCs the files using fastqc and multiqc to generate a quality report.
- It trims the left and right ends of the reads by 25 basepairs, and filters out reads shorter than 50bp.
- It generates the assembly reads using reference based assembly, gap fixing, and Medaka
This workflow depends on Bioconda to install the environmental dependencies. And then run the attached script using the environment.
- Clone Repository
- Install Conda if not already in environment
- Create conda environment
- Activate conda environment -
conda activate refnaap
- Run the GUI -
~/RefNAAP/RefNAAP_GUI.py
- Sample fastq data is in test folder
- Shut down your environment to protect it from modifications -
conda deactivate
sudo apt update
sudo apt install git
##Installation directions These instructions install the code into your home path. Modify the instructions if you want to install elsewhere as appropriate.
cd ~
git clone https://github.com/jiangweiyao/RefNAAP.git
You can run the prepackaged script install_miniconda.sh to install into your home directory (recommended) by using the following command
. ~/RefNAAP/install_miniconda.sh
Detailed instruction on the the Miniconda website if anything goes wrong: https://conda.io/projects/conda/en/latest/user-guide/install/linux.html
We use conda to create an environment (that we can activate and deactivate) to install our dependent software and resolve their dependencies. This environment is called "refnaap".
conda env create -f ~/RefNAAP/environment.yml
Conda will automatically figure out and install all dependencies for you. It might take some time for Conda to resolve the dependencies and install everything for you.
Activating your environment makes the software you installed in that environment available for use. You will see "(RefNAAP)" in front bash after activation.
conda activate refnaap
There are two versions of code. The GUI version and the CLI version.
Run the GUI version (change path if it is installed else where.)
~/RefNAAP/RefNAAP.py
Run the CLI version using the included test files (change path if it is installed else where.)
~/RefNAAP/RefNAAP_CLI.py -i ~/RefNAAP/fastq/
When you are finished running the workflow, exit out of your environment by running conda deactivate
. Deactivating your environment exits out of your current environment and protects it from being modified by other programs. You can build as many environments as you want and enter and exit out of them. Each environment is separate from each other to prevent version or dependency clashes. The author recommands using Conda/Bioconda to manage your dependencies.
- Jiangwei Yao
- Crystal Gigante
Apache License 2.0