Entering edit mode
7.4 years ago
biomagician
▴
410
Hi,
I get an error when I build the index.
Installation:
git clone https://github.com/bioturing/hera.git output/software/hera
cd output/software/hera/
chmod +x build.sh
./build.sh
Building index:
./output/software/hera/build/hera_build --fasta output/genome/celegans/ref/seq/celegans.fa --gtf output/genome/celegans/ref/annotation/celegans.gtf --outdir output/genome/celegans/ref/index/hera/
Output:
Scan reference sequence ...
Scan gtf file...
Extract transcript sequence
Traceback (most recent call last):
File "./output/software/hera/build/hera_build", line 195, in <module>
write_index(total_byte, gene_info)
File "./output/software/hera/build/hera_build", line 129, in write_index
fi.write(chr)
TypeError: a bytes-like object is required, not 'str'
My default version of python is 3.
Can you please help me fix this error?
Thanks.
Best,
C.
Thank you for the bug report and sorry for the inconvenience. We have applied a patch to fix it, and now it should work with both versions of Python. Please get the updated version and it will resolve the problem.
Thank you! BioTuring Algorithm Team.