| Bioinformatics Toolbox™ | ![]() |
SeqC = seqcomplement(SeqNT)
| SeqNT | Enter either a character string with the characters A, T (U), G, C, and ambiguous characters R, Y, K, M, S, W, B, D, H, V, N, or a vector of integers. You can also enter a structure with the field Sequence. |
SeqC = seqcomplement(SeqNT) calculates the complementary strand (A-->T, C-->G, G-->C, T-->A) of a DNA sequence and returns a sequence in the same format as SeqNT. For example, if SeqNT is an integer sequence then so is SeqC.
Return the complement of a DNA nucleotide sequence.
s = 'ATCG'; seqcomplement(s) ans = TAGC
Bioinformatics Toolbox™ functions: seqrcomplement, seqreverse, seqtool
![]() | seq2regexp | seqconsensus | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |