-
Notifications
You must be signed in to change notification settings - Fork 22
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
ValueError: invalid literal for int() with base 10: '.' #142
Comments
Hello, seems like the bed file is corrupted. Pls try something like: with open("YOUR_BED_FILE", "r") as f:
line_number = 1
for line in f:
fields = line.split("\t")
if len(fields) >= 6:
field_6 = fields[5]
try:
int(field_6)
except ValueError:
print(f"Line {line_number}: {line.strip()}")
line_number += 1 to identify which line exactly is corrupted |
Thank you very much for the reply at yesterday. At the
Therefore, at the following step, it reported an
From the last error info, it showed me the point was at the chain results file Thank you very much for provide such a tiny help for me!!!!! |
When I run toga.py, it showed up such error info:
Is there anything wrong with my bed file or the python version?
Thanks a lot!
The text was updated successfully, but these errors were encountered: