# piggy 1.5 ## piggy Piggy is a tool for analysing the intergenic component of bacterial genomes. It is designed to be used in conjunction with Roary (https://github.com/sanger-pathogens/Roary). Location and version: ```console $ which piggy /local/cluster/bin/piggy $ piggy --version 1.5 ``` help message: ```console $ piggy --help Piggy - version 1.5 --in_dir|-i input folder [default - current folder] --out_dir|-o output folder [default - current folder/piggy_out] --roary_dir|-r folder where roary output is stored [required] --threads|-t threads [default - 1] --nuc_id|-n min percentage nucleotide identity [default - 90] --len_id|-l min percentage length identity [default - 90] --edges|-e keep IGRs at the edge of contigs [default - off] --size|-s size of IGRs to extract [i-j] [default 30-1000] --method|-m method for detecting switched IGRs [g - gene_pair, u - upstream] [default - g] --R_plots|-R make R plots (requires R, Rscript, ggplot2, reshape2) [default - off] --fast|-f fast mode (doesn't align IGRs or detect switched regions) [default - off] --help|-h help --version|-v version ``` I suggest running roary in the same directory as the input gff files, then running piggy through with the `--roary_dir .` specified. software ref: research ref: