-
Notifications
You must be signed in to change notification settings - Fork 12
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
SystemError: null argument to internal routine #221
Comments
Hi @kwonej0617, Just a quick question, Thanks, |
Actually what I shared above is wt_eventalign.txt and ko_eventalign.txt, not wt_eventalign.txt and ko_eventalign.txt. Here is eventalalign_collapse.tsv. As you mentioned, each line has a distinct position within a transcript.
This is eventalign_collapse.tsv.idx file.
Please let me know if you need more information. Thank you so much for your time! |
Hi @kwonej0617, Do you get the same "SystemError: null argument to internal routine" error if you try to run Nanocompore sampcomp outside of your script? I did a little digging into the error "SystemError: null argument to internal routine", and it appears that might be an internal python error and not an error specific to Nanocompore. How did you install python and nanocompore on your system? Thanks, |
@lmulroney Thank you for your response. |
I recommend checking your python installation in addition to your nanocompore installation. Logan |
@lmulroney
Because I got my first error in nanocompore eventalign_collapse process saying OSError: [Errno 5] Input/output error, , firstly I checked wt_eventalign.txt and ko_eventalign.txt which were generated from the previous step, nanopolish eventalign. However, I am not sure if there's any issue in the output. wt_eventalign.txt
ko_eventalign.txt.
The following is the output from wt/out_eventalign_collapse.tsv.
The following is the output from ko/out_eventalign_collapse.tsv.
Could you please give me advice to solve the error? Thank you so much for your help. |
Hi @kwonej0617, It looks like all of the I/O errors happened during a write command, and not a read command. First thing I would do is make sure you didn't run out of disc space... Based on the comments you're leaving on other rna modification detection tools, it seems like you might be processing the data a lot, and these files can get really big really fast. If it's not that, and you wrote the output of nanopolish eventalign to stdout during an HPC job, you might have written the job summary stats to the eventalign output. Write a parser script to make sure that every line is formatted as you expect. I'm assuming that what you posted is not the entire file, but just the first 5-30 lines. If it's not that, I'd recommend starting over from nanopolish index in an interactive job instead of a bash script. That way you can be sure and respond to errors more readily and explore the problems as they come up. Logan |
Hi, Thank you for developing a useful tool. I have run Nanocompore with my data but I got the following error.
The following is my script.
It seems that wt_eventalign.txt and ko_eventalign.txt files were successfully generated.
Reference file (.fa) and .bed look like the following.
Could you please help me fix this problem? Thank you so much.
The text was updated successfully, but these errors were encountered: