Create a SimpleFeature on the given sequence.

Namespace:  BioSharp.Core.Bio.Seq.Impl
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public SimpleFeature(
	ISequence sourceSeq,
	IFeatureHolder parent,
	Feature..::.Template template
)

Parameters

sourceSeq
Type: BioSharp.Core.Bio.Seq..::.ISequence
the source sequence
parent
Type: BioSharp.Core.Bio.Seq..::.IFeatureHolder
the parent sequence or feature
template
Type: BioSharp.Core.Bio.Seq..::.Feature..::.Template
the template for the feature

Remarks

The feature is created underneath the parent FeatureHolder and populated directly from the template fields. However, if the template annotation is the Annotation.EMPTY_ANNOTATION, an empty SimpleAnnotation is attached to the feature instead.

See Also