# ----------------------------------------------------------------------------
# Copyright (c) 2016-2025, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------

from qiime2.plugin import SemanticType, model
from q2_types.sample_data import SampleData


DADA2Stats = SemanticType('DADA2Stats', variant_of=SampleData.field['type'])


class DADA2StatsFormat(model.TextFileFormat):
    def validate(*args):
        pass


DADA2StatsDirFmt = model.SingleFileDirectoryFormat(
    'DADA2StatsDirFmt', 'stats.tsv', DADA2StatsFormat)


DADA2BaseTransitionStats = SemanticType('DADA2BaseTransitionStats')


class DADA2BaseTransitionStatsFormat(model.TextFileFormat):
    def validate(*args):
        pass


DADA2BaseTransitionStatsDirFmt = model.SingleFileDirectoryFormat(
    'DADA2BaseTransitionStatsDirFmt',
    'Errorstats.tsv',
    DADA2BaseTransitionStatsFormat
)
