lib/Bio/Roary/CommandLine/CreatePanGenome.pm

filter: Statementstmt 93.3% 28 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 89.4% 34 / 38 CC 1 SCAR 1.3
CC
1
Cov
93%
usage_text
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« lib/Bio/Roary/ParseGFFAnnotationRole.pm ↑ Summary lib/Bio/Roary/Output/DifferenceBetweenSets.pm »
1 1 undef $VERSION;
2 package Bio::Roary::CommandLine::CreatePanGenome;
3 1 $Bio::Roary::CommandLine::CreatePanGenome::VERSION = '3.13.0';
4 # ABSTRACT: Take in FASTA files of proteins and cluster them
5  
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Getopt::Long qw(GetOptionsFromArray);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Bio::Roary;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use Bio::Roary::PrepareInputFiles;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Bio::Roary::QC::Report;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 extends 'Bio::Roary::CommandLine::Roary';
13  
14 1 has 'job_runner' => ( is => 'rw', isa => 'Str', default => 'Local' );
15 1 has 'output_multifasta_files' => ( is => 'rw', isa => 'Bool', default => 1 );
16 1 has 'dont_create_rplots' => ( is => 'rw', isa => 'Bool', default => 0 );
17 1 has 'core_definition' => ( is => 'rw', isa => 'Num', default => 0.99 );
18 1 has 'run_qc' => ( is => 'rw', isa => 'Bool', default => 1 );
19  
20 0 ▶sub usage_text {
Subroutine usage_text: not called CC=1 SCAR=6.9
Pod undocumented
21 0 my ($self) = @_;
22  
23 0 return <<USAGE;
24 Usage: create_pan_genome [options] *.gff
25 Build a pan genome with WTSI defaults.
26  
27 Options: -p INT number of threads [1]
28 -o STR clusters output filename [clustered_proteins]
29 -f STR output directory [.]
30 -e create a multiFASTA alignment of core genes
31 -n fast core gene alignement with MAFFT, use with -e
32 -i minimum percentage identity for blastp [95]
33 -cd FLOAT percentage of isolates a gene must be in to be core [99]
34 -z dont delete intermediate files
35 -t INT translation table [11]
36 -v verbose output to STDOUT
37 -y add gene inference information to spreadsheet, doesnt work with -e
38 -g INT maximum number of clusters [50000]
39 -qc generate QC report with Kraken
40 -k STR path to Kraken database for QC, use with -qc
41 -w print version and exit
42 -a check dependancies and print versions
43 -h this help message
44  
45 Example: Quickly generate a core gene alignment using 16 threads
46  
47 bsub.py --threads 16 10 log create_pan_genome -e --mafft -p 16 *.gff
48
49 Example: Allow Roary to bsub the jobs to LSF - you cant bsub this command itself
50  
51 create_pan_genome -j LSF -e --mafft -p 16 *.gff
52
53 Example: Create a tree and visualise with iCANDY
54  
55 annotationfind –t file –i file_of_lanes -symlink .
56 bsub.py --threads 16 10 log create_pan_genome -e --mafft -p 16 *.gff
57 ~sh16/scripts/run_RAxML.py -a core_gene_alignment.aln -q normal -M 8 -n 8 -V AVX -o tree
58 bsub.py 10 log ~sh16/scripts/iCANDY.py -t RAxML_bipartitions.tree -q taxa -l 1 -E 30 -o accessory.pdf -M -L left -p A1 -g 90 accessory.tab accessory.header.embl
59  
60 For further info see: http://mediawiki.internal.sanger.ac.uk/index.php/Pathogen_Informatics_Pan_Genome_Pipeline
61  
62 USAGE
63 }
64  
65 1 __PACKAGE__->meta->make_immutable;
66 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
67 1 1;
68  
69 __END__
« lib/Bio/Roary/ParseGFFAnnotationRole.pm ↑ Summary lib/Bio/Roary/Output/DifferenceBetweenSets.pm »