Sequence Constructor (IAlphabet, String) |
Initializes a new instance of the Sequence class with specified alphabet and string sequence.
Symbols in the sequence are validated with the specified alphabet.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public Sequence(
IAlphabet alphabet,
string sequence
)
Public Sub New (
alphabet As IAlphabet,
sequence As String
)
public:
Sequence(
IAlphabet^ alphabet,
String^ sequence
)
new :
alphabet : IAlphabet *
sequence : string -> Sequence
Parameters
- alphabet
- Type: BioIAlphabet
Alphabet to which this class should conform. - sequence
- Type: SystemString
The sequence in string form.
See Also