gravatar for psschlogl

13 hours ago by

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

link

modified 13 hours ago

written
13 hours ago
by

psschlogl30



Source link