Closed 000generic closed 10 months ago
option 1: Confirm that you are running the script with Python 2.x and not Python 3.x option 2: Update the Script: If available, check for an updated version of the FilterUncorrectabledPEfastq.py script that is compatible with Python 3.
option 3: Modify the Script (Temporary Solution): If you cannot find a Python 3-compatible version of the script, you can try modifying the script to work with Python 3 by removing the decode calls. Here's how you can modify the relevant line (line 87 in your error message): head1, seq1, placeholder1, qual1 = [i.strip() for i in entry]
This change removes the unnecessary decode call and should work in Python 3.
Thank you Lilneo786!
Switching to Python2.7 did the trick - I'll look around for a Python3 version / would be interesting if I can update the script to be Python3 compatible.
Thanks again!
I had recently refactored the scripts to work in python3 so I will need to look into what is going on
I had recently refactored the scripts to work in python3 so I will need to look into what is going on
I'm sure you don't need any assistance but if you do let me know :)
Hi!
I'm working on a pipeline for transcriptome assembly and would like to include some of your TranscriptomeAssemblyTools in processing reads prior to Trinity. After running Rcorrector I believe the correct Utility tools would be
FilterUncorrectabledPEfastq.py
but I'm getting an error around the use of decode in the python script. Please see below for details. I'm wondering if I need to process the Rcorrector fq output somehow prior to running FilterUncorrectabledPEfastq.py - or something like this.
Any ideas or guidance would be greatly appreciated!
Thank you :) Eric