extract-columns
Usage:Description:crux extract-columns [options] <tsv filename> <column name list>
Given a tab-delimited file and a comma-delimited list of column names, extract the requested columns.
Input:Output:
- <tsv filename> – A tab-delimited file, with column headers in the first row. Use "-" to read from standard input.
- <column name list> – A comma-delimited list of column names to extract.
The program prints to standard output the requested columns in tab-delimited format. The columns are printed in the same order that they appear in the input column list.
Options:
--delimiter <char>|tab
– Specify the input and output delimiter to use when processing the delimited file. Default=tab.--header T|F
– Print the header line of the file, in addition to the columns that match. Default=T.--verbosity <0-100>
– Specify the verbosity of the current processes. Each level prints the following messages, including all those at lower verbosity levels: 0-fatal errors, 10-non-fatal errors, 20-warnings, 30-information on the progress of execution, 40-more progress information, 50-debug info, 60-detailed debug info. Default = 30.