Hi Asaf, Thanks so much for your reply.
The first command line was fine but I got an error message with the 2nd command line that says object 'chr' not found which I guess is correct as I want to create both chr and pos as new columns. Do they have to be created first before running the 2nd command and if so, how?
Ed