Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

When running annotate-reads-card without the flag --p-include-wildcard the gene and allele mapping outputs contain the same information #31

Open
VinzentRisch opened this issue Jan 11, 2024 · 0 comments
Assignees

Comments

@VinzentRisch
Copy link
Collaborator

RGI bwt (The underlying function used by annotate-reads-card) outputs annotations where alleles are mapped to ARGs in CARD ("allele_mapping_data.txt"). This output is then further summerized at the gene level and is outputted in an extra file ("gene_mapping_data.txt").
But when using annotate-reads-card without the flag --p-include-wildcard, there are not multiple alleles per gene in the database. This means that the gene mapping data contains in that case the same information as the allele mapping data.

To solve this issue:

  • The annotate-reads-card action has to be altered to move an empty TXT file to the CARDGeneAnnotation artifact. And to move an empty feature table to the FeatureTable[Frequency] artifact.
  • The validation of the CARDGeneAnnotationDirectoryFormat has to be altered to accept empty files.
@VinzentRisch VinzentRisch self-assigned this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant