File Coverage

lib/Bio/VertRes/Config/Recipes/HelminthRegisterAndQCStudy.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::Recipes::HelminthRegisterAndQCStudy;
2             # ABSTRACT: Register and QC a study
3              
4              
5 1     1   198658 use Moose;
  0            
  0            
6             use Bio::VertRes::Config::Pipelines::QC;
7             use Bio::VertRes::Config::RegisterStudy;
8             extends 'Bio::VertRes::Config::Recipes::Common';
9             with 'Bio::VertRes::Config::Recipes::Roles::RegisterStudy';
10             with 'Bio::VertRes::Config::Recipes::Roles::Reference';
11             with 'Bio::VertRes::Config::Recipes::Roles::CreateGlobal';
12              
13             override '_pipeline_configs' => sub {
14             my ($self) = @_;
15             my @pipeline_configs;
16             $self->add_qc_config(\@pipeline_configs);
17              
18             return \@pipeline_configs;
19             };
20              
21             __PACKAGE__->meta->make_immutable;
22             no Moose;
23             1;
24              
25             __END__
26              
27             =pod
28              
29             =head1 NAME
30              
31             Bio::VertRes::Config::Recipes::HelminthRegisterAndQCStudy - Register and QC a study
32              
33             =head1 VERSION
34              
35             version 1.133090
36              
37             =head1 SYNOPSIS
38              
39             Register and QC a study
40             use Bio::VertRes::Config::Recipes::HelminthRegisterAndQCStudy;
41              
42             my $obj = Bio::VertRes::Config::Recipes::HelminthRegisterAndQCStudy->new(
43             database => 'abc',
44             limits => {project => ['Study ABC']},
45             reference => 'ABC',
46             reference_lookup_file => '/path/to/refs.index');
47             $obj->create;
48              
49             =head1 AUTHOR
50              
51             Andrew J. Page <ap13@sanger.ac.uk>
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.
56              
57             This is free software, licensed under:
58              
59             The GNU General Public License, Version 3, June 2007
60              
61             =cut