Sequential and structural deteminants of protein aggregation