A neural model for the prediction of pathogenic genomic variants in Mendelian diseases