The answer is an elemental gun, because swords have difficulty against turrets, and all turrets are vulnerable or neutral to elemental damage. You have five choices: Nova Driver, Storm Driver, Magma Driver, Hail Driver, and Polaris. The relative merits of these have been debated in many threads.
Edit: If you have only two weapon slots, and your other weapon is also elemental, then we have to rethink.