I would like to make a consensus with the
dumb_consensus function. Instead of the put "X" ambiguous place, I wanted to implement a selection of different possibilities. For example, if there is 'A' in one sequence, and 'T' in the other, it would nrmaly write 'X', but I want to reach 'W' instead of it. And as well If there would be 'C' and 'G' I want to get 'S' etc. Could someone help me to solve this problem?
Here is an example:
Thanks for any answer.