lh3 / ropebwt2

Incremental construction of FM-index for DNA sequences
MIT License
68 stars 5 forks source link

Remove the empty string in the end of the output file #7

Closed akp6031 closed 1 year ago

akp6031 commented 1 year ago

Hi, if the repo is still being managed, I would humbly like to ask for removing the new line(\n) attached in the end of bwt output files.

Due to the glitch, succinct strings (e.g. wavelet tree) generated from the file have the empty symbol in the front of the rank, distorting the whole context.

Thank you!

lh3 commented 1 year ago

This is intended. Please remove the trailing new line by yourself with something like tr -d '\n'