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 collapsealleles ?options? ?file? ?outfile?
Convert a split variant file to unsplit by collapsing alleles of the same variant into one line.
In a split tsv variant file, multiple alternative alleles of the same variant are on different lines. cg collapsealleles can join these lines to create an unsplit, multiallelic variant file. If multiple lines are merged, most of the fields will contain a list (comma separated) of the values for that field on the original separate lines (one element per alternative allele). If they all have the same value, that single value is put in the result field instead of the list
For some fields the correct value(s) are calculated based on the merged allele lines.
tsv