def write(self, default: bool=False):
        """Restore B6/M8 entry to original format

        Args:
            default (bool): output entry in default BLAST+ B6 format 

        Returns:
            str: properly formatted string containing the B6/M8 entry
        """

        none_type = type(None)

        if default:  # Default order of format specifiers
            ordered_vals = ['query', 'subject', 'identity', 'length', 
                            'mismatches', 'gaps', 'query_start', 'query_end', 
                            'subject_start', 'subject_end', 'evalue', 
                            'bitscore']
        else:  # Original order of B6 entry format specifiers
            try:
                ordered_vals = [self.custom_fs[i] if i in self.custom_fs 
                            else getattr(self, i) for i in self.fs_order]
            except TypeError:
                ordered_vals = [getattr(self, i) for i in self.fs_order]

        # Format entry for writing
        fstr = "\t".join(['-' if type(i) == none_type else str(i) for i in 
                        ordered_vals])

        return '{}{}'.format(fstr, os.linesep)