I have a project to write in Python that requires to write a function that given degenerate DNA sequence (for example: KKGTACACCAG) sequence and a molecular weight interval, returns a list of all unambiguous sequences represented by the given sequence (encoding based on IUPAC alphabet: http://www.bioinformatics.org/sms/iupac.html).
Is there any function in Biopython to convert a DNA sequence from degenerate to unambiguous base pairs?
Also, Is it possible to use the molecular weight function from Bio.SeqUtils library for an ambiguous DNA?