ENH: check RGI mapping accuracy and manually curate incorrect hits #89
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All RGI hits are checked for mapping accuracy using
check_mapping_accuracy.py
. This is done by comparing the drug categorization of the ARO assigned to the ARG with the drug categorization assigned to the ARG by its original database. A list of ARGs with mismatched mappings are included inmanual_curation/
. Mismatched hits are manually curated to correct ARGs and manual curation files are updated. Some mismatched hits are markedcorrect
orincorrect
.correct
hits have a drug category mismatch but have an ARO mapping that's determined to be correct.incorrect
hits have a drug category mismatch and a manually curated ARO can't be found for them. Bothcorrect
andincorrect
hits should not be included in the final manual curation. For megares, a file calledmegares_meta_biocide_and_virulence_genes.tsv
is also created with metal, biocide, and virulence genes. These should not be mapped to any ARO terms and can be manually curated to no ARO. Metal, biocide, and virulence genes are directly added to manual curation files for other databases. Groot is derived from resfinder and argannot.A list of all mismatched hits, with their manual curation can be found in
db_harmonisation/all_mismatched_hits.tsv