Modulation of the electronic structure of semiconducting nanotubes resulting from different metal contacts