From ZENBU documentation wiki
Jump to: navigation, search

Data Stream Processing > Processing Modules > General manipulation Modules


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.


  • <category_filter> : defines the subfeatures which are used to demarcate the areas where the new subfeatures are created between.
  • <new_subfeature_category> : defines the category name of the new FeatureSource for the newly created inter subfeatures


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.

		<spstream module="CalcInterSubfeatures">
		<spstream module="CalcInterSubfeatures">
		<spstream module="StreamSubfeatures">

Here is a ZENBU view showing this script in use;loc=hg19::chr8:128746973..128755020