Comments (3)
Hi @MicroSeq, thanks for flagging this and apologies about the delay been out of country. That parser was actually developed by the lead RGI-bwt so hopefully its just got a little out of date re: the type checking.
@raphenya could you have a look and let me know which numerical fields in RGI-bwt outputs are ever going to be multiple numbers in a list or ranges?
from hamronization.
Reference Allele(s) Identity to CARD Reference Protein (%)
also causes an issue as it is reported as a range in some instances: ValueError: Expected sequence_identity to be <class 'float'>, got '92.82 - 100.0'
I changed the expected values in hAMRonizedResult.py to str instead of int and float respectively. Not sure if this breaks anything downstream yet but it allows for execution on the output so far.
from hamronization.
@raphenya just a bump to see if you've had a change to look at this and can let me know which RGI-bwt fields can be ranges vs numerical values.
from hamronization.
Related Issues (20)
- help understanding resfinder run HOT 1
- ORF_ID missing once RGI report hAMRonized HOT 1
- RgiIO.py: Typo in line 79 HOT 1
- Fix issue of very similar runs falsely combining results in summary
- Genetic_variation_type HOT 1
- hamronize summarize - local variable 'parsed_report' reference before assignment HOT 3
- Flag overlapping ranges in hAMRonization
- AMR Variant detection - Parsers to be updated HOT 1
- Obtain specification field data information from JSON schema HOT 1
- Update README
- Add xlsx output HOT 1
- Add CONTRIBUTING.md
- Add fARGene
- PyPi not updated, 1.0.4 tarball reports version 1.0.3 HOT 2
- [BUG] `KeyError: 'reference_database_name'` when running summarize HOT 9
- [BUG] Generated output does not follow CSP rules HOT 1
- Request for Zenodo archive
- Updating version support for starmar, amrfinderplus, kmerresistance - summarize output breaks HOT 4
- nucleotide specific fileds are empty while importing AmrFinderPlus results based on nucleotide sequences HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hamronization.