gymrek-lab/TRTools

Invalid syntax

bibb opened this issue · 4 comments

bibb commented

Hello,

I'm trying to run plinkSTR in my ubuntu system and I keep getting this problem:

File "/usr/local/lib/python3.6/dist-packages/strtools-1.0.0-py3.6.egg/plinkSTR/plinkSTR.py", line 48
print record.start, int(start), record.ID
^
SyntaxError: invalid syntax

I run dumpSTR and the other tools from STRtools perfectly fine.

Thanks

Bernabe

ps: Could you please provide an example dataset to see if the problem is with my data? I would appreciate that!.

bibb, I am having the same issue: Was this resolved? Thanks,

nmmsv commented

Hello,
Apologies for late response.
There are some test files in this directory. Can you please try running them to see if the problem resolves or not?
https://github.com/gymreklab/mendelian-repeats-pipeline/tree/master/examples/data

I resolved this by adding parentheses around the print function in plinkSTR.py, line 48

nmmsv commented

We've made some changes, and they should fix this issue (we had a python 3 compatibility problem).
Please let me know if you face any other issues.