Click or drag to resize
FeatureItemGetSubSequence Method (ISequence, DictionaryString, ISequence)
Returns a sequence which contains bases from the specified sequences as specified by this feature location. If the location contains accession then the sequence from the referredSequences which matches the accession of the location will be considered. For example, If a location is "join(100..200, J00089.1:10..50, J00090.2:30..40)" bases from 100 to 200 will be taken from the parent sequence and referredSequences will be searched for the J00089.1 and J00090.2 accession if found then those sequences will be considered for constructing the output sequence. If the referred sequence is not found in the referredSequences then an exception will occur.

Namespace: Bio.IO.GenBank
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public ISequence GetSubSequence(
	ISequence sequence,
	Dictionary<string, ISequence> referredSequences
)

Parameters

sequence
Type: BioISequence
Sequence from which the sub sequence has to be returned.
referredSequences
Type: System.Collections.GenericDictionaryString, ISequence
A dictionary containing Accession numbers as keys and Sequences as values, this will be used when the location or sub-locations contains accession.

Return Value

Type: ISequence

[Missing <returns> documentation for "M:Bio.IO.GenBank.FeatureItem.GetSubSequence(Bio.ISequence,System.Collections.Generic.Dictionary{System.String,Bio.ISequence})"]

See Also