Inhibition of Pneumocystis carinii, Toxoplasma gondii, and Mycobacterium avium dihydrofolate reductases by 2,4-diamino-5-[2-methoxy-5-(omega-carboxyalkyloxy)benzyl]pyrimidines: marked improvement in potency relative to trimethoprim and species selectivity relative to piritrexim.