ATP required for cell processes
For DNA replication and transcription you need NTPs. In a dsDNA purine content will be same as pyrimidine content. I am considering that all nucleotides are synthesized de novo which would consume more ATP than getting nucleotides from the salvage pathway.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


  Fig 1: Pyrimidine synthesis. Taken from Wikipedia.




&nbsp;&nbsp;&nbsp;&nbsp;


  Fig 2: Purine synthesis. Taken from Wikipedia.




CTP synthesis requires one extra ATP:

UTP + Glutamine + ATP + H2O → CTP + ADP + Pi

UTP synthesis requires 2 (Step 1; Fig 1) + 1 (Step 5; Fig 1: PRPP requires 1 ATP to form) +  2 (UMP → UTP) = 5 ATPs

CTP requires 6 ATPs

GTP requires 8 ATPs (Fig 2) (ATP synthesis would also require 8 ATPs but for simplicity let us assume that ATP is already present).

Conversion of dNTP from NTP requires thioredoxin which in turn requires NADP but let us forget that.

Assuming a 50% GC content one base pair of DNA would require in an average 10 ATPs (assume a stretch of 4nt — ACTG, this would require 1+6+5+8 ATPs; i.e. 5 ATPs per nt; 10 ATP per bp)

For RNA the ATP consumption would be 5 ATPs per nt.

For protein synthesis, for every codon, the elongation factor requires one molecule of GTP and aminoacyl-tRNA synthetase requires 1 molecule of ATP. So the net consumption per amino acid would be 9 ATPs.

I am ignoring the initiation reaction that also requires ATP to phosphorylate the initiation factor. Also, I assume that amino acids are obtained from diet and are not synthesized by the organism.