{"action":"created","issue":{"url":"https://api.github.com/repos/bigdatagenomics/adam/issues/922","labels_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/922/labels{/name}","comments_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/922/comments","events_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/922/events","html_url":"https://github.com/bigdatagenomics/adam/pull/922","id":127279206,"number":922,"title":"Splitting out SingleReadBucket into an Avro model","user":{"login":"tdanford","id":395608,"avatar_url":"https://avatars.githubusercontent.com/u/395608?v=3","gravatar_id":"","url":"https://api.github.com/users/tdanford","html_url":"https://github.com/tdanford","followers_url":"https://api.github.com/users/tdanford/followers","following_url":"https://api.github.com/users/tdanford/following{/other_user}","gists_url":"https://api.github.com/users/tdanford/gists{/gist_id}","starred_url":"https://api.github.com/users/tdanford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdanford/subscriptions","organizations_url":"https://api.github.com/users/tdanford/orgs","repos_url":"https://api.github.com/users/tdanford/repos","events_url":"https://api.github.com/users/tdanford/events{/privacy}","received_events_url":"https://api.github.com/users/tdanford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-18T17:52:16Z","updated_at":"2016-01-19T12:35:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bigdatagenomics/adam/pulls/922","html_url":"https://github.com/bigdatagenomics/adam/pull/922","diff_url":"https://github.com/bigdatagenomics/adam/pull/922.diff","patch_url":"https://github.com/bigdatagenomics/adam/pull/922.patch"},"body":"This is the beginning of the experiment we discussed prior to the Amplab\r\n2016 retreat: can we split some of the model classes that are currently\r\nhand-written into pairs:\r\n(1) an Avro-schema'ed model class, and\r\n(2) a \"*Utils\"-style class containing what were previously the class\r\nmethods of the model.\r\n\r\nThe initial commit only converts the SingleReadBucket model, from a\r\nScala class into an Avro record, as an example of the work involved.\r\n\r\nAll the old class methods have been put into a new class,\r\nSingleReadBucketUtils.\r\n\r\nThe old _object_ SingleReadBucket was shadowing (unavoidably) the\r\nSingleReadBucket class, and so it has been renamed SingleReadBucketRDD."},"comment":{"url":"https://api.github.com/repos/bigdatagenomics/adam/issues/comments/172838712","html_url":"https://github.com/bigdatagenomics/adam/pull/922#issuecomment-172838712","issue_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/922","id":172838712,"user":{"login":"tdanford","id":395608,"avatar_url":"https://avatars.githubusercontent.com/u/395608?v=3","gravatar_id":"","url":"https://api.github.com/users/tdanford","html_url":"https://github.com/tdanford","followers_url":"https://api.github.com/users/tdanford/followers","following_url":"https://api.github.com/users/tdanford/following{/other_user}","gists_url":"https://api.github.com/users/tdanford/gists{/gist_id}","starred_url":"https://api.github.com/users/tdanford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdanford/subscriptions","organizations_url":"https://api.github.com/users/tdanford/orgs","repos_url":"https://api.github.com/users/tdanford/repos","events_url":"https://api.github.com/users/tdanford/events{/privacy}","received_events_url":"https://api.github.com/users/tdanford/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T12:35:49Z","updated_at":"2016-01-19T12:35:49Z","body":"@massie my goal, by the way, is to clean up this PR, benchmark it (good point, Frank), and then get it merged.  I'd like it to be a strawman for future discussion, but I don't want the PR never to get merged-- I want to move forward with some of the work we described when we were together, if it's amenable to everyone.\r\n\r\n@fnothaft great questions -- let me open up an Issue, copy these questions there, try to answer some of them, and then link it back to this PR. "}}