BioSequenceReverseComplement[bioseq]
biologically complements and reverses the sequence bioseq.
BioSequenceReverseComplement
BioSequenceReverseComplement[bioseq]
biologically complements and reverses the sequence bioseq.
Examples
open all close allBasic Examples (1)
Generalizations & Extensions (3)
Reverse complements of DNA and RNA sequences also apply to sequences with degenerate letters:
BioSequenceReverseComplement[BioSequence["DNA", "WWB"]]BioSequenceReverseComplement[BioSequence["RNA", "WWB"]]Reverse complements can also be taken for circular DNA:
BioSequenceReverseComplement[BioSequence["CircularDNA", "AGG"]]Reverse complements can be applied to extended types with the "ComplementLetterRules" property:
es = EntityStore["ExtendedBioSequenceType" -> <|
"Entities" -> <|
"HachimojiDNA" -> <|
"Alphabet" -> {"C", "G", "T", "A", "B", "P", "S", "Z"},
"Caption" -> "Hachimoji DNA Sequence",
"Icon" -> "DNA",
"Source" -> "DOI: 10.1126/science.aat0971",
"ComplementLetterRules" -> {"A" "T", "C" "G", "P" "Z", "B" "S"}
|>
|>|>];
EntityRegister[es];
example = BioSequence["HachimojiDNA", "BSCGGZ"]BioSequenceReverseComplement[example]Properties & Relations (1)
BioSequenceReverseComplement is its own inverse:
BioSequenceReverseComplement[BioSequenceReverseComplement[BioSequence["DNA", "AGG"]]]See Also
Related Guides
History
Text
Wolfram Research (2020), BioSequenceReverseComplement, Wolfram Language function, https://reference.wolfram.com/language/ref/BioSequenceReverseComplement.html.
CMS
Wolfram Language. 2020. "BioSequenceReverseComplement." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BioSequenceReverseComplement.html.
APA
Wolfram Language. (2020). BioSequenceReverseComplement. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BioSequenceReverseComplement.html
BibTeX
@misc{reference.wolfram_2026_biosequencereversecomplement, author="Wolfram Research", title="{BioSequenceReverseComplement}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/BioSequenceReverseComplement.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_biosequencereversecomplement, organization={Wolfram Research}, title={BioSequenceReverseComplement}, year={2020}, url={https://reference.wolfram.com/language/ref/BioSequenceReverseComplement.html}, note=[Accessed: 13-June-2026]}