Resistance genes and extracellular proteins relieve antibiotic stress on the anammox process.