A frustule is the hard and porous cell wall or external layer of diatoms. The frustule is composed almost purely of silica .