[Biopython] Specifying variable bases in search sequences.

Ryan J. Hope r.j.hope81 at gmail.com
Sat Dec 15 16:52:02 UTC 2018


Hello everyone,
I have a script which searches fasta files for -10 and -35 consensus sequences. In my -10 sequence only 2 out of the 6 bases are conserved. How may I search for variable bases for the 4 which are not conserved. I have tried using ’n’ in place of an actual base however this doesn’t produce any results. See .py file attached. 

Kind regards,
Ryan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: promotor_search_variable-10.py
Type: text/x-python-script
Size: 1052 bytes
Desc: not available
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20181215/bcdc8610/attachment.bin>


More information about the Biopython mailing list