Hello all, I was hoping it might be possible to look at a set of letters (atcg) and list all possible combinations to n
eg if n = 5
aaaaa
taaaa
caaaa
gaaaa
ataaa
ttaaa
etc... up to ggggg
the application is to look at possible combinations of nucleid acids, I will then use functions to calculate exact mass from the combinations and use it as a lookup database. I still have not worked out if the number of combinations will be too large at n = 20
I have seen a few examples of combinations where n is less than the number of items in the set but cannot find any way of doing this.
Thankyou for any help
Justin