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

Unexpected error at end of run; not reported in log file #49

Closed
ka-block opened this issue Mar 12, 2021 · 3 comments
Closed

Unexpected error at end of run; not reported in log file #49

ka-block opened this issue Mar 12, 2021 · 3 comments

Comments

@ka-block
Copy link

I ran the inStrain profile command resulting in this error (screenshot), which is not reported in the log file and the output is as expected.

The exact command I used:
inStrain profile MoCom-vs-gtdb.sam gtdb.fasta -o MoCom -p 10 -g gtdb_genes/gtdb.gene.fna -s scaf2bin.tsv --database_mode

What could cause this error?
Can I still use the output?

Screenshot 2021-03-11 at 08 08 36

@MrOlm
Copy link
Owner

MrOlm commented Mar 12, 2021

Hello,

This error happened while inStrain was creating the runtime report, a text document that summarizes runtime efficiency and how long certain steps took to run. InStrain creates this report after closing the log, so any errors aren't saved in the log.

You can definitely still use the output. If you're comfortable sharing your log file (logger.log) I'd be happy to see what's causing the bug and fix it. Feel free to email it to me if you'd prefer as well.

Best,
Matt

@ka-block
Copy link
Author

ka-block commented Mar 15, 2021 via email

@MrOlm
Copy link
Owner

MrOlm commented Mar 26, 2021

Thank you for sending over the log. I looked into this problem, and it results from the fact that some of your sequences have semi-colons in the header names (;). This interferes with the way the logs are parsed.

Fixing this issue turned out to be pretty complicated, so I decided not to pursue it. The log file made at the end is really only necessary for troubleshooting runtimes anyways.

If you really do want this log file for some reason, replacing the semi-colons with some other character in your fasta headers will do the trick.

Best,
Matt

@MrOlm MrOlm closed this as completed Mar 26, 2021
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