ILocationResolverGetSubSequence Method (ILocation, ISequence, DictionaryString, ISequence) |
Returns a sequence which contains bases from the specified sequences 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 a location is "join(100..200, J00089.1:10..50, J00090.2:30..40)"
bases from 100 to 200 will be taken 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.GenBankAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax ISequence GetSubSequence(
ILocation location,
ISequence sequence,
Dictionary<string, ISequence> referredSequences
)
Function GetSubSequence (
location As ILocation,
sequence As ISequence,
referredSequences As Dictionary(Of String, ISequence)
) As ISequence
ISequence^ GetSubSequence(
ILocation^ location,
ISequence^ sequence,
Dictionary<String^, ISequence^>^ referredSequences
)
abstract GetSubSequence :
location : ILocation *
sequence : ISequence *
referredSequences : Dictionary<string, ISequence> -> ISequence
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.ILocationResolver.GetSubSequence(Bio.IO.GenBank.ILocation,Bio.ISequence,System.Collections.Generic.Dictionary{System.String,Bio.ISequence})"]
See Also