HelperGetReverseComplement Method |
Get reverse complement of sequence string.
Handles only unambiguous DNA sequence strings.
Note: This method is a light-weight implementation of sequence.ReverseComplement.
This only works for unambiguous DNA sequences, which is characteristic of the input for de-novo.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static string GetReverseComplement(
this string sequence,
char[] reverseComplementBuilder
)
<ExtensionAttribute>
Public Shared Function GetReverseComplement (
sequence As String,
reverseComplementBuilder As Char()
) As String
public:
[ExtensionAttribute]
static String^ GetReverseComplement(
String^ sequence,
array<wchar_t>^ reverseComplementBuilder
)
[<ExtensionAttribute>]
static member GetReverseComplement :
sequence : string *
reverseComplementBuilder : char[] -> string
Parameters
- sequence
- Type: SystemString
Sequence string. - reverseComplementBuilder
- Type: SystemChar
String builder for building reverse complement.
Return Value
Type:
StringReverse Complement sequence string.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also