Hi, and thanks for your question
No, this kind of issue would not affect any STI results. Even bacteria from a gum infection will not affect the results of a throat swab for STIs. The tests we use and the laboratory machines that we run them on are very sensitive and very specific to the test they are designed for, so you should have no problems with the accuracy of an STI test in this instance
Let us know if this does not answer your question or if you have any more questions or concerns.
Health Nurse