<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_parameters(cls, n, aa=28, major_radius=None, major_pitch=None, phi_c_alpha=26.42, minor_helix_type='alpha', auto_build=True):
 """Creates a `CoiledCoil` from defined super-helical parameters. Parameters n : int Oligomeric state aa : int, optional Number of amino acids per minor helix. major_radius : float, optional Radius of super helix. major_pitch : float, optional Pitch of super helix. phi_c_alpha : float, optional Rotation of minor helices relative to the super-helical axis. minor_helix_type : float, optional Helix type of minor helices. Can be: 'alpha', 'pi', '3-10', 'PPI', 'PP2', 'collagen'. auto_build : bool, optional If `True`, the model will be built as part of instantiation. """

        instance = cls(n=n, auto_build=False)
        instance.aas = [aa] * n
        instance.phi_c_alphas = [phi_c_alpha] * n
        instance.minor_helix_types = [minor_helix_type] * n
        if major_pitch is not None:
            instance.major_pitches = [major_pitch] * n
        if major_radius is not None:
            instance.major_radii = [major_radius] * n
        if auto_build:
            instance.build()
        return instance