I am attempting to run a python script (not written by me) and keep receiving the error below (I have provided both the line of code I used and the resulting error). I am not super experienced with python so I’m wondering if its something simple that I’m missing or if there is a problem with the script that I need to address
python3 runancestry.py --freq hapmap3.8populations.hg18 --geno sample.genotypes --out example.ancestry
File "runancestry.py", line 78
call([ executable_dir_path + "/calculateGLL --allsites 1 -p " + `POOLSIZE` + " --bam " + bamfile + " --variants " + outfile +".forGLL" + " --mmq 30 > " + outfile + ".GLL" ],shell=True)
^
SyntaxError: invalid syntax
Any thoughts would be appreciated!
I was expecting no issue since this is a script that was provided to me, not one I had written, and was not expecting this syntax error. I’m just wondering if there are any general solutions to this kind of SyntaxError.
user25178426 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.