| 1 | package Bio::MUST::Provision::Exonerate; | ||||||||||
| 2 | # ABSTRACT: Internal class for app provisioning system | ||||||||||
| 3 | 2 | $Bio::MUST::Provision::Exonerate::VERSION = '0.252830'; | |||||||||
| 4 | # AUTOGENERATED CODE! DO NOT MODIFY THIS FILE! | ||||||||||
| 5 | |||||||||||
| 6 | 2 | ▶ | use Modern::Perl '2011'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 2 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 2 | ▶ | use parent qw(App::Provision::Tiny); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | |||||||||||
| 12 | 0 | ▶ | sub deps { return qw(brew) } | ||||||||
|
Subroutine
deps: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 13 | |||||||||||
| 14 | 2 | ▶ | sub condition { | ||||||||
|
Subroutine
condition: called CC=3 SCAR=11.4
Pod
documented
| |||||||||||
| 15 | 2 | my $self = shift; | |||||||||
| 16 | |||||||||||
| 17 | 2 | my $condition = qx{which exonerate} =~ m/exonerate$/xms; | |||||||||
| 18 | 2 | ▶ | carp '[BMD] Note: Exonerate executable not found; I can try brewing it.' | ||||||||
|
Branch: 1 branch
| |||||||||||
| 19 | unless $condition; | ||||||||||
| 20 | |||||||||||
| 21 | 2 | ▶ | return $condition ? 1 : 0; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | } | ||||||||||
| 23 | |||||||||||
| 24 | 0 | ▶ | sub meet { | ||||||||
|
Subroutine
meet: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 25 | 0 | my $self = shift; | |||||||||
| 26 | |||||||||||
| 27 | 0 | return $self->recipe( | |||||||||
| 28 | ['brew tap brewsci/bio'], | ||||||||||
| 29 | ['brew install https://raw.githubusercontent.com/brewsci/homebrew-bio/f68615713d23ab36d979f8cf06268808ff3dd9dc/Formula/exonerate.rb'], | ||||||||||
| 30 | ); | ||||||||||
| 31 | } | ||||||||||
| 32 | |||||||||||
| 33 | 2 | 1; | |||||||||
| 34 | |||||||||||
| 35 | __END__ | ||||||||||