Closed kfuku52 closed 2 years ago
The above fix didn't work in my Singularity env.
Traceback (most recent call last):
File "/opt/conda/envs/biotools/bin/amalgkit", line 378, in <module>
args.handler(args)
File "/opt/conda/envs/biotools/bin/amalgkit", line 89, in command_integrate
integrate_main(args)
File "/opt/conda/envs/biotools/lib/python3.9/site-packages/amalgkit/integrate.py", line 129, in integrate_main
get_fastq_stats(args)
File "/opt/conda/envs/biotools/lib/python3.9/site-packages/amalgkit/integrate.py", line 67, in get_fastq_stats
total_spots = int(subprocess.check_output(total_spots_command, shell=True))
ValueError: invalid literal for int() with base 10: b'$[93204912/4]\n'
all fixed now
@Hego-CCTB
bc
is not available by default for some Linux distributes, so we should avoid it as much as possible. This is doable by replacing$(NUM)/4
with$[$(NUM)/4]
. I'll apply the change later.