Ontify
Catalysis of the reaction: D-ribose 5-phosphate + ATP + NH(4)(+) = 5-phospho-D-ribosylamine + ADP + 2 H(+) + phosphate.