line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::VertRes::Config::Pipelines::Import; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: A class for generating the Import pipeline config file |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
153666
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::Common; |
8
|
|
|
|
|
|
|
extends 'Bio::VertRes::Config::Pipelines::Common'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has 'pipeline_short_name' => ( is => 'ro', isa => 'Str', default => 'import' ); |
11
|
|
|
|
|
|
|
has 'module' => ( is => 'ro', isa => 'Str', default => 'VertRes::Pipelines::Import_iRODS_fastq' ); |
12
|
|
|
|
|
|
|
has 'toplevel_action' => ( is => 'ro', isa => 'Str', default => '__VRTrack_Import__' ); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has '_mpsa_limit' => ( is => 'ro', isa => 'Int', default => 500 ); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
override 'to_hash' => sub { |
17
|
|
|
|
|
|
|
my ($self) = @_; |
18
|
|
|
|
|
|
|
my $output_hash = super(); |
19
|
|
|
|
|
|
|
$output_hash->{mpsa_limit} = $self->_mpsa_limit; |
20
|
|
|
|
|
|
|
$output_hash->{data}{exit_on_errors} = 0; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
return $output_hash; |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
26
|
|
|
|
|
|
|
no Moose; |
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=pod |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Bio::VertRes::Config::Pipelines::Import - A class for generating the Import pipeline config file |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 VERSION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
version 1.133090 |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SYNOPSIS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
A class for generating the Import pipeline config file |
44
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::Import; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my $pipeline = Bio::VertRes::Config::Pipelines::Import->new(database => 'abc'); |
47
|
|
|
|
|
|
|
$pipeline->to_hash(); |
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 |