AppendExpression

From ZENBU documentation wiki
Jump to navigation Jump to search

Data Stream Processing > Processing Modules > Infrastructure Modules

Description

The AppendExpression processing module adds a 1 count expression to all features to allow data which was loaded without expression (like some BED or GFF data files) to be processed with all the signal processing modules.

Parameters

  • <datatype> : set the signal-datatype for the 1-count expression values. default is 'count'.

Example

This script combines an AppendExpression with UniqueFeature to allow unique-merge counting of features.

<zenbu_script>
	<stream_processing>
		<spstream module="AppendExpression">
			<datatype>count</datatype>
		</spstream>
		<spstream module="UniqueFeature">
			<ignore_strand>false</ignore_strand>
			<expression_mode>sum</expression_mode>
			<match_category>false</match_category>
			<match_source>false</match_source>
		</spstream>
	</stream_processing>
</zenbu_script>