Indirect studies of astrophysical reaction rates through transfer reactions