gffutils.interface.FeatureDB.children_bp
- FeatureDB.children_bp(feature, child_featuretype='exon', merge=False, merge_criteria=(<function seqid>, <function overlap_end_inclusive>, <function strand>, <function feature_type>), **kwargs)[source]
- Total bp of all children of a featuretype. - Useful for getting the exonic bp of an mRNA. - Parameters:
- feature (str or Feature instance) – 
- child_featuretype (str) – Which featuretype to consider. For example, to get exonic bp of an mRNA, use - child_featuretype='exon'.
- merge (bool) – Whether or not to merge child features together before summing them. 
- merge_criteria (list) – - List of merge criteria callbacks. All must evaluate to True in order for a feature to be merged. Only used if merge=True. When modifying this argument, you may want to use: - from gffutils import merge_criteria as mc - to access the available callbacks. 
 
- Return type:
- Integer representing the total number of bp.