opencb / opencga

An Open Computational Genomics Analysis platform for big data genomics analysis. OpenCGA is maintained and develop by its parent company Zetta Genomics. Please contact support@zettagenomics.com for bug report and feature requests.
Apache License 2.0
165 stars 97 forks source link

New Tools Framework #1368

Open j-coll opened 4 years ago

j-coll commented 4 years ago

OpenCGA Tools

Every tool will extend the class OpenCgaTool, which provides some utility methods. These tools must be annotated with the annotation @Tool to indicate the tool ID, type and description.

ToolExecutor

Tools will have, potentially, multiple ToolExecutors, depending on the data input source and the available frameworks. The main OpenCgaTool class will have some methods to make the discovery of compatible ToolExecutors in the classpath.

ExecutionResult

The Tool will produce an ExecutionResult with the information of the execution status, the generated files, the list of steps, and the progress. This ExecutionResult will be written always to disk, as a <tool-id>.result.yml file in the output directory.

ExecutionResult Model

Discarded elements from the ExecutionResult:

Tasks

j-coll commented 4 years ago

Rename Analysis Framework to Tools Framework