line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::VertRes::Config::Recipes::BacteriaRnaSeqExpressionUsingBwa; |
2
|
|
|
|
|
|
|
# ABSTRACT: Standard snp calling pipeline for bacteria |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
161963
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::QC; |
7
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::BwaMapping; |
8
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::RnaSeqExpression; |
9
|
|
|
|
|
|
|
use Bio::VertRes::Config::RegisterStudy; |
10
|
|
|
|
|
|
|
extends 'Bio::VertRes::Config::Recipes::Common'; |
11
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::RegisterStudy'; |
12
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::Reference'; |
13
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::CreateGlobal'; |
14
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::BacteriaRnaSeqExpression'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has 'protocol' => ( is => 'ro', isa => 'Str', default => 'StrandSpecificProtocol' ); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
override '_pipeline_configs' => sub { |
19
|
|
|
|
|
|
|
my ($self) = @_; |
20
|
|
|
|
|
|
|
my @pipeline_configs; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
$self->add_qc_config(\@pipeline_configs); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
push( |
25
|
|
|
|
|
|
|
@pipeline_configs, |
26
|
|
|
|
|
|
|
Bio::VertRes::Config::Pipelines::BwaMapping->new( |
27
|
|
|
|
|
|
|
database => $self->database, |
28
|
|
|
|
|
|
|
database_connect_file => $self->database_connect_file, |
29
|
|
|
|
|
|
|
config_base => $self->config_base, |
30
|
|
|
|
|
|
|
root_base => $self->root_base, |
31
|
|
|
|
|
|
|
log_base => $self->log_base, |
32
|
|
|
|
|
|
|
overwrite_existing_config_file => $self->overwrite_existing_config_file, |
33
|
|
|
|
|
|
|
limits => $self->limits, |
34
|
|
|
|
|
|
|
reference => $self->reference, |
35
|
|
|
|
|
|
|
reference_lookup_file => $self->reference_lookup_file |
36
|
|
|
|
|
|
|
) |
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
$self->add_bacteria_rna_seq_expression_config(\@pipeline_configs); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
return \@pipeline_configs; |
42
|
|
|
|
|
|
|
}; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
45
|
|
|
|
|
|
|
no Moose; |
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=pod |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 NAME |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Bio::VertRes::Config::Recipes::BacteriaRnaSeqExpressionUsingBwa - Standard snp calling pipeline for bacteria |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 VERSION |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
version 1.133090 |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 SYNOPSIS |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
RNA seq expression with Bwa |
63
|
|
|
|
|
|
|
use Bio::VertRes::Config::Recipes::BacteriaRnaSeqExpressionUsingBwa; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
my $obj = Bio::VertRes::Config::Recipes::BacteriaRnaSeqExpressionUsingBwa->new( |
66
|
|
|
|
|
|
|
database => 'abc', |
67
|
|
|
|
|
|
|
limits => {project => ['Study ABC']}, |
68
|
|
|
|
|
|
|
reference => 'ABC', |
69
|
|
|
|
|
|
|
reference_lookup_file => '/path/to/refs.index', |
70
|
|
|
|
|
|
|
); |
71
|
|
|
|
|
|
|
$obj->create; |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 AUTHOR |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Andrew J. Page <ap13@sanger.ac.uk> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
This is free software, licensed under: |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |