in reply to Convert numbers from a binary file to texts

What did you expect? The numbers seem to indicate that indeed you are reading an SFF file, as the magic numbers at the start match the characters .sff. Maybe you can show us the output you expect instead of the numeric values of each byte.

Replies are listed 'Best First'.
Re^2: Convert numbers from a binary file to texts
by bestfa (Novice) on Apr 08, 2016 at 07:06 UTC

    How can I matching characters of the numbers? Well. I just want to learn a little bit more. Thanks. Usually, sff files are divided into three text files (fa, qual, flow). So I cannot simply answer about the output. But usually fa files look like

    >sequence id ATTCGATGGC qual file >sequence id 21 30 26 27 33 flow file 400 sequence id 235 1.00 0.11 2.01 0.05

      Maybe the best start is to read the documentation on the SFF format which I linked above.