Hi

I am trying to convert snp coordinates to rsIDs by using the flag `--update-name`, I am not sure if I am using it correctly, my command is:


     plink1.9 --bfile files --update-name snps_coordinates_rs_IDs  [1] [2] --out Test_update_name

I am using [1]  [2] to dedicate columns. 
The snp_coordinate file looks like this. The first column has coordinates the second has rsIDs


    1:48899:G:A     rs974664996
    1:114531:G:C    rs918310516
    1:133360:T:C    rs974682326
    1:541281:GGGCCAACCACAGGACA:G    rs752188509
    1:564782:T:C    rs879089824
    1:636747:C:T    rs974667799

My .bim file has coordinates which I want to convert to rsIDs. I am getting this output 

> Error: Invalid --update-name column number.

Am I missing column names
Please assist

1. Remove the square brackets from your command line.  See the "Interpreting our flag usage summaries" section under https://www.cog-genomics.org/plink/1.9/general_usage .
2. Swap the order of the two numbers: "2 1" instead of "1 2".  The [--update-name usage summary][1] is "--update-name <filename> [new ID col. number] [old ID col.] [skip]"; the new-ID column number comes BEFORE the old-ID column number.  Or you could just remove the column numbers entirely, since "2 1" corresponds to the default behavior (this is mentioned in the first paragraph of the --update-name documentation).

  [1]: https://www.cog-genomics.org/plink/1.9/data#update_map