{"action":"created","issue":{"url":"https://api.github.com/repos/dereneaton/ipyrad/issues/109","repository_url":"https://api.github.com/repos/dereneaton/ipyrad","labels_url":"https://api.github.com/repos/dereneaton/ipyrad/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/dereneaton/ipyrad/issues/109/comments","events_url":"https://api.github.com/repos/dereneaton/ipyrad/issues/109/events","html_url":"https://github.com/dereneaton/ipyrad/issues/109","id":132867523,"number":109,"title":"stats storage and the -r flag for CLI","user":{"login":"dereneaton","id":5395480,"avatar_url":"https://avatars.githubusercontent.com/u/5395480?v=3","gravatar_id":"","url":"https://api.github.com/users/dereneaton","html_url":"https://github.com/dereneaton","followers_url":"https://api.github.com/users/dereneaton/followers","following_url":"https://api.github.com/users/dereneaton/following{/other_user}","gists_url":"https://api.github.com/users/dereneaton/gists{/gist_id}","starred_url":"https://api.github.com/users/dereneaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereneaton/subscriptions","organizations_url":"https://api.github.com/users/dereneaton/orgs","repos_url":"https://api.github.com/users/dereneaton/repos","events_url":"https://api.github.com/users/dereneaton/events{/privacy}","received_events_url":"https://api.github.com/users/dereneaton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T01:30:29Z","updated_at":"2016-02-11T05:22:07Z","closed_at":null,"body":"I want to store stats in two ways: \r\n\r\n```\r\nself.stats = a dictionary storing data frames of stats results\r\n    self.stats.summary = a data.frame with just the most important stats\r\n    self.stats.s1 = step1 results\r\n    self.stats.s2 = ...\r\n    self.stats.s3 = ...\r\n    self.stats.s4 = ...\r\n    self.stats.s5 = ...\r\n    self.stats.s6 = ...\r\n    self.stats.s7_loci = ...\r\n    self.stats.s7_samples = ...\r\n    self.stats.s7_snps = ...\r\n\r\nself.statsfiles = paths to the saved stats files (printed data frame)\r\n    self.statsfiles.s1 = \"/home/user/rad/fastqs/s1.results.txt\r\n    self.statsfiles.s2 = ...\r\n```\r\n\r\nWhat do you think?\r\n\r\n\r\nAnd then for the CLI the -r output would print only self.stats.summary and self.statsfiles.keys()"},"comment":{"url":"https://api.github.com/repos/dereneaton/ipyrad/issues/comments/182717513","html_url":"https://github.com/dereneaton/ipyrad/issues/109#issuecomment-182717513","issue_url":"https://api.github.com/repos/dereneaton/ipyrad/issues/109","id":182717513,"user":{"login":"isaacovercast","id":5974975,"avatar_url":"https://avatars.githubusercontent.com/u/5974975?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacovercast","html_url":"https://github.com/isaacovercast","followers_url":"https://api.github.com/users/isaacovercast/followers","following_url":"https://api.github.com/users/isaacovercast/following{/other_user}","gists_url":"https://api.github.com/users/isaacovercast/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacovercast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacovercast/subscriptions","organizations_url":"https://api.github.com/users/isaacovercast/orgs","repos_url":"https://api.github.com/users/isaacovercast/repos","events_url":"https://api.github.com/users/isaacovercast/events{/privacy}","received_events_url":"https://api.github.com/users/isaacovercast/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T05:22:07Z","updated_at":"2016-02-11T05:22:07Z","body":"I think that sounds good. As it is now the -r output is kind of unwieldy, pawing through the whole thing can be annoying if all you're really interested in is what state each sample is in (which i have done quite often). What do you imagine will be the most important stats in the summary? The sum of total reads passing each step for all samples? That might be a good approximation of information people might be interested in."}}