The melatonin receptor 1A (MTNR1A) gene is associated with recurrent and idiopathic calcium nephrolithiasis.