Elucidating the regulation and function of amyloid-like assemblies