jacquard/utils/vcf.py
def _join_info_fields(self):
        """Updates info attribute from info dict."""
        if self.info_dict:
            info_fields = []
            if len(self.info_dict) > 1:
                self.info_dict.pop(".", None)
            for field, value in self.info_dict.items():
                if field == value:
                    info_fields.append(value)
                else:
                    info_fields.append("=".join([field, value]))
            self.info = ";".join(info_fields)
        else:
            self.info = "."
def _join_info_fields(self):
        if self.info_dict:
            info_fields = []
            if len(self.info_dict) > 1:
                self.info_dict.pop(".", None)
            for field, value in self.info_dict.items():
                if field == value:
                    info_fields.append(value)
                else:
                    info_fields.append("=".join([field, value]))
            self.info = ";".join(info_fields)
        else:
            self.info = "."
def _join_info_fields ( self ) : if self . info_dict : info_fields = [ ] if len ( self . info_dict ) > 1 : self . info_dict . pop ( "." , None ) for field , value in self . info_dict . items ( ) : if field == value : info_fields . append ( value ) else : info_fields . append ( "=" . join ( [ field , value ] ) ) self . info = ";" . join ( info_fields ) else : self . info = "."
Updates info attribute from info dict.
Updates info attribute from info dict .