# Path: jacquard/variant_caller_transforms/common_tags.py
# class TagType(object):
#     #pylint: disable=too-few-public-methods
#     def __init__(self,
#                  abbreviation,
#                  vcf_type,
#                  vcf_number,
#                  metaheader_type='FORMAT'):
# 
#         self.abbreviation = abbreviation
#         self.vcf_type = vcf_type
#         self.vcf_number = vcf_number
#         self.metaheader_type = metaheader_type


from collections import defaultdict
from decimal import Decimal
from  jacquard.variant_caller_transforms.common_tags import TagType as TagType
import jacquard.utils.utils as utils
import jacquard.variant_caller_transforms.common_tags as common_tags
"""Classes to summarize data for a sample-variant or variant as a whole.

A collection of individual Tag classes hold the metaheader and logic to
transform Jacquard-standardized VcfRecords.
"""
from __future__ import print_function, absolute_import, division



SUMMARY_TAG = "SUMMARY"

JQ_SUMMARY_TAG = "JQ_SUMMARY_"
JQ_REPORTED = "CALLERS_REPORTED_COUNT"
JQ_SAMPLES_REPORTED = "SAMPLES_REPORTED_COUNT"
JQ_PASSED = "CALLERS_PASSED_COUNT"
JQ_SAMPLES_PASSED = "SAMPLES_PASSED_COUNT"

CALLERS_REPORTED_LIST = TagType("CALLERS_REPORTED_LIST", "String", ".")
CALLERS_PASSED_LIST = TagType("CALLERS_PASSED_LIST", "String", ".")
CALLERS_REPORTED_COUNT = TagType("CALLERS_REPORTED_COUNT", "Integer", "1")
CALLERS_PASSED_COUNT = TagType("CALLERS_PASSED_COUNT", "Integer", "1")


# Path: jacquard/variant_caller_transforms/common_tags.py
# class TagType(object):
#     #pylint: disable=too-few-public-methods
#     def __init__(self,
#                  abbreviation,
#                  vcf_type,
#                  vcf_number,
#                  metaheader_type='FORMAT'):
# 
#         self.abbreviation = abbreviation
#         self.vcf_type = vcf_type
#         self.vcf_number = vcf_number
#         self.metaheader_type = metaheader_type


# Path: jacquard/utils/summarize_rollup_transform.py
from collections import defaultdict
from decimal import Decimal
from  jacquard.variant_caller_transforms.common_tags import TagType as TagType
import jacquard.utils.utils as utils
import jacquard.variant_caller_transforms.common_tags as common_tags

"""Classes to summarize data for a sample-variant or variant as a whole.

A collection of individual Tag classes hold the metaheader and logic to
transform Jacquard-standardized VcfRecords.
"""
from __future__ import print_function, absolute_import, division



SUMMARY_TAG = "SUMMARY"

JQ_SUMMARY_TAG = "JQ_SUMMARY_"
JQ_REPORTED = "CALLERS_REPORTED_COUNT"
JQ_SAMPLES_REPORTED = "SAMPLES_REPORTED_COUNT"
JQ_PASSED = "CALLERS_PASSED_COUNT"
JQ_SAMPLES_PASSED = "SAMPLES_PASSED_COUNT"

CALLERS_REPORTED_LIST = TagType("CALLERS_REPORTED_LIST", "String", ".")
CALLERS_PASSED_LIST = TagType("CALLERS_PASSED_LIST", "String", ".")
CALLERS_REPORTED_COUNT = TagType("CALLERS_REPORTED_COUNT", "Integer", "1")
CALLERS_PASSED_COUNT = TagType("CALLERS_PASSED_COUNT", "Integer", "1")


SAMPLES_REPORTED = TagType("SAMPLES_REPORTED_COUNT", "Integer", "1", "INFO")