BioSequenceInstances

BioSequenceInstances[bioseq]

expands the possibly degenerate sequence bioseq into all fully specified corresponding sequences.

BioSequenceInstances[bioseq,n]

expands the sequence bioseq into at most n fully specified corresponding sequences.

Details

  • BioSequenceInstances uses the type of the sequence to resolve all degenerate letters into their corresponding fully specified letters.
  • Allowed degenerate letters for DNA and RNA include:
  • BC, G or T/U
    DA, G or T/U
    HA, C or T/U
    KG or T/U
    MA or C
    NA, C, G or T/U
    RA or G
    SC or G
    VA, C or G
    WA or T/U
    YC or T/U
  • Allowed degenerate letters for peptides include:
  • BD or N
    JI or L
    XA, C, D, E, F, G, H, I, K, L, M, N, O, P, Q, R, S, T, U, V, W, Y
    ZE or Q

Examples

open allclose all

Basic Examples  (1)

Show all of the potential sequences corresponding to a given degenerate sequence:

Scope  (3)

Limit the number of instances:

Expand a degenerate RNA sequence:

Expand a degenerate peptide sequence:

Properties & Relations  (1)

Expanding degenerate letters forms all of the tuples of the letters they correspond to:

Wolfram Research (2020), BioSequenceInstances, Wolfram Language function, https://reference.wolfram.com/language/ref/BioSequenceInstances.html.

Text

Wolfram Research (2020), BioSequenceInstances, Wolfram Language function, https://reference.wolfram.com/language/ref/BioSequenceInstances.html.

CMS

Wolfram Language. 2020. "BioSequenceInstances." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BioSequenceInstances.html.

APA

Wolfram Language. (2020). BioSequenceInstances. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BioSequenceInstances.html

BibTeX

@misc{reference.wolfram_2024_biosequenceinstances, author="Wolfram Research", title="{BioSequenceInstances}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/BioSequenceInstances.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_biosequenceinstances, organization={Wolfram Research}, title={BioSequenceInstances}, year={2020}, url={https://reference.wolfram.com/language/ref/BioSequenceInstances.html}, note=[Accessed: 25-November-2024 ]}