Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

problem with ResFinder annotation "merge" #64

Closed
fmalmeida opened this issue Sep 14, 2022 · 0 comments · Fixed by #65
Closed

problem with ResFinder annotation "merge" #64

fmalmeida opened this issue Sep 14, 2022 · 0 comments · Fixed by #65
Assignees
Labels
bug Something isn't working

Comments

@fmalmeida
Copy link
Owner

Since ResFinder is annotated using the contigs and not the CDS sequences, its annotations are added to the final GFFs by finding intersection between annotation GFF and Resfinder GFF.

The problem is that sometimes, this annotation, may find intersections with two CDS sequences, but only of them being the real one, and the other just some spurious intersection like the following:

contig_2        Prodigal:002006,Resfinder       CDS,Resistance  1885477 1886385 .       +       0       ID=GDOAGAFO_01938;Name=syrM1;gene=syrM1;inference=ab initio prediction:Prodigal:002006,similar to AA sequence:UniProtKB:P55619;locus_tag=GDOAGAFO_01938;product=HTH-type transcriptional regulator SyrM 1;Resfinder_ID=Resfinder_1;Additional_database=Resfinder;Resfinder_gene=fosA;Resfinder_phenotype=Fosfomycin_resistance;Resfinder_reference=ACWO01000079

contig_2        Prodigal:002006,CARD,AMRFinderPlus,Resfinder    CDS,Resistance  1886379 1886798 .       +              0       ID=GDOAGAFO_01939;eC_number=2.5.1.18;Name=fosA;gene=fosA;inference=ab initio prediction:Prodigal:002006,similar to AA sequence:UniProtKB:Q56415;locus_tag=GDOAGAFO_01939;product=Glutathione transferase FosA;Additional_database=KEGG;KO=K03321;Method=KOfamscan;Additional_database=CARD;CARD:Name=FosA6;CARD:Inference=protein_homolog_model;CARD:Product=fosfomycin_thiol_transferase;CARD:Targeted_drug_class=fosfomycin;Additional_database=NDARO;NDARO:Gene_Name=fosA;NDARO:Gene_Product=FosA5_family_fosfomycin_resistance_glutathione_transferase;NDARO:Resistance_Category=AMR;NDARO:Resistance_Target=FOSFOMYCIN;NDARO:Method=BLASTP;NDARO:Closest_Sequence=FosA5_family_fosfomycin_resistance_glutathione_transferase;Resfinder_ID=Resfinder_1;Additional_database=Resfinder;Resfinder_gene=fosA;Resfinder_phenotype=Fosfomycin_resistance;Resfinder_reference=ACWO01000079

Where the annotated Resfinder_1 was intersected to two CDS regions, and then, appears (wrongly) two times in the final gff.

@fmalmeida fmalmeida self-assigned this Sep 14, 2022
@fmalmeida fmalmeida added the bug Something isn't working label Sep 14, 2022
@fmalmeida fmalmeida linked a pull request Sep 14, 2022 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
1 participant