@classmethod<EOL><INDENT>def from_list(cls, l):<DEDENT>
id_ = l[<NUM_LIT:0>]<EOL>name = l[<NUM_LIT:3>]<EOL>genes = l[<NUM_LIT:4>].split('<STR_LIT:U+002C>')<EOL>src = l[<NUM_LIT:1>] or None<EOL>coll = l[<NUM_LIT:2>] or None<EOL>desc = l[<NUM_LIT:5>] or None<EOL>return cls(id_, name, genes, src, coll, desc)<EOL>
Generate an GeneSet object from a list of strings.

        Note: See also :meth:`to_list`.

        Parameters
        ----------
        l: list or tuple of str
            A list of strings representing gene set ID, name, genes,
            source, collection, and description. The genes must be
            comma-separated. See also :meth:`to_list`.

        Returns
        -------
        `genometools.basic.GeneSet`
            The gene set.