Create a new task

A step-by-step process on how to crreate a new task.

This chapter provides a step-by-step overview of the process of adding a new task. Here are the main sections:

  1. Task Structure: The structure of a typical OpenProblems task, including its components and file formats.

  2. Define the Task: How to plan and document your task before diving into the code, including creating a README and submitting it to the OpenProblems community.

  3. Design the API: Design a consistent API for your task components and input/output files, and learn how to create API files for each component.

  4. Dataset processor: How to choose appropriate datasets for your task and create a dataset processing component to handle the data.

  5. Create Components: Dive into the process of adding components to your task, such as dataset loaders, methods, control methods, and metrics.

  6. Create Workflow: Combine your components into a cohesive Nextflow workflow.