File Coverage

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