Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in pi_around_gene in caroline.r #1

Open
rachelss opened this issue Oct 15, 2015 · 1 comment
Open

error in pi_around_gene in caroline.r #1

rachelss opened this issue Oct 15, 2015 · 1 comment
Assignees

Comments

@rachelss
Copy link
Owner

when length(snp_ids) > 1000

Error in as.vector(x, "character") :
cannot coerce type 'externalptr' to vector of type 'character'

dwinter added a commit that referenced this issue Oct 16, 2015
`pi_around_gene` now fetches SNPs in batches of 500.
Previously this was 1000 (the upper limit enforced by ensembl),
but this lead to occasional "drop outs".
@dwinter
Copy link
Collaborator

dwinter commented Oct 16, 2015

The "chunk size" is now 500, which seems to work.

We could probably re-factor the function to have some sort of counter when it's making multiple requests, because it takes a while to fetch them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants