The read_primer function in get_pcr_product.py needs to be modified a little bit to avoid possible error.
In the code:
if name[0] == 'R':
if seq in rpri:
temp = rpri[rseq] + ',' +name
rpri[rseq] = temp
else:
rpri[rseq] = name
the second if should check if rseq in rpri, instead of if seq in rpri
The
read_primerfunction inget_pcr_product.pyneeds to be modified a little bit to avoid possible error.In the code:
the second if should check
if rseq in rpri, instead ofif seq in rpri