File Coverage

lib/Bio/VertRes/Config/Recipes/BacteriaAssemblySingleCell.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::BacteriaAssemblySingleCell;
2             # ABSTRACT: Create the assembly and anntation files only, so no reference required, but for it to run you need to have done QC first
3              
4              
5 1     1   120836 use Moose;
  0            
  0            
6             extends 'Bio::VertRes::Config::Recipes::Common';
7             with 'Bio::VertRes::Config::Recipes::Roles::BacteriaRegisterStudy';
8              
9              
10             has 'assembler' => ( is => 'ro', isa => 'Str', default => 'spades' );
11             has '_error_correct' => ( is => 'ro', isa => 'Bool', default => 0 );
12             has '_remove_primers' => ( is => 'ro', isa => 'Bool', default => 0 );
13             has '_pipeline_version' => ( is => 'ro', isa => 'Num', default => 5.0 );
14             has '_normalise' => ( is => 'ro', isa => 'Bool', default => 0 );
15             has '_kingdom' => ( is => 'ro', isa => 'Str', default => "Bacteria" );
16             has '_single_cell' => ( is => 'ro', isa => 'Bool', default => 1 );
17              
18             override '_pipeline_configs' => sub {
19             my ($self) = @_;
20             my @pipeline_configs;
21             $self->add_bacteria_spades_single_cell_assembly_config(\@pipeline_configs);
22             $self->add_bacteria_annotate_config(\@pipeline_configs);
23              
24             return \@pipeline_configs;
25             };
26              
27             __PACKAGE__->meta->make_immutable;
28             no Moose;
29             1;
30              
31             __END__
32              
33             =pod
34              
35             =head1 NAME
36              
37             Bio::VertRes::Config::Recipes::BacteriaAssemblySingleCell - Create the assembly and anntation files only, so no reference required, but for it to run you need to have done QC first
38              
39             =head1 VERSION
40              
41             version 1.133090
42              
43             =head1 SYNOPSIS
44              
45             Register and QC a study
46             use Bio::VertRes::Config::Recipes::BacteriaAssemblyAndAnnotation;
47              
48             my $obj = Bio::VertRes::Config::Recipes::BacteriaAssemblyAndAnnotation->new(
49             database => 'abc',
50             limits => {project => ['Study ABC']}
51             );
52             $obj->create;
53              
54             =head1 AUTHOR
55              
56             Andrew J. Page <ap13@sanger.ac.uk>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.
61              
62             This is free software, licensed under:
63              
64             The GNU General Public License, Version 3, June 2007
65              
66             =cut