Filtlong
Filtlong copied to clipboard
read_info_histogram.sh not running on my data
I try to run read_info_histogram.sh, here is my command and output, (base) campus-025-033:agro_3rd dklabuser$ ./read_info_histogram.sh BC05.fastq
READ SET SUMMARY
number of reads: 0 number of bases: 0 ./read_info_histogram.sh: line 28: / 2: syntax error: operand expected (error token is "/ 2")
READ LENGTHS
Traceback (most recent call last):
File "/Users/dklabuser/limin/agro_3rd/histogram.py", line 325, in
MEAN QUALITIES
Traceback (most recent call last):
File "/Users/dklabuser/limin/agro_3rd/histogram.py", line 325, in
WINDOW QUALITIES
Traceback (most recent call last):
File "/Users/dklabuser/limin/agro_3rd/histogram.py", line 325, in
(base) campus-025-033:agro_3rd dklabuser$ ./read_info_histogram.sh BC05.fastq usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]] [-e pattern] [-f file] [--binary-files=value] [--color=when] [--context[=num]] [--directories=action] [--label] [--line-buffered] [--null] [pattern] [file ...]
READ SET SUMMARY
number of reads: 0 number of bases: 0 ./read_info_histogram.sh: line 28: / 2: syntax error: operand expected (error token is "/ 2")
Can anyone help me with this problem. your help is greatly appreciated.
I'm having the same issue... Was there a solution identified?
Oh I figured it out. Needs the histogram.py script - didn't see that one. And the paths need to be matched with the *.sh script.
Hi @schmittel, I'm having the same issue but didn't quite understand your solution. What do you mean by 'needs the histogram.py script' and 'paths need to be matched'? I see the histogram script in the same folder as the read_info_histogram.sh, but don't know what is missing for the latter script to work. Thanks
I'm also having this issue. @tauanajc did you figure it out?