Implementation
Components¶
Convert-Pheno
is a versatile toolkit composed of multiple components. At its core is a Perl module that functions as a node for both the command-line interface and the API. The Perl module can be used in Python with the included Python Binding that works out-of-the-box with the containerized version. The Web App is built on top of the command-line interface.
Which one should I use?
Most users find the CLI suitable for their needs. Begin by experimenting with the data in the Web App UI Playground.
Power users may want to check the module or the API version.
Software architecture¶
The core module is divided into various sub-modules. The main package, Convert::Pheno
, handles class initialization and employs the Moo module along with Types::Standard for data validation. After validation, the user-selected method (e.g., pxf2bff
) is executed, directing the data to the respective independent modules, each tailored for converting a specific input format.
Why Perl?
The choice of Perl as a language is due to its inherent speed in text processing and its use of sigils to distinguish data types within intricate data structures.