Here's a train map of the Turkish State Railways (TCDD, DDY) route system. Notice there is no train service whatsoever to the western or central Mediterranean coasts, and there is very little service to the Black Sea coast. Go by bus, plane or rental carto those regions.
Turkish State Railways Website