| 1 | package Bio::MUST::Apps::Debrief42::OrgReport; | ||
| 2 | # ABSTRACT: Internal class for tabular tax-report parser | ||
| 3 | # CONTRIBUTOR: Mick VAN VLIERBERGHE <mvanvlierberghe@doct.uliege.be> | ||
| 4 | $Bio::MUST::Apps::Debrief42::OrgReport::VERSION = '0.210570'; | ||
| 5 | use Moose; | ||
| 6 | use namespace::autoclean; | ||
| 7 | |||
| 8 | use autodie; | ||
| 9 | use feature qw(say); | ||
| 10 | |||
| 11 | use Bio::MUST::Core; | ||
| 12 | use aliased 'Bio::MUST::Core::SeqId'; | ||
| 13 | use aliased 'Bio::MUST::Apps::Debrief42::TaxReport'; | ||
| 14 | |||
| 15 | |||
| 16 | has 'org' => ( | ||
| 17 | is => 'ro', | ||
| 18 | isa => 'Str', | ||
| 19 | required => 1, | ||
| 20 | ); | ||
| 21 | |||
| 22 | |||
| 23 | has '_new_seqs_by_' . $_ => ( | ||
| 24 | traits => ['Hash'], | ||
| 25 | is => 'ro', | ||
| 26 | isa => | ||
| 27 | 'HashRef[ArrayRef[Bio::MUST::Apps::Debrief42::TaxReport::NewSeq]]', | ||
| 28 | required => 1, | ||
| 29 | handles => { | ||
| 30 | 'all_' . $_ . 's' => 'keys', | ||
| 31 | 'new_seqs_by_' . $_ . '_for' => 'get', | ||
| 32 | 'all_new_seqs_by_' . $_ => 'values', | ||
| 33 | }, | ||
| 34 | ) for qw(outfile acc); | ||
| 35 | |||
| 36 | |||
| 37 | __PACKAGE__->meta->make_immutable; | ||
| 38 | 1; | ||
| 39 | |||
| 40 | __END__ | ||
| 41 | |||
| 42 | =pod | ||
| 43 | |||
| 44 | =head1 NAME | ||
| 45 | |||
| 46 | Bio::MUST::Apps::Debrief42::OrgReport - Internal class for tabular tax-report parser | ||
| 47 | |||
| 48 | =head1 VERSION | ||
| 49 | |||
| 50 | version 0.210570 | ||
| 51 | |||
| 52 | =head1 SYNOPSIS | ||
| 53 | |||
| 54 | # TODO | ||
| 55 | |||
| 56 | =head1 DESCRIPTION | ||
| 57 | |||
| 58 | # TODO | ||
| 59 | |||
| 60 | =head1 AUTHOR | ||
| 61 | |||
| 62 | Denis BAURAIN <denis.baurain@uliege.be> | ||
| 63 | |||
| 64 | =head1 CONTRIBUTOR | ||
| 65 | |||
| 66 | =for stopwords Mick VAN VLIERBERGHE | ||
| 67 | |||
| 68 | Mick VAN VLIERBERGHE <mvanvlierberghe@doct.uliege.be> | ||
| 69 | |||
| 70 | =head1 COPYRIGHT AND LICENSE | ||
| 71 | |||
| 72 | This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN. | ||
| 73 | |||
| 74 | This is free software; you can redistribute it and/or modify it under | ||
| 75 | the same terms as the Perl 5 programming language system itself. | ||
| 76 | |||
| 77 | =cut |