Analogies in electronic properties of graphene wormhole and perturbed nanocylinder