Bio::ToolBox - join_data_file
Home | Install | Libraries | Applications | Examples | FAQ |
join_data_file.pl
A program to join two or more data files and concatenate rows.
SYNOPSIS
join_data_file.pl [–options] <file1> <file2> …
Options:
-o --out <filename> provide output file name, default file1
-z --gz compress output
-v --version print version and exit
-h --help show extended documentation
OPTIONS
The command line flags and descriptions:
-
–out <filename>
Provide the name of the output file. If the input files were split using ‘split_data_file.pl’, then the original base name may be reconstituted. Otherwise, the user will be asked for an output file name.
-
–gz
Indicate whether the output files should be compressed with gzip. Default behavior is to preserve the compression status of the first input file.
-
–version
Print the version number.
-
–help
Display the POD documentation
DESCRIPTION
This program will join two or or more data files, essentially concatanating the files but intelligently dealing with the metadata and column headers. Checks are made to ensure that the number of columns in the subsequent files match the first file.
The program will not merge datasets from multiple files; see the program ‘merge_datasets.pl’ for that.
This program is intended as the complement to ‘split_data_files.pl’.
AUTHOR
Timothy J. Parnell, PhD
Howard Hughes Medical Institute
Dept of Oncological Sciences
Huntsman Cancer Institute
University of Utah
Salt Lake City, UT, 84112
This package is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.