bxlab / bx-python

Tools for manipulating biological data, particularly multiple sequence alignments
MIT License
145 stars 53 forks source link

python3.5 - TwoBitFile chromosome name is byte string #31

Closed ma-tongji closed 2 years ago

ma-tongji commented 6 years ago

https://github.com/bxlab/bx-python/blob/325f495f3d6273f225acd3097216bbbfe462facf/lib/bx/seq/twobit.py#L76

It seems for python3 ,this function "read_p_string" returns a byte string which is better to decode to str #