Metallic and Semiconducting Nanowires from Single Wall Carbon Nanotubes