line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::VertRes::Config::Recipes::EukaryotesAssembly; |
2
|
|
|
|
|
|
|
# ABSTRACT: Create the assemblyfiles only, so no reference required, but for it to run you need to have done QC first |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
438165
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
extends 'Bio::VertRes::Config::Recipes::Common'; |
7
|
|
|
|
|
|
|
with 'Bio::VertRes::Config::Recipes::Roles::EukaryotesRegisterStudy'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'assembler' => ( is => 'ro', isa => 'Str', default => 'velvet' ); |
10
|
|
|
|
|
|
|
has '_error_correct' => ( is => 'ro', isa => 'Bool', default => 1 ); |
11
|
|
|
|
|
|
|
has '_remove_primers' => ( is => 'ro', isa => 'Bool', default => 1 ); |
12
|
|
|
|
|
|
|
has '_pipeline_version' => ( is => 'ro', isa => 'Num', default => 4.1 ); |
13
|
|
|
|
|
|
|
has '_normalise' => ( is => 'ro', isa => 'Bool', default => 0 ); |
14
|
|
|
|
|
|
|
has '_primers_file' => ( is => 'ro', isa => 'Str', default => '/lustre/scratch108/pathogen/pathpipe/usr/share/solexa-adapters.quasr' ); |
15
|
|
|
|
|
|
|
has '_max_threads' => ( is => 'ro', isa => 'Int', default => 6 ); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
override '_pipeline_configs' => sub { |
18
|
|
|
|
|
|
|
my ($self) = @_; |
19
|
|
|
|
|
|
|
my @pipeline_configs; |
20
|
|
|
|
|
|
|
if($self->assembler eq 'spades') |
21
|
|
|
|
|
|
|
{ |
22
|
|
|
|
|
|
|
$self->add_eukaryotes_spades_assembly_config(\@pipeline_configs); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
else |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
$self->add_eukaryotes_velvet_assembly_config(\@pipeline_configs); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
return \@pipeline_configs; |
30
|
|
|
|
|
|
|
}; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
33
|
|
|
|
|
|
|
no Moose; |
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=pod |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 NAME |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Bio::VertRes::Config::Recipes::EukaryotesAssembly - Create the assemblyfiles only, so no reference required, but for it to run you need to have done QC first |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 VERSION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
version 1.133090 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 SYNOPSIS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Create the assembly so no reference required, but for it to run you need to have done QC first |
51
|
|
|
|
|
|
|
use Bio::VertRes::Config::Recipes::EukaryotesAssemblyAndAnnotation; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my $obj = Bio::VertRes::Config::Recipes::EukaryotesAssemblyAndAnnotation->new( |
54
|
|
|
|
|
|
|
database => 'abc', |
55
|
|
|
|
|
|
|
limits => {project => ['Study ABC']}); |
56
|
|
|
|
|
|
|
$obj->create; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 AUTHOR |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Andrew J. Page <ap13@sanger.ac.uk> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This is free software, licensed under: |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |