mdshw5 / pyfaidx

Efficient pythonic random access to fasta subsequences
https://pypi.python.org/pypi/pyfaidx
Other
459 stars 75 forks source link

Fix TypeError with faidx --transform nucleotide #172

Closed jvierstra closed 3 years ago

jvierstra commented 3 years ago

Typecast "v" to a str when printing out the "other" nucleotide counts. Code currently throws an error: "TypeError: sequence item 1: expected str instance, int found."

mdshw5 commented 3 years ago

Thanks for submitting this @jvierstra. Your change looks good. I'll merge and release shortly.