Targeted genetic testing could help avoid trial and error as doctors look for the best treatments for patients with depression