{"action":"closed","issue":{"url":"https://api.github.com/repos/kipoi/kipoi/issues/256","repository_url":"https://api.github.com/repos/kipoi/kipoi","labels_url":"https://api.github.com/repos/kipoi/kipoi/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/kipoi/kipoi/issues/256/comments","events_url":"https://api.github.com/repos/kipoi/kipoi/issues/256/events","html_url":"https://github.com/kipoi/kipoi/issues/256","id":321629799,"number":256,"title":"Add `score_variants` function ","user":{"login":"Avsecz","id":10011161,"avatar_url":"https://avatars3.githubusercontent.com/u/10011161?v=4","gravatar_id":"","url":"https://api.github.com/users/Avsecz","html_url":"https://github.com/Avsecz","followers_url":"https://api.github.com/users/Avsecz/followers","following_url":"https://api.github.com/users/Avsecz/following{/other_user}","gists_url":"https://api.github.com/users/Avsecz/gists{/gist_id}","starred_url":"https://api.github.com/users/Avsecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avsecz/subscriptions","organizations_url":"https://api.github.com/users/Avsecz/orgs","repos_url":"https://api.github.com/users/Avsecz/repos","events_url":"https://api.github.com/users/Avsecz/events{/privacy}","received_events_url":"https://api.github.com/users/Avsecz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"krrome","id":20303725,"avatar_url":"https://avatars2.githubusercontent.com/u/20303725?v=4","gravatar_id":"","url":"https://api.github.com/users/krrome","html_url":"https://github.com/krrome","followers_url":"https://api.github.com/users/krrome/followers","following_url":"https://api.github.com/users/krrome/following{/other_user}","gists_url":"https://api.github.com/users/krrome/gists{/gist_id}","starred_url":"https://api.github.com/users/krrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krrome/subscriptions","organizations_url":"https://api.github.com/users/krrome/orgs","repos_url":"https://api.github.com/users/krrome/repos","events_url":"https://api.github.com/users/krrome/events{/privacy}","received_events_url":"https://api.github.com/users/krrome/received_events","type":"User","site_admin":false},"assignees":[{"login":"krrome","id":20303725,"avatar_url":"https://avatars2.githubusercontent.com/u/20303725?v=4","gravatar_id":"","url":"https://api.github.com/users/krrome","html_url":"https://github.com/krrome","followers_url":"https://api.github.com/users/krrome/followers","following_url":"https://api.github.com/users/krrome/following{/other_user}","gists_url":"https://api.github.com/users/krrome/gists{/gist_id}","starred_url":"https://api.github.com/users/krrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krrome/subscriptions","organizations_url":"https://api.github.com/users/krrome/orgs","repos_url":"https://api.github.com/users/krrome/repos","events_url":"https://api.github.com/users/krrome/events{/privacy}","received_events_url":"https://api.github.com/users/krrome/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-05-09T15:58:58Z","updated_at":"2018-05-15T19:40:06Z","closed_at":"2018-05-15T19:40:06Z","author_association":"COLLABORATOR","body":"The global API of Kipoi should be by default as of the `score_variants` - implemented here: https://github.com/kipoi/models/blob/kipoi_splice/KipoiSplice/4/dataloader.py#L58. predict_snvs is too complicated.\r\n\r\n- [x] make this function accessible at: `kipoi.postproc.score_variants`\r\n- [x] add the remaining arguments to the API\r\n  - seq_length\r\n- [x] allow scores to be a mixture of strings and objects as a list or as a dictionary (ala keras api)\r\n- [x] add string->class mapping to https://github.com/kipoi/kipoi/blob/master/kipoi/postprocessing/variant_effects/utils/scoring_fns.py#L12 as present in https://github.com/kipoi/kipoi/blob/master/kipoi/cli/postproc.py#L23\r\n- [x] Use the function in `kipoi.cli.postproc.cli_score_variants`\r\n"}}
{"actor":{"display_login":"krrome"}}