Usually the original mineral was aragonite or calcite, and it has been replaced by silica (in oxidizing and acidic conditions) or pyrite (in reducing conditions, in the absence of oxygen). Under some ...