{"action":"created","issue":{"url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/issues/86","labels_url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/issues/86/comments","events_url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/issues/86/events","html_url":"https://github.com/MatchMakerExchange/mme-apis/issues/86","id":59965557,"number":86,"title":"Ability to limit results returned","user":{"login":"Relequestual","id":731158,"avatar_url":"https://avatars.githubusercontent.com/u/731158?v=3","gravatar_id":"","url":"https://api.github.com/users/Relequestual","html_url":"https://github.com/Relequestual","followers_url":"https://api.github.com/users/Relequestual/followers","following_url":"https://api.github.com/users/Relequestual/following{/other_user}","gists_url":"https://api.github.com/users/Relequestual/gists{/gist_id}","starred_url":"https://api.github.com/users/Relequestual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Relequestual/subscriptions","organizations_url":"https://api.github.com/users/Relequestual/orgs","repos_url":"https://api.github.com/users/Relequestual/repos","events_url":"https://api.github.com/users/Relequestual/events{/privacy}","received_events_url":"https://api.github.com/users/Relequestual/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-05T15:16:38Z","updated_at":"2015-03-06T10:51:50Z","closed_at":null,"body":"With new phenotype matching methods coming to light, Decipher will be performing an analysis score against all public patients in our database. That's still a large number!\r\n\r\nI've had some thoughts to filter down the number of results.\r\nRemoving patients where the match score is less than 0.5, then also optionally only returning the top 10% of scores.\r\n\r\nIt's difficult to test the implications / actual uses of this till it gets used. However I have a suggestion for 1.1\r\n\r\nAdd an optional paramater for the request which is either, limit the returned results to a number, or a top percentage (where possible). OR. By default each system makes up their own mind about this, and an optional paramater is used to \"return all\".\r\n\r\nEither way, this is down to the requesting system.\r\n\r\nThis thought is mostly aimed at requests which contain only phenotypic data, as genotypic data will be limited to scoring variants patients only."},"comment":{"url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/issues/comments/77540977","html_url":"https://github.com/MatchMakerExchange/mme-apis/issues/86#issuecomment-77540977","issue_url":"https://api.github.com/repos/MatchMakerExchange/mme-apis/issues/86","id":77540977,"user":{"login":"Relequestual","id":731158,"avatar_url":"https://avatars.githubusercontent.com/u/731158?v=3","gravatar_id":"","url":"https://api.github.com/users/Relequestual","html_url":"https://github.com/Relequestual","followers_url":"https://api.github.com/users/Relequestual/followers","following_url":"https://api.github.com/users/Relequestual/following{/other_user}","gists_url":"https://api.github.com/users/Relequestual/gists{/gist_id}","starred_url":"https://api.github.com/users/Relequestual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Relequestual/subscriptions","organizations_url":"https://api.github.com/users/Relequestual/orgs","repos_url":"https://api.github.com/users/Relequestual/repos","events_url":"https://api.github.com/users/Relequestual/events{/privacy}","received_events_url":"https://api.github.com/users/Relequestual/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T10:51:50Z","updated_at":"2015-03-06T10:51:50Z","body":"Hum. Yes, I see that's a good option! I think I'm trying to come up with a way which will allow us not to write end point specific code... at least for quering. Decipher will (probably) always return more matches than others for some queries.\r\n\r\nMaybe we could go with the fields as you suggested, but it would be up to each group if they treat each end point the same or not. =]"}}