Strainphlan Version 4.0.6 Error AttributeError: 'Seq' object has no attribute 'replace'

With the new version of Strainphlan Version 4.0.6 we get the following error: Error AttributeError: ‘Seq’ object has no attribute ‘replace’.

line 34, in get_sequence
return SeqRecord(Seq(self.sequence[trim_sequences:-trim_sequences].replace(“*”, “-”).replace(‘-’, ‘N’)), id=marker_name, description=marker_name)
AttributeError: ‘Seq’ object has no attribute ‘replace’

Could you please help out with what is causing this error?

Solved by changing version of Biopython

Which version of biopython did you use to fix the issue?