Given a set of genomes, the pan genome is the collection of all genes the set contains. Roary, the pan genome pipeline, takes closely related annotated genomes in GFF3 file format and calculates the pan genome.
For more in depht information about Roary, please feel free to have a look the paper:
Roary: Rapid large-scale prokaryote pan genome analysis
Andrew J. Page, Carla A. Cummins, Martin Hunt, Vanessa K. Wong, Sandra Reuter, Matthew T. G. Holden, Maria Fookes, Daniel Falush, Jacqueline A. Keane, Julian Parkhill
Bioinformatics, 2015;31(22):3691-3693 doi:10.1093/bioinformatics/btv421
or visit the Roary manual.
By the end of this tutorial you can expect to be able to:
This tutorial comprises the following sections:
This tutorial was created by Sara Sjunnebo.
You can run the commands in this tutorial either directly from the Jupyter notebook (if using Jupyter), or by typing the commands in your terminal window.
If you are using Jupyter, command cells (like the one below) can be run by selecting the cell and clicking Cell -> Run from the menu above or using ctrl Enter to run the command. Let's give this a try by printing our working directory using the pwd command and listing the files within it. Run the commands in the two cells below.
In [ ]:
pwd
In [ ]:
ls -l
You can also follow this tutorial by typing all the commands you see into a terminal window. This is similar to the "Command Prompt" window on MS Windows systems, which allows the user to type DOS commands to manage files.
To get started, select the cell below with the mouse and then either press control and enter or choose Cell -> Run in the menu at the top of the page.
In [ ]:
echo cd $PWD
Now open a new terminal on your computer and type the command that was output by the previous cell followed by the enter key. The command will look similar to this:
cd /home/manager/pathogen-informatics-training/Notebooks/ROARY/
Now you can follow the instructions in the tutorial from here.
This tutorial assumes that you have Roary and Prokka installed on your computer. For download and installation instructions, please see:
To check that you have installed Roary correctly, you can run the following command:
In [ ]:
roary --help
This should return the help message for Roary.
Similarly, to check that you have installed Prokka correctly, you can run:
In [ ]:
prokka --help
This should return the help message for Prokka.
To get started with the tutorial, head to the first section: What is a pan genome
The answers to all questions in the tutorial can be found here.