Hi,
Having installed trim_galore and cutadapt, I get the following error running the software:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.3/bin/cutadapt", line 10, in <module>
cutadapt.main()
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 798, in main
(n, total_bp) = process_reads(reader, pe_reader, adapter_matcher, quality_trimmer, modifiers, readfilter, trimmed_outfile, untrimmed_outfile, pe_outfile, rest_writer, options.trim_primer)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 504, in process_reads
matches = adapter_matcher.find_match(read)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 428, in find_match
match = self._best_match(read)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 393, in _best_match
match = adapter.match(read)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/adapters.py", line 163, in match
self.max_error_rate, self.where, self.wildcard_flags)
File "calign.pyx", line 25, in cutadapt.calign.globalalign_locate (cutadapt/calign.c:795)
TypeError: expected bytes, str found
RUN STATISTICS FOR INPUT FILE: zr608_1_R1.fastq.gz
=============================================
0 sequences processed in total
Illegal division by zero at /Users/daveiles/perl/trim_galore_v0.3.3/trim_galore line 565.
I'd be pleased to hear from anyone who can suggest a solution
Having installed trim_galore and cutadapt, I get the following error running the software:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.3/bin/cutadapt", line 10, in <module>
cutadapt.main()
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 798, in main
(n, total_bp) = process_reads(reader, pe_reader, adapter_matcher, quality_trimmer, modifiers, readfilter, trimmed_outfile, untrimmed_outfile, pe_outfile, rest_writer, options.trim_primer)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 504, in process_reads
matches = adapter_matcher.find_match(read)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 428, in find_match
match = self._best_match(read)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/scripts/cutadapt.py", line 393, in _best_match
match = adapter.match(read)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/cutadapt/adapters.py", line 163, in match
self.max_error_rate, self.where, self.wildcard_flags)
File "calign.pyx", line 25, in cutadapt.calign.globalalign_locate (cutadapt/calign.c:795)
TypeError: expected bytes, str found
RUN STATISTICS FOR INPUT FILE: zr608_1_R1.fastq.gz
=============================================
0 sequences processed in total
Illegal division by zero at /Users/daveiles/perl/trim_galore_v0.3.3/trim_galore line 565.
I'd be pleased to hear from anyone who can suggest a solution
Comment