dgomezpere / msm_tfm

Development of an application to visualize, annotate and prioritize somatic variants in cancer
0 stars 0 forks source link

[vcf_etl%vcf_record] Initialize `RecordInfo` with `vcfpy.record.INFO` #25

Closed segarmond closed 2 years ago

segarmond commented 2 years ago

RecordInfo must be initialized with vcfpy.record.INFO, not vcfpy.record.

class RecordInfo:
    def __init__(self, record=None):
        self._record = None
        self._data = OrderedDict()
        if record:
            self._record = record
            self._get_record_info_data()