| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | package Bio::SeqAlignment::Components::SeqMapping::Dataflow; | ||
| 4 | $Bio::SeqAlignment::Components::SeqMapping::Dataflow::VERSION = '0.03'; | ||
| 5 | use Module::Find; | ||
| 6 | |||
| 7 | #ABSTRACT: Imports all modules relevant to Dataflow for sequence mapping | ||
| 8 | |||
| 9 | ## exercise personal accountability when nuking your namespace with all these modules | ||
| 10 | |||
| 11 | useall Bio::SeqAlignment::Components::SeqMapping::Dataflow; | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Bio::SeqAlignment::Components::SeqMapping::Dataflow Components that implement dataflows for sequence mapping | ||
| 18 | |||
| 19 | =head1 VERSION | ||
| 20 | |||
| 21 | version 0.03 | ||
| 22 | |||
| 23 | =head1 SYNOPSIS | ||
| 24 | |||
| 25 | use Bio::SeqAlignment::Components::SeqMapping::Dataflow; | ||
| 26 | use Bio::SeqAlignment::Components::SeqMapping::Dataflow::ComponentName; | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This module loads all the components that implement dataflows for mapping query | ||
| 31 | sequences against a database of reference sequences . If you don't want to nuke | ||
| 32 | your namespace with all the components, you can load them as needed by using the | ||
| 33 | specific component name, e.g.: | ||
| 34 | |||
| 35 | use Bio::SeqAlignment::Components::SeqMapping::Dataflow::ComponentName; | ||
| 36 | |||
| 37 | where ComponentName is the name of the component you need. | ||
| 38 | If you choose violence, you can load all the components at once by using: | ||
| 39 | |||
| 40 | use Bio::SeqAlignment::Components::SeqMapping::Dataflow; | ||
| 41 | |||
| 42 | |||
| 43 | =head1 COMPONENTS | ||
| 44 | |||
| 45 | =over 4 | ||
| 46 | |||
| 47 | =item * B<LinearGeneric> | ||
| 48 | |||
| 49 | This module provides a Linear Dataflow for use with the Generic Mapper. | ||
| 50 | The Linear Dataflow is a simple linear-linear dataflow that maps a list of | ||
| 51 | query sequences to a reference database of sequences. The module is intended | ||
| 52 | to be B<applied> as a role to the class Bio::SeqAlignment::Components::SeqMapping::Mapper::Generic | ||
| 53 | See the documentation of the Bio::SeqAlignment::Components::SeqMapping::Mapper::Generic | ||
| 54 | module for more information and the EnhancingEdlib for a concrete example. | ||
| 55 | |||
| 56 | =item * B<Linear> | ||
| 57 | |||
| 58 | This module provides a Linear Dataflow for use with a fully fledged, non-generic | ||
| 59 | mapper. The Linear Dataflow is a simple linear-linear dataflow that maps a list of | ||
| 60 | query sequences to a reference database of sequences. The module is intended | ||
| 61 | to be B<composed> as a role to a class such as a putative | ||
| 62 | Bio::SeqAlignment::Components::SeqMapping::Mapper::AwesomeMapper module. | ||
| 63 | The AwesomeModule is a hypothetical module that implements a mapper that is not | ||
| 64 | generic, but is specific to a particular (pseudo)alignment library, similarity | ||
| 65 | metric, reduction technique, etc. In fact, we suggest you don't use the name | ||
| 66 | AwesomeMapper, but rather something more descriptive of the mapper you are using. | ||
| 67 | This could be something like: | ||
| 68 | AlignmentAlgorithm_Dataflow_SimilarityMetric_ReductionTechnique_Mapper | ||
| 69 | But really it can be anything you want, and it doesn't have to be that long, | ||
| 70 | or even be stored under the Bio::SeqAlignment::Components::SeqMapping::Mapper | ||
| 71 | namespace. | ||
| 72 | |||
| 73 | =item * B<LinearLinearGeneric> | ||
| 74 | |||
| 75 | This module provides a Linear-Linear Dataflow for use with the Generic Mapper. | ||
| 76 | The Linear-Linear Dataflow is a simple linear-linear dataflow that maps a list of | ||
| 77 | query sequences to a reference database of sequences. The module is intended | ||
| 78 | to be B<applied> as a role to the class Bio::SeqAlignment::Components::SeqMapping::Mapper::Generic | ||
| 79 | See the documentation of the Bio::SeqAlignment::Components::SeqMapping::Mapper::Generic | ||
| 80 | module for more information and the EnhancingEdlib link for a concrete example. | ||
| 81 | |||
| 82 | =item * B<LinearLinear> | ||
| 83 | |||
| 84 | This module provides a Linear-Linear Dataflow for use with a fully fledged, non-generic | ||
| 85 | mapper. The Linear-Linear Dataflow is a simple linear-linear dataflow that maps a list of | ||
| 86 | query sequences to a reference database of sequences. The module is intended | ||
| 87 | to be B<composed> as a role to a class such as a putative | ||
| 88 | Bio::SeqAlignment::Components::SeqMapping::Mapper::AwesomeMapper module. | ||
| 89 | See under Linear for more information and naming suggestions. | ||
| 90 | |||
| 91 | =back | ||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | =over 4 | ||
| 96 | |||
| 97 | =item * L<Bio::SeqAlignment::Components::SeqMapping::Mapper::Generic|https://metacpan.org/pod/Bio::SeqAlignment::Components::SeqMapping::Mapper::Generic> | ||
| 98 | |||
| 99 | The Generic Mapper module can use the LinearGeneric Dataflow role to map query sequences | ||
| 100 | to a reference database of sequences. | ||
| 101 | |||
| 102 | |||
| 103 | =item * L<Bio::SeqAlignment::Examples::EnhancingEdlib|https://metacpan.org/pod/Bio::SeqAlignment::Examples::EnhancingEdlib> | ||
| 104 | |||
| 105 | Example of how to use the Generic Mapper with the LinearLinearGeneric and the | ||
| 106 | LinearGeneric Dataflow roles, along with the Edlib alignment library. | ||
| 107 | |||
| 108 | =back | ||
| 109 | |||
| 110 | =head1 AUTHOR | ||
| 111 | |||
| 112 | Christos Argyropoulos <chrisarg@cpan.org> | ||
| 113 | |||
| 114 | =head1 COPYRIGHT AND LICENSE | ||
| 115 | |||
| 116 | This software is copyright (c) 2024 by Christos Argyropoulos. | ||
| 117 | |||
| 118 | This is free software; you can redistribute it and/or modify it under | ||
| 119 | the same terms as the Perl 5 programming language system itself. | ||
| 120 | |||
| 121 | =cut |