Table.replace.rb
Replace a field in a table using a mapping file.
See source code, Artistic license 2.0.
§ References
Rodriguez-R & Konstantinidis, 2016, PeerJ Preprints.
§ Requirements
§ Usage
Table.replace.rb --map in_file --in in_file --out out_file [opts]
§ Arguments
- Map*
--map in_file
Mapping file with two columns (key and replacement).- In*
--in in_file
Input table.- Out*
--out out_file
Output table.- Key
--key integer
Column to replace in Input table.- Unknown
--unknown string
String to use whenever the key is not found in Map.- Delimiter
--delimiter string
String delimiting columns. By default, tabulation.