using the interleave-fastqgz-MITOBIM.py
Hi,
I want to run the MITOBIM for my samples, but at first I should interleave my pair end fastq files.
I download this python script, interleave-fastqgz-MITOBIM.py, and when I run it, I receive this error message:
File "interleave-fastqgz-MITOBIM.py", line 37 print re.sub(r" 1:N.*", "/1",line.strip()) SyntaxError: invalid syntax
Would you please help me to solve this error and run it
The best Niloo
Hi,
I had the same error when using python v.3.7. Solved by using python v.2.
I think the error comes from python v.3 treating print differently to v.2 - you'd need to write it like print(re.sub(r" 1:N.*", "/1",line.strip())) - I did try this initially but ran into further errors - was quicker to just use the older python version!