bedtools2
bedtools2 copied to clipboard
do all tools have the same set of operations?
I noticed that the CLI help mentions different sets of operations for different tools. For instance groupby has absmin, but merge not...
Or can I assume that the operations defined in the source code are supported by all tools?
_opCodes["sum"] = SUM;
_opCodes["mean"] = MEAN;
_opCodes["stdev"] = STDDEV;
_opCodes["sstdev"] = SAMPLE_STDDEV;
_opCodes["median"] = MEDIAN;
_opCodes["mode"] = MODE;
_opCodes["antimode"] = ANTIMODE;
_opCodes["min"] = MIN;
_opCodes["max"] = MAX;
_opCodes["absmin"] = ABSMIN;
_opCodes["absmax"] = ABSMAX;
_opCodes["count"] = COUNT;
_opCodes["distinct"] = DISTINCT;
_opCodes["count_distinct"] = COUNT_DISTINCT;
_opCodes["distinct_only"] = DISTINCT_ONLY;
_opCodes["distinct_sort_num"] = DISTINCT_SORT_NUM;
_opCodes["distinct_sort_num_desc"] = DISTINCT_SORT_NUM_DESC;