CalcInterSubfeatures

Data Stream Processing > Processing Modules > General manipulation Modules

Description
The CalcInterSubfeatures processing module is designed to work on Features with subfeatures and  fill in the gaps  between subfeatures with new subfeatures. The subfeatures used in the calculation can be filtered and the category of the newly created subfeatures is named.

Parameters

 *  : defines the subfeatures which are used to demarcate the areas where the new subfeatures are created between.
 *  : defines the category name of the new FeatureSource for the newly created inter subfeatures

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