@staticmethod<EOL><INDENT>def read_pickle(fn):<DEDENT>
with misc.open_plain_or_gzip(fn, '<STR_LIT:rb>') as fh:<EOL><INDENT>parser = pickle.load(fh)<EOL><DEDENT>return parser<EOL>
Load a GOParser object from a pickle file.

        The function automatically detects whether the file is compressed
        with gzip.

        Parameters
        ----------
        fn: str
            Path of the pickle file.

        Returns
        -------
        `GOParser`
            The GOParser object stored in the pickle file.