-
Notifications
You must be signed in to change notification settings - Fork 34
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: Exception: GTC file is incomplete #27
Comments
This problem is caused by the server default encoding. The server's default encoding must be 'en_utf-8' for it to work. I had this problem before too, when I modified the default encoding, it worked |
The positioning of the specific problem: BeadArrayUtility.py - read_string() - "result = result.decode("utf-8")" |
@tengfeixiaozhu This does not appear to be the same issue as #20. Unless you're referring to the comment from @mikaelamo? I would try @wuzhaoqi1015 solution and if that works, I'd be happy to review a PR to fix it. |
@wuzhaoqi1015 I modified the default encoding to "en_utf-8", But it's not worked and produce 'Exception: GTC file is incmoplete'. Do you know another solution? @jjzieve Is it worked? |
@hbhwangg this is my locale info: |
Another way to solve is edit the encoding in the code directly, BeadArrayUtility.py - read_string() - "result = result.decode("utf-8")" and, change ‘utf-8’ to your server locale |
@hbhwangg Did you modify the encoding before the GTC creation (in iaap) or just for the parsing done by this script? My hunch is the scan date or some other field in the GTC is non-ASCII and BeadArrayFiles is failing to get the correct fields because the offset is wrong. GTC is not unicode compatible, unfortunately. |
I used iaap-cli software convert idat file to gtc file.
When use the gtc file produced by iaap-cli, the beadarrayfile package would produce the error Exception: GTC file is incomplete.
The same issue with #20
Are the two software incompatible?
Looking forward to your reply!
The text was updated successfully, but these errors were encountered: