line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::VertRes::Config::Recipes::VirusRegisterAndQCStudy; |
2
|
|
|
|
|
|
|
# ABSTRACT: Register and QC a study |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
190125
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Bio::VertRes::Config::Pipelines::QC; |
7
|
|
|
|
|
|
|
use Bio::VertRes::Config::RegisterStudy; |
8
|
|
|
|
|
|
|
extends 'Bio::VertRes::Config::Recipes::Common'; |
9
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::VirusRegisterStudy'; |
10
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::Reference'; |
11
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::CreateGlobal'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has 'assembler' => ( is => 'ro', isa => 'Str', default => 'spades' ); |
14
|
|
|
|
|
|
|
has '_error_correct' => ( is => 'ro', isa => 'Bool', default => 1 ); |
15
|
|
|
|
|
|
|
has '_remove_primers' => ( is => 'ro', isa => 'Bool', default => 1 ); |
16
|
|
|
|
|
|
|
has '_pipeline_version' => ( is => 'ro', isa => 'Num', default => 3.1 ); |
17
|
|
|
|
|
|
|
has '_normalise' => ( is => 'ro', isa => 'Bool', default => 1 ); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
override '_pipeline_configs' => sub { |
21
|
|
|
|
|
|
|
my ($self) = @_; |
22
|
|
|
|
|
|
|
my @pipeline_configs; |
23
|
|
|
|
|
|
|
$self->add_virus_qc_config(\@pipeline_configs); |
24
|
|
|
|
|
|
|
#if($self->assembler eq 'velvet') |
25
|
|
|
|
|
|
|
#{ |
26
|
|
|
|
|
|
|
# $self->add_virus_velvet_assembly_config(\@pipeline_configs); |
27
|
|
|
|
|
|
|
#} |
28
|
|
|
|
|
|
|
#else |
29
|
|
|
|
|
|
|
#{ |
30
|
|
|
|
|
|
|
# $self->add_virus_spades_assembly_config(\@pipeline_configs); |
31
|
|
|
|
|
|
|
#} |
32
|
|
|
|
|
|
|
#$self->add_virus_annotate_config(\@pipeline_configs); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
return \@pipeline_configs; |
35
|
|
|
|
|
|
|
}; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
38
|
|
|
|
|
|
|
no Moose; |
39
|
|
|
|
|
|
|
1; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__END__ |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=pod |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 NAME |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Bio::VertRes::Config::Recipes::VirusRegisterAndQCStudy - Register and QC a study |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 VERSION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
version 1.133090 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 SYNOPSIS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Register and QC a study |
56
|
|
|
|
|
|
|
use Bio::VertRes::Config::Recipes::VirusRegisterAndQCStudy; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
my $obj = Bio::VertRes::Config::Recipes::VirusRegisterAndQCStudy->new( |
59
|
|
|
|
|
|
|
database => 'abc', |
60
|
|
|
|
|
|
|
limits => {project => ['Study ABC']}, |
61
|
|
|
|
|
|
|
reference => 'ABC', |
62
|
|
|
|
|
|
|
reference_lookup_file => '/path/to/refs.index'); |
63
|
|
|
|
|
|
|
$obj->create; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 AUTHOR |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Andrew J. Page <ap13@sanger.ac.uk> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This is free software, licensed under: |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=cut |