line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::MLST::Types; |
2
|
|
|
|
|
|
|
# ABSTRACT: Moose types to use for validation. |
3
|
|
|
|
|
|
|
$Bio::MLST::Types::VERSION = '2.1.1630910'; |
4
|
|
|
|
|
|
|
|
5
|
18
|
|
|
18
|
|
101
|
use Moose; |
|
18
|
|
|
|
|
27
|
|
|
18
|
|
|
|
|
139
|
|
6
|
18
|
|
|
18
|
|
115630
|
use Moose::Util::TypeConstraints; |
|
18
|
|
|
|
|
37
|
|
|
18
|
|
|
|
|
208
|
|
7
|
18
|
|
|
18
|
|
45525
|
use Bio::MLST::Validate::Executable; |
|
18
|
|
|
|
|
78
|
|
|
18
|
|
|
|
|
1032
|
|
8
|
18
|
|
|
18
|
|
9722
|
use Bio::MLST::Validate::File; |
|
18
|
|
|
|
|
44
|
|
|
18
|
|
|
|
|
695
|
|
9
|
18
|
|
|
18
|
|
8660
|
use Bio::MLST::Validate::Resource; |
|
18
|
|
|
|
|
51
|
|
|
18
|
|
|
|
|
3167
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
subtype 'Bio::MLST::Executable', |
12
|
|
|
|
|
|
|
as 'Str', |
13
|
|
|
|
|
|
|
where { Bio::MLST::Validate::Executable->new()->does_executable_exist($_) }; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
subtype 'Bio::MLST::File', |
16
|
|
|
|
|
|
|
as 'Str', |
17
|
|
|
|
|
|
|
where { Bio::MLST::Validate::File->new()->does_file_exist($_) }; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
subtype 'Bio::MLST::Resource', |
20
|
|
|
|
|
|
|
as 'Str', |
21
|
|
|
|
|
|
|
where { Bio::MLST::Validate::Resource->new()->does_resource_exist($_) }; |
22
|
|
|
|
|
|
|
|
23
|
18
|
|
|
18
|
|
148
|
no Moose; |
|
18
|
|
|
|
|
33
|
|
|
18
|
|
|
|
|
117
|
|
24
|
18
|
|
|
18
|
|
3844
|
no Moose::Util::TypeConstraints; |
|
18
|
|
|
|
|
29
|
|
|
18
|
|
|
|
|
186
|
|
25
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Bio::MLST::Types - Moose types to use for validation. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 2.1.1630910 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 SYNOPSIS |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Moose types to use for validation. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Andrew J. Page <ap13@sanger.ac.uk> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This software is Copyright (c) 2012 by Wellcome Trust Sanger Institute. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This is free software, licensed under: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |