halbritter-lab / gene-curator

Gene Curator is an open-source platform for managing and curating genetic data. It facilitates gene data analysis, entry, and reporting, serving genetics researchers with tools for efficient data handling.
MIT License
5 stars 1 forks source link

Feature Request: Define Curation Workflow with Interlinked Config Files #63

Open berntpopp opened 9 months ago

berntpopp commented 9 months ago

Summary

Establish a structured curation workflow in the Gene Curator application, transitioning from gene data to pre-curation and then to the curation stage. This workflow should be outlined through config files, where each stage's config file references the relevant details from the previous stages' config files (e.g., gene, pre-curation, and curation configs).

Description

Currently, the curation process lacks a defined workflow that seamlessly integrates gene data, pre-curation, and curation stages. By implementing a series of interconnected config files, we can establish a clear and efficient workflow. Each config file will contain stage-specific parameters and settings, and will reference necessary details from the preceding stages' config files, ensuring continuity and consistency throughout the curation process.

Acceptance Criteria

User Stories

Implementation Details

Code Snippet Example for Config Files

// geneConfig.json
{
  "geneDataParameters": [...],
  "nextStage": "preCurationConfig.json"
}

// preCurationConfig.json
{
  "preCurationParameters": [...],
  "previousStage": "geneConfig.json",
  "nextStage": "curationConfig.json"
}

// curationConfig.json
{
  "curationParameters": [...],
  "previousStage": "preCurationConfig.json"
}
{
  "workflow": [
    "geneConfig.json",
    "preCurationConfig.json",
    "curationConfig.json"
  ]
}