Return a new DNA ISequence for the specified DNA string.

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

Syntax

C#
public static ISequence CreateDNASequence(
	string dna,
	string name
)

Parameters

dna
Type: System..::.String
string to parse into DNA
name
Type: System..::.String
string to use as the name

Return Value

The created sequence

Exceptions

ExceptionCondition
BioSharp.Core.Bio.Symbol..::.IllegalSymbolExceptionif the dna string contains any non-DNA characters

See Also