File Coverage

lib/Bio/VertRes/Config/Pipelines/Ssaha2Mapping.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package Bio::VertRes::Config::Pipelines::Ssaha2Mapping;
2              
3             # ABSTRACT: Base class for the Ssaha2 mapper
4              
5              
6 1     1   170052 use Moose;
  0            
  0            
7             extends 'Bio::VertRes::Config::Pipelines::Mapping';
8              
9             has 'slx_mapper' => ( is => 'ro', isa => 'Str', default => 'ssaha' );
10             has 'slx_mapper_exe' => ( is => 'ro', isa => 'Str', default => '/software/pathogen/external/apps/usr/local/ssaha2/ssaha2' );
11              
12             override 'to_hash' => sub {
13             my ($self) = @_;
14             my $output_hash = super();
15              
16             $output_hash->{data}{'454_mapper'} = $self->slx_mapper;
17             $output_hash->{data}{'454_mapper_exe'} = $self->slx_mapper_exe;
18              
19             return $output_hash;
20             };
21              
22              
23              
24             __PACKAGE__->meta->make_immutable;
25             no Moose;
26             1;
27              
28             __END__
29              
30             =pod
31              
32             =head1 NAME
33              
34             Bio::VertRes::Config::Pipelines::Ssaha2Mapping - Base class for the Ssaha2 mapper
35              
36             =head1 VERSION
37              
38             version 1.133090
39              
40             =head1 SYNOPSIS
41              
42             Base class for the Ssaha2 mapper
43             use Bio::VertRes::Config::Pipelines::Ssaha2Mapping;
44              
45             my $pipeline = Bio::VertRes::Config::Pipelines::Ssaha2Mapping->new(
46             database => 'abc',
47             reference => 'Staphylococcus_aureus_subsp_aureus_ABC_v1',
48             limits => {
49             project => ['ABC study'],
50             species => ['EFG']
51             },
52              
53             );
54             $pipeline->to_hash();
55              
56             =head1 AUTHOR
57              
58             Andrew J. Page <ap13@sanger.ac.uk>
59              
60             =head1 COPYRIGHT AND LICENSE
61              
62             This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.
63              
64             This is free software, licensed under:
65              
66             The GNU General Public License, Version 3, June 2007
67              
68             =cut