Entering edit mode
12 months ago
star
▴
350
I want to make an amino acid sequence using AAString ()
. but I want to repeatedly repeat each amino acid and substitute it with a different AA.
For example:
a <- AAString("HQDIS")
I want to repeat "H" 4 times but one time substitute with L, and so on.
In the end, I would like to have an output like this:
AAString object
HQDIS
HQSIT
HQDIL
LQRIS
Can you explain what you're trying to do in more detail? For example, how are you determining what the you want the other residues to be? Also are you trying to repeat the letters in a fixed pattern, or based on some probability of occurance?