GenomeComb
Genomecomb moved to github on https://github.com/derijkp/genomecomb with documentation on https://derijkp.github.io/genomecomb. For up to date versions, go there. These pages only remain here for the data on the older scientific application (or if someone really needs a long obsolete version of the software)
cg keyvalue ?options? ?infile? ?outfile?
Converts data in tsv format from wide format (data for each sample in separate columns) to keyvalue format.
Converts a tsv file containing different values of an object in one row (different fields) into a key-value format: Each of the rows is split into multiple rows (one for each data column) containing fields identifying the object followed by the fields key (fieldname of data column in original) \ and value (value in the data column).
The fields identifying the object can be specified using the -idfields option, but defaults to sample or id. sample as id field is treated special (unless an actual sample field is present in the file): The actual sample value is extracted from the fieldname (field-sample).
Format Conversion