home

Strain Corrector

Given a paragraph of text with strain names, correct the names.

Example

I really like e coli and p. aerugonosa and k pneumoniae?? I like them all! But what about klebsiellr pneumonia?? or camyplobacter jejuni??? [GET] /utility/api/straincorrect?mode=contract&input=I%20really%20like%20e%20coli%20and%20p.%20aerugonosa%20and%20k%20pneumoniae??%20I%20like%20them%20all!%20But%20what%20about%20klebsiellr%20pneumonia??%20or%20camyplobacter%20jejuni???

Example of Contraction

Expanded ESKAPE pathogen names are: Escherichia coli, Staphylococcus aureus, Klebsiella pneumoniae, Acinetobacter baumannii, Pseudomonas aeruginosa, and Enterococcus faecium [GET] /utility/api/straincorrect?mode=contract&input=Expanded%20ESKAPE%20pathogen%20names%20are:%20Escherichia%20coli,%20Staphylococcus%20aureus,%20Klebsiella%20pneumoniae,%20Acinetobacter%20baumannii,%20Pseudomonas%20aeruginosa,%20and%20Enterococcus%20faecium

Example of Expansion

Full names of ESKAPE pathogens are: Enterobacter spp, S. aoreus, K. pneumoniaae, A. baumani, P. aerugnosea, and E. feceium

Provided strain text — this is used to expand strain names correctly, since "E. coli" could map to many different genuses. If not provided, a default list will be used, but can be overridden if incorrect.

[GET] /utility/api/straincorrect?mode=expand&input=Full%20names%20of%20ESKAPE%20pathogens%20are:%20Enterobacter%20spp,%20S.%20aoreus,%20K.%20pneumoniaae,%20A.%20baumani,%20P.%20aerugnosea,%20and%20E.%20feceium&strainText=Klebsiella%20pneumoniae,%20Enterococcus%20faecium,%20Staphylococcus%20aureus,%20Pseudomonas%20aeruginasal,%20Acinetobacter%20bamanii,Dickeya

POST endpoint example

Mode
[POST] /utility/api/straincorrect