FlipStrand

From ZENBU documentation wiki
Jump to navigation Jump to search

Data Stream Processing > Processing Modules > General manipulation Modules

Description

The FlipStrand processing module processes Features on the data stream and performs a simple strand inversion (forward -> reverse and reverse -> forward). There are some situations where the BAM strand might be inverted by mistake in processing and this module allows for a simple fix.

Parameters

This module has no parameters

Example

Simple script...

<zenbu_script>
   <stream_processing>
		<spstream module="FlipStrand"/>

		<spstream module="TemplateCluster">
			<overlap_mode>height</overlap_mode>
			<expression_mode>sum</expression_mode>
			<overlap_subfeatures>true</overlap_subfeatures>
			<ignore_strand>true</ignore_strand>
			<side_stream>
				<spstream module="FeatureEmitter">
					<fixed_grid>true</fixed_grid>
					<both_strands>false</both_strands>
				</spstream>
			</side_stream>
		</spstream>
   </stream_processing>
</zenbu_script>