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

"record_rule = max" appears to prioritize based on max(value) rather than max(score) #86

Open
bjhall opened this issue Jun 11, 2018 · 2 comments
Labels

Comments

@bjhall
Copy link

bjhall commented Jun 11, 2018

At least for "data_type = integer", not sure about float and string.

Minimal test vcf and rank model for testing (had to name them *.txt for github to allow them to be uploaded):

minimal.vcf.txt
minimal_rankmodel.ini.txt

If I run:
$ genmod score -i test -c minimal_rankmodel.ini.txt -r minimal.vcf.txt -o minimal.score

I get "RankResult=1" (from value 5) whereas I would expect it to be 100 (from value 4).

Same problem with "record_rule = min" btw.

@bjhall
Copy link
Author

bjhall commented Jun 11, 2018

obviously it doesn't affect data_type=string since it has no "value"

@dnil
Copy link
Collaborator

dnil commented Oct 24, 2024

Let's have a look at the code ntentions here. And make sure the models are safe either way, which I kind of guess they are.

@dnil dnil added the Task label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants