Skip to content

Commit

Permalink
add pydantic model for somatic_msi_calling
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed May 23, 2024
1 parent 0e89abd commit fc8584f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions snappy_pipeline/workflows/somatic_msi_calling/model.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import enum
from typing import Annotated

from pydantic import Field

from models import SnappyStepModel, EnumField


class Tool(enum.Enum):
mantis = "mantis"


class SomaticMsiCalling(SnappyStepModel):
path_ngs_mapping: str

tools: Annotated[list[Tool], EnumField(Tool, [Tool.mantis])]

loci_bed: Annotated[
str, Field(examples=["/fast/groups/cubi/projects/biotools/Mantis/appData/hg19/loci.bed"])
]

0 comments on commit fc8584f

Please sign in to comment.