{"action":"created","issue":{"url":"https://api.github.com/repos/rnabioco/valr/issues/159","repository_url":"https://api.github.com/repos/rnabioco/valr","labels_url":"https://api.github.com/repos/rnabioco/valr/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/rnabioco/valr/issues/159/comments","events_url":"https://api.github.com/repos/rnabioco/valr/issues/159/events","html_url":"https://github.com/rnabioco/valr/issues/159","id":194630183,"number":159,"title":"tools do not work with remote dbs","user":{"login":"jayhesselberth","id":355367,"avatar_url":"https://avatars.githubusercontent.com/u/355367?v=3","gravatar_id":"","url":"https://api.github.com/users/jayhesselberth","html_url":"https://github.com/jayhesselberth","followers_url":"https://api.github.com/users/jayhesselberth/followers","following_url":"https://api.github.com/users/jayhesselberth/following{/other_user}","gists_url":"https://api.github.com/users/jayhesselberth/gists{/gist_id}","starred_url":"https://api.github.com/users/jayhesselberth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayhesselberth/subscriptions","organizations_url":"https://api.github.com/users/jayhesselberth/orgs","repos_url":"https://api.github.com/users/jayhesselberth/repos","events_url":"https://api.github.com/users/jayhesselberth/events{/privacy}","received_events_url":"https://api.github.com/users/jayhesselberth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T15:56:21Z","updated_at":"2016-12-20T13:12:35Z","closed_at":null,"body":"``` r\r\nlibrary(valr)\r\nlibrary(dplyr)\r\n\r\ndb <- db_ucsc('hg38')\r\ngenes <- tbl(db, 'refGene')\r\nrepeats <- tbl(db, 'rmsk')\r\n\r\ngenes <-\r\n  genes %>%\r\n  select(chrom, start = txStart, end = txEnd) %>%\r\n  head(1)\r\n\r\nrepeats <-\r\n  repeats %>%\r\n  select(chrom = genoName, start = genoStart, end = genoEnd, name = repName) %>%\r\n  head(1)\r\n\r\nbed_intersect(genes, repeats)\r\n#> Error in intersect_impl(x, y, suffix$x, suffix$y): need at least one column for hash()\r\n```"},"comment":{"url":"https://api.github.com/repos/rnabioco/valr/issues/comments/268239734","html_url":"https://github.com/rnabioco/valr/issues/159#issuecomment-268239734","issue_url":"https://api.github.com/repos/rnabioco/valr/issues/159","id":268239734,"user":{"login":"jayhesselberth","id":355367,"avatar_url":"https://avatars.githubusercontent.com/u/355367?v=3","gravatar_id":"","url":"https://api.github.com/users/jayhesselberth","html_url":"https://github.com/jayhesselberth","followers_url":"https://api.github.com/users/jayhesselberth/followers","following_url":"https://api.github.com/users/jayhesselberth/following{/other_user}","gists_url":"https://api.github.com/users/jayhesselberth/gists{/gist_id}","starred_url":"https://api.github.com/users/jayhesselberth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayhesselberth/subscriptions","organizations_url":"https://api.github.com/users/jayhesselberth/orgs","repos_url":"https://api.github.com/users/jayhesselberth/repos","events_url":"https://api.github.com/users/jayhesselberth/events{/privacy}","received_events_url":"https://api.github.com/users/jayhesselberth/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T13:12:35Z","updated_at":"2016-12-20T13:12:35Z","body":"This works if you call `collect()` on the results prior to the `bed_intersect()` call. "}}
{"actor":{"display_login":"jayhesselberth"}}