line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::VertRes::Config::Pipelines::Tradis; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Create TraDIS config files |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
147764
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::Common; |
8
|
|
|
|
|
|
|
use Bio::VertRes::Config::References; |
9
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::Roles::MetaDataFilter; |
10
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::Roles::MultiplePrefix; |
11
|
|
|
|
|
|
|
extends 'Bio::VertRes::Config::Pipelines::RnaSeqExpression'; |
12
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Pipelines::Roles::MetaDataFilter'; |
13
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Pipelines::Roles::MultiplePrefix'; |
14
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Pipelines::Roles::FilenameWithReference'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has 'protocol' => ( is => 'ro', isa => 'Str', default => 'TradisProtocol' ); |
17
|
|
|
|
|
|
|
has '_mapping_quality' => ( is => 'ro', isa => 'Int', default => 10 ); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
20
|
|
|
|
|
|
|
no Moose; |
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 NAME |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Bio::VertRes::Config::Pipelines::Tradis - Create TraDIS config files |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 VERSION |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
version 1.133090 |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 SYNOPSIS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Create TraDIS config files |
38
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::Tradis; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
my $pipeline = Bio::VertRes::Config::Pipelines::Tradis->new( |
41
|
|
|
|
|
|
|
database => 'abc', |
42
|
|
|
|
|
|
|
reference => 'Staphylococcus_aureus_subsp_aureus_ABC_v1', |
43
|
|
|
|
|
|
|
limits => { |
44
|
|
|
|
|
|
|
project => ['ABC study'], |
45
|
|
|
|
|
|
|
species => ['EFG'] |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
$pipeline->to_hash(); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHOR |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Andrew J. Page <ap13@sanger.ac.uk> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This is free software, licensed under: |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |