Click or drag to resize
LocationResolverGetSubSequence Method (ILocation, ISequence, DictionaryString, ISequence)
Returns a sequence which contains bases from the specified sequence as specified by the 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 location is "join(100..200, J00089.1:10..50, J00090.2:30..40)" then bases from 100 to 200 will be considered from the sequence parameter 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(
	ILocation location,
	ISequence sequence,
	Dictionary<string, ISequence> referredSequences
)

Parameters

location
Type: Bio.IO.GenBankILocation
Location instance.
sequence
Type: BioISequence
Sequence instance 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.LocationResolver.GetSubSequence(Bio.IO.GenBank.ILocation,Bio.ISequence,System.Collections.Generic.Dictionary{System.String,Bio.ISequence})"]

Implements

ILocationResolverGetSubSequence(ILocation, ISequence, DictionaryString, ISequence)
See Also