A metal-semiconductor transition in helical graphene nanoribbon