From ZENBU documentation wiki
Revision as of 19:08, 14 October 2012 by Nicolas.bertin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Data Stream Processing > Processing Modules > General manipulation Modules


The FilterSubfeatures processing module is designed to work on Features with subfeatures to remove subfeatures not specified in the category filtering and then rebuild the outer feature boundaries based on the remaining subfeatures. The module will resort features on the data stream as needed to preserve the stream integrity.


  • <category_filter> : defines the subfeatures which are retained in the rebuilt primary feature.


This script combines two CalcInterSubfeatures modules with a FilterSubfeatures module to manipulate a complex gene model of exons and UTRs into a new gene model based on coding exons. It first creates intron features between the exons which might 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 FilterSubfeatures rebuilds the transcript gene model using only these codingexon subfeatures.

		<spstream module="CalcInterSubfeatures">
		<spstream module="CalcInterSubfeatures">
		<spstream module="FilterSubfeatures">

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