quick question about a degenerated position in motifs
0
0
Entering edit mode
3.5 years ago
psschlogl ▴ 50

Hi there

Supose You have a list of motifs and You want to get a consensus sequence and my question is:

in positions where there are degeneration can You choose any base right? But it is better to choose based on a nucleotide probability distribution, like, you get this probs from all the nucs in the motifs list. And then using something like this:

random.choices('ACGT', probs) ?

Or You simple uses random.choice('ACGT')?

Thanks

sequence • 583 views
ADD COMMENT
1
Entering edit mode

Depends what the intended use is. You could pick the residue based on the most common, or you can use degeneracy characters if it's always a residue with a specific property etc.

ADD REPLY

Login before adding your answer.

Traffic: 1498 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6