File Coverage

lib/Bio/VertRes/Config/Pipelines/VelvetAssembly.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::VelvetAssembly;
2              
3             # ABSTRACT: A base class for generating an Assembly pipeline config file using velvet
4              
5              
6              
7 1     1   123416 use Moose;
  0            
  0            
8             extends 'Bio::VertRes::Config::Pipelines::Assembly';
9              
10             has '_assembler' => ( is => 'ro', isa => 'Str', default => 'velvet' );
11             has '_assembler_exec' => ( is => 'ro', isa => 'Str', default => '/software/pathogen/external/apps/usr/bin/velvet' );
12             has '_optimiser_exec' => ( is => 'ro', isa => 'Str', default => '/software/pathogen/external/apps/usr/bin/VelvetOptimiser.pl' );
13             has '_max_threads' => ( is => 'ro', isa => 'Int', default => 2 );
14              
15             __PACKAGE__->meta->make_immutable;
16             no Moose;
17             1;
18              
19             __END__
20              
21             =pod
22              
23             =head1 NAME
24              
25             Bio::VertRes::Config::Pipelines::VelvetAssembly - A base class for generating an Assembly pipeline config file using velvet
26              
27             =head1 VERSION
28              
29             version 1.133090
30              
31             =head1 SYNOPSIS
32              
33             A class for generating the Assembly pipeline config file using the velvet assembler
34             use Bio::VertRes::Config::Pipelines::VelvetAssembly;
35              
36             my $pipeline = Bio::VertRes::Config::Pipelines::VelvetAssembly->new(database => 'abc'
37             config_base => '/path/to/config/base',
38             limits => { project => ['project name']);
39             $pipeline->to_hash();
40              
41             =head1 AUTHOR
42              
43             Andrew J. Page <ap13@sanger.ac.uk>
44              
45             =head1 COPYRIGHT AND LICENSE
46              
47             This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.
48              
49             This is free software, licensed under:
50              
51             The GNU General Public License, Version 3, June 2007
52              
53             =cut