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

Running into C stack issues with readGenBank function #16

Open
Lneves23 opened this issue Nov 9, 2021 · 0 comments
Open

Running into C stack issues with readGenBank function #16

Lneves23 opened this issue Nov 9, 2021 · 0 comments

Comments

@Lneves23
Copy link

Lneves23 commented Nov 9, 2021

Hello! Love the GenBank parser, but I am struggling to read in larger files.

In my hands, readGenBank works perfectly with smaller GenBank files (<500 KB), but gives me a C stack usage error with anything larger.

In the example below chrI is 442Kb and chrIII is 638Kb.

chrI <- readGenBank("/Users/lauren.neves/Desktop/chrI.gb")
Translation product seems to be missing for 1 of 101 CDS annotations. Setting to ''
No exons read from genbank file. Assuming sections of CDS are full exons
No transcript features (mRNA) found, using spans of CDSs

chrIII <- readGenBank("/Users/lauren.neves/Desktop/chrIII.gb")
Error: C stack usage 7970208 is too close to the limit

I've tried other files as well - larger files always throw this error. Small files work just fine. I am currently running genbankr version 1.20.0 on R version 4.1.2.

Am I doing something wrong and/or do the larger files need some pre-treatment?

Thanks!

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

1 participant