-
Notifications
You must be signed in to change notification settings - Fork 2
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
MAINT: Removed "overall-mapping-stats.txt" from CARDGeneAnnotationDirectoryFormat
#29
MAINT: Removed "overall-mapping-stats.txt" from CARDGeneAnnotationDirectoryFormat
#29
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
==========================================
- Coverage 66.70% 66.58% -0.13%
==========================================
Files 13 13
Lines 835 832 -3
==========================================
- Hits 557 554 -3
Misses 278 278 ☔ View full report in Codecov by Sentry. |
Hi Santiago :) This is again a very small one with no new functionality. |
Coolioou, I'll check it out :). |
In your second bullet point of the PR message you say
Do you mean?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ✅ I all looks good to me!
- ✅ All test pass locally.
- ✅
annotate-reads-card
andvisualize-annotation-stats
run without problems. I did not inspect the outputs to make sure that made sense (not that I could either), but I guess you did this :) - ❓Im just curious about one thing. How come you decided to set
"amr_reads_annotation": SampleData[CARDAlleleAnnotation]
and not"amr_reads_annotation": CARDAlleleAnnotation
. I'm not an expert on Semantic Types so It's not so obvious why one would choose one over the other. Also apparently you already hadCARDAlleleAnnotation
registered as a type ofSampleData
before this PR so I am confused why you didn't use it before.
Thank you! 👍 And it should have been SampleData[CARDAlleleAnnotation] from the start. That was a bug, |
This PR fixes #28 and #30
CARDGeneAnnotationDirectoryFormat
.visualize-annotation-stats
to only acceptCARDAlleleAnnotation
because the stats file is now only included in theCARDAlleleAnnotationDirectoryFormat
.CARDAlleleAnnotation
toSampleData[CARDAlleleAnnotation]
in the input plugin_setup ofvisualize-annotation-stats
.annotate-reads-card
so that "overall-mapping-stats.txt" only gets moved to theCARDAlleleAnnotation
artifact.To test
annotate-reads-card
action, download test files and run this (takes about 3 mins):qiime amr annotate-reads-card --i-reads 25mb_reads.qza --i-card-db card_db.qza --output-dir test_q2_amr_29 --p-threads 2
To test
visualize-annotation-stats
run this:qiime amr visualize-annotation-stats --i-amr-reads-annotation test_q2_amr_29/amr_allele_annotation.qza --o-visualization test_q2_amr_29/amr_allele_annotation_stats.qzv