Skip to content

Commit 25d0fa0

Browse files
authored
Merge pull request sanger-pathogens#420 from ssjunnebo/621556_badges
621556 badges
2 parents 3ff3477 + cc83d5a commit 25d0fa0

File tree

2 files changed

+127
-35
lines changed

2 files changed

+127
-35
lines changed

Diff for: .travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,10 @@ env:
2323
- PARALLEL_VERSION=20170822
2424
install:
2525
- "source ./install_dependencies.sh"
26-
script: "ROARY_FULL_TESTS=1 dzil test"
26+
before_script:
27+
- cpanm --quiet --notest Dist::Zilla::App::Command::cover
28+
- cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
29+
script:
30+
- ROARY_FULL_TESTS=1 dzil test
31+
after_success:
32+
- dzil cover -test -report codecov

Diff for: README.md

+120-34
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,77 @@
1-
# Roary the pan genome pipeline
2-
For instructions on how to use the software, the input format and output formats, please see [the Roary website](http://sanger-pathogens.github.io/Roary).
3-
4-
[![Build Status](https://travis-ci.org/sanger-pathogens/Roary.svg?branch=master)](https://travis-ci.org/sanger-pathogens/Roary)
5-
1+
# Roary - The pan genome pipeline
2+
Takes annotated assemblies in GFF3 format and calculates the pan genome.
3+
4+
[![Build Status](https://travis-ci.org/sanger-pathogens/Roary.svg?branch=master)](https://travis-ci.org/sanger-pathogens/Roary)
5+
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-brightgreen.svg)](https://github.com/sanger-pathogens/roary/blob/master/GPL-LICENSE)
6+
[![status](https://img.shields.io/badge/Bioinformatics-10.1093-brightgreen.svg)](https://academic.oup.com/bioinformatics/article/31/22/3691/240757)
7+
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/recipes/roary/README.html)
8+
[![Container ready](https://img.shields.io/badge/container-ready-brightgreen.svg)](https://quay.io/repository/biocontainers/roary)
9+
[![Docker Build Status](https://img.shields.io/docker/build/sangerpathogens/roary.svg)](https://hub.docker.com/r/sangerpathogens/roary)
10+
[![Docker Pulls](https://img.shields.io/docker/pulls/sangerpathogens/roary.svg)](https://hub.docker.com/r/sangerpathogens/roary)
11+
[![codecov](https://codecov.io/gh/sanger-pathogens/roary/branch/master/graph/badge.svg)](https://codecov.io/gh/sanger-pathogens/roary)
12+
13+
## Contents
14+
* [Introduction](#introduction)
15+
* [Installation](#installation)
16+
* [Required dependencies](#required-dependencies)
17+
* [Optional dependencies](#optional-dependencies)
18+
* [Ubuntu/Debian](#ubuntudebian)
19+
* [Debian Testing](#debian-testing)
20+
* [Ubuntu 14\.04/16\.04](#ubuntu-14041604)
21+
* [Ubuntu 12\.04](#ubuntu-1204)
22+
* [Bioconda \- OSX/Linux](#bioconda---osxlinux)
23+
* [Galaxy](#galaxy)
24+
* [GNU Guix](#gnu-guix)
25+
* [Virtual Machine \- OSX/Linux/Windows](#virtual-machine---osxlinuxwindows)
26+
* [Docker \- OSX/Linux/Windows/Cloud](#docker---osxlinuxwindowscloud)
27+
* [Installing from source (advanced Linux users only)](#installing-from-source-advanced-linux-users-only)
28+
* [Ancient systems and versions of perl](#ancient-systems-and-versions-of-perl)
29+
* [Versions of software we test against](#versions-of-software-we-test-against)
30+
* [Usage](#usage)
31+
* [License](#license)
32+
* [Feedback/Issues](#feedbackissues)
33+
* [Citation](#citation)
34+
* [Further Information](#further-information)
35+
36+
## Introduction
637
Roary is a high speed stand alone pan genome pipeline, which takes annotated assemblies in GFF3 format (produced by Prokka) and calculates the pan genome. Using a standard desktop PC, it can analyse datasets with thousands of samples, something which is computationally infeasible with existing methods, without compromising the quality of the results. 128 samples can be analysed in under 1 hour using 1 GB of RAM and a single processor. To perform this analysis using existing methods would take weeks and hundreds of GB of RAM.
738

8-
## Citation
9-
"Roary: Rapid large-scale prokaryote pan genome analysis",
10-
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,
11-
Bioinformatics, (2015). doi: http://dx.doi.org/10.1093/bioinformatics/btv421
12-
[Roary: Rapid large-scale prokaryote pan genome analysis](http://dx.doi.org/10.1093/bioinformatics/btv421)
39+
## Installation
40+
Roary has the following dependencies:
1341

14-
# Installation
15-
Theres are a number of dependancies required for Roary, with instructions specific to the type of system you have:
16-
* Ubuntu/Debian
17-
* CentOS/RedHat
18-
* Bioconda - OSX/Linux
19-
* Galaxy
20-
* Guix - Linux
21-
* Virtual Machine - OSX/Linux/Windows
22-
* Docker - OSX/Linux/Windows/Cloud
23-
* Installing from source - OSX/Linux
42+
### Required dependencies
43+
* [bedtools](https://bedtools.readthedocs.io/en/latest/)
44+
* [cd-hit](http://weizhongli-lab.org/cd-hit/)
45+
* [ncbi-blast+](https://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastDocs&DOC_TYPE=Download)
46+
* [mcl](https://micans.org/mcl/)
47+
* [parallel](https://www.gnu.org/software/parallel/)
48+
* [prank](http://wasabiapp.org/software/prank/)
49+
* [mafft](https://mafft.cbrc.jp/alignment/software/)
50+
* [fasttree](http://www.microbesonline.org/fasttree/)
2451

25-
If the installation fails please contact your system administrator. If you encounter a bug please let us know by emailing [email protected] .
52+
### Optional dependencies
53+
* [kraken](http://ccb.jhu.edu/software/kraken/MANUAL.html)
2654

27-
## Ubuntu/Debian
28-
### Debian Testing
55+
There are a number of ways to install Roary and details are provided below. If you encounter an issue when installing Roary please contact your local system administrator. If you encounter a bug please log it [here](https://github.com/sanger-pathogens/Roary/issues) or email us at [email protected].
56+
57+
### Ubuntu/Debian
58+
#### Debian Testing
2959
```
3060
sudo apt-get install roary
3161
```
3262

33-
### Ubuntu 14.04/16.04
63+
#### Ubuntu 14.04/16.04
3464
All the dependancies can be installed using apt and cpanm. Root permissions are required. Ubuntu 16.04 contains a package for Roary but it is frozen at v3.6.0.
3565

3666
```
3767
sudo apt-get install bedtools cd-hit ncbi-blast+ mcl parallel cpanminus prank mafft fasttree
3868
sudo cpanm -f Bio::Roary
3969
```
4070

41-
### Ubuntu 12.04
71+
#### Ubuntu 12.04
4272
Some of the software versions in apt are quite old so follow the instructions for Bioconda below.
4373

44-
## Bioconda - OSX/Linux
74+
### Bioconda - OSX/Linux
4575
Install conda. Then install bioconda and roary:
4676

4777
```
@@ -52,23 +82,23 @@ conda config --add channels bioconda
5282
conda install roary
5383
```
5484

55-
## Galaxy
56-
Roary is available from the Galaxy toolshed ( as is Prokka ).
85+
### Galaxy
86+
Roary is available from the Galaxy toolshed (as is Prokka).
5787

58-
## GNU Guix
88+
### GNU Guix
5989
Roary is included in [Guix](https://www.gnu.org/software/guix) and can be installed in the usual way:
6090
```
6191
guix package --install roary
6292
```
6393

64-
## Virtual Machine - OSX/Linux/Windows
94+
### Virtual Machine - OSX/Linux/Windows
6595
Roary wont run natively on Windows but we have created virtual machine which has all of the software setup, including Prokka, along with the test datasets from the paper. It is based on [Bio-Linux 8](http://environmentalomics.org/bio-linux/). You need to first install [VirtualBox](https://www.virtualbox.org/), then load the virtual machine, using the 'File -> Import Appliance' menu option. The root password is 'manager'.
6696

6797
ftp://ftp.sanger.ac.uk/pub/pathogens/pathogens-vm/pathogens-vm.latest.ova
6898

6999
More importantly though, if you're trying to do bioinformatics on Windows, you're not going to get very far and you should seriously consider upgrading to Linux.
70100

71-
## Docker - OSX/Linux/Windows/Cloud
101+
### Docker - OSX/Linux/Windows/Cloud
72102
We have a docker container which gets automatically built from the latest version of Roary in Debian Med. To install it:
73103

74104
```
@@ -80,7 +110,7 @@ To use it you would use a command such as this (substituting in your directories
80110
docker run --rm -it -v /home/ubuntu/data:/data sangerpathogens/roary roary -f /data /data/*.gff
81111
```
82112

83-
## Installing from source (advanced Linux users only)
113+
### Installing from source (advanced Linux users only)
84114
As a last resort you can install everything from source. This is for users with advanced Linux skills and we do not provide any support with this method since you have the skills to figure things out.
85115
Download the latest software from (https://github.com/sanger-pathogens/Roary/tarball/master).
86116

@@ -108,10 +138,10 @@ Install the external dependances either from source or from your packaging syste
108138
bedtools cd-hit blast mcl GNUparallel prank mafft fasttree
109139
```
110140

111-
## Ancient systems and versions of perl
141+
### Ancient systems and versions of perl
112142
The code will not work with perl 5.8 or below (pre-modern perl). We no longer test against 5.10 (released 2007) or 5.12 (released 2010). If you're running a very old verison of Linux, you're also in trouble.
113143

114-
# Versions of software we test against
144+
### Versions of software we test against
115145
* Perl 5.14, 5.26
116146
* cdhit 4.6.8
117147
* ncbi blast+ 2.6.0
@@ -120,3 +150,59 @@ The code will not work with perl 5.8 or below (pre-modern perl). We no longer te
120150
* prank 140603
121151
* GNU parallel 20170822, 20160722
122152
* FastTree 2.1.9
153+
154+
## Usage
155+
```
156+
Usage: roary [options] *.gff
157+
158+
Options: -p INT number of threads [1]
159+
-o STR clusters output filename [clustered_proteins]
160+
-f STR output directory [.]
161+
-e create a multiFASTA alignment of core genes using PRANK
162+
-n fast core gene alignment with MAFFT, use with -e
163+
-i minimum percentage identity for blastp [95]
164+
-cd FLOAT percentage of isolates a gene must be in to be core [99]
165+
-qc generate QC report with Kraken
166+
-k STR path to Kraken database for QC, use with -qc
167+
-a check dependancies and print versions
168+
-b STR blastp executable [blastp]
169+
-c STR mcl executable [mcl]
170+
-d STR mcxdeblast executable [mcxdeblast]
171+
-g INT maximum number of clusters [50000]
172+
-m STR makeblastdb executable [makeblastdb]
173+
-r create R plots, requires R and ggplot2
174+
-s dont split paralogs
175+
-t INT translation table [11]
176+
-ap allow paralogs in core alignment
177+
-z dont delete intermediate files
178+
-v verbose output to STDOUT
179+
-w print version and exit
180+
-y add gene inference information to spreadsheet, doesnt work with -e
181+
-iv STR Change the MCL inflation value [1.5]
182+
-h this help message
183+
184+
Example: Quickly generate a core gene alignment using 8 threads
185+
roary -e --mafft -p 8 *.gff
186+
187+
For further info see: http://sanger-pathogens.github.io/Roary/
188+
```
189+
For further instructions on how to use the software, the input format and output formats, please see [the Roary website](http://sanger-pathogens.github.io/Roary).
190+
191+
## License
192+
Roary is free software, licensed under [GPLv3](https://github.com/sanger-pathogens/Roary/blob/master/GPL-LICENSE).
193+
194+
## Feedback/Issues
195+
Please report any issues to the [issues page](https://github.com/sanger-pathogens/Roary/issues) or email [email protected].
196+
197+
## Citation
198+
If you use this software please cite:
199+
200+
"Roary: Rapid large-scale prokaryote pan genome analysis",
201+
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,
202+
Bioinformatics, (2015). doi: http://dx.doi.org/10.1093/bioinformatics/btv421
203+
[Roary: Rapid large-scale prokaryote pan genome analysis](http://dx.doi.org/10.1093/bioinformatics/btv421)
204+
205+
## Further Information
206+
For more information on this software see:
207+
* [The Roary website](http://sanger-pathogens.github.io/Roary)
208+
* [The Jupyter notebook tutorial](https://github.com/sanger-pathogens/pathogen-informatics-training)

0 commit comments

Comments
 (0)