Merge col1 + col2
This software merges two columns of a table in CSV.
Manual :
1- install Julia free programming language and install packages :
ArgParse : Pkg.add("ArgParse")
DataFrames : Pkg.add("DataFrames")
2- unzip the software
3- copy your n tables in csv (TAB delimitated by default) files in the “data” directory.
- first line of the table : column names
- next lines : values
- no titles in first column
4- execute the software by the command : julia software_name
usage: merge_col1_col2-002.jl [-s SEP] [-c COL1] [-d COL2] [-h]
optional arguments:
-s, --sep SEP separator for CSV tables (default: '\t')
-c, --col1 COL1 1st column to merge (type: Int64, default: 1)
-d, --col2 COL2 2nd column to merge (type: Int64, default: 2)
-h, --help show this help message and exit
Example : julia merge_col1_col2-002.jl -c 2 -d 4 # merge col 2 and 4
5- processed file is in the “result” directory.