| 1 | package Bio::Tradis::TradisPlot; | ||
| 2 | 6 | $Bio::Tradis::TradisPlot::VERSION = '1.4.5'; | |
| 3 | # ABSTRACT: Generate plots as part of a tradis analysis | ||
| 4 | |||
| 5 | |||
| 6 | 6 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 6 | ▶ | use Bio::Tradis::Analysis::InsertSite; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 6 | has 'mappedfile' => ( is => 'rw', isa => 'Str', required => 1 ); | |
| 10 | 6 | has 'outfile' => | |
| 11 | ( is => 'rw', isa => 'Str', required => 1, default => 'tradis.plot' ); | ||
| 12 | 6 | has 'mapping_score' => | |
| 13 | ( is => 'rw', isa => 'Int', required => 1, default => 30 ); | ||
| 14 | |||
| 15 | 1 | ▶ | sub plot { |
|
Subroutine
plot: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 16 | 1 | my ($self) = @_; | |
| 17 | |||
| 18 | 1 | Bio::Tradis::Analysis::InsertSite->new( | |
| 19 | filename => $self->mappedfile, | ||
| 20 | output_base_filename => $self->outfile, | ||
| 21 | mapping_score => $self->mapping_score | ||
| 22 | )->create_plots; | ||
| 23 | |||
| 24 | 1 | return 1; | |
| 25 | } | ||
| 26 | |||
| 27 | 6 | __PACKAGE__->meta->make_immutable; | |
| 28 | 6 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 6 | 1; | |
| 30 | |||
| 31 | __END__ | ||