bedtools2 icon indicating copy to clipboard operation
bedtools2 copied to clipboard

do all tools have the same set of operations?

Open bernt-matthias opened this issue 2 years ago • 0 comments

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;

bernt-matthias avatar Nov 23 '21 21:11 bernt-matthias