StreamSubfeatures

Data Stream Processing > Processing Modules > General manipulation Modules

Description
The SteramSubfeatures processing module is designed to work on Features with subfeatures and exports them onto the primary data stream. The subfeatures can be selected based on their category. In addition there are parameter control options related to expression and uniquing.

Parameters

 *  : defines the subfeatures which are exported from the primary feature.
 *  : if true the expression from the primary Feature is transfered to all the subfeatures equally using the height expression method described in TemplateCluster.
 *   : internall implements the same algorithm as the UniqueFeature module.

Example
This script combines two CalcInterSubfeatures modules with a StreamSubfeatures module to manipulate a complex gene model of exons and UTRs into an exported set of coding exons. It first creates intron features between the exons which can be labeled either as block or exon. The second CalcInterSubfeatures then uses 5utr and 3utr and intron as demarkation to create codingexon subfeatures. Lastly the StreamSubfeatures exports these codingexon subfeatures out onto the primary data stream.

   block exon intron  5utr 3utr intron</category_filter> codingexon</new_subfeature_category> <spstream module="StreamSubfeatures"> codingexon</category_filter> <transfer_expression>true</transfer_expression> </stream_queue> </zenbu_script>

Here is a ZENBU view showing this script in use http://fantom.gsc.riken.jp/zenbu/gLyphs/#config=Z-bDHnDrB9UiZmORbpzGl;loc=hg19::chr8:128746973..128755020