trimming sequences

My file looks like this:

But I would like to 'trim' all sequences to the same lenght 32 characters, keeping intact all the identifier (>GHXCZCC01AJ8CJ)

Would it be possible to use awk to perform this task?

If the identifier won't get longer than 32 chars you could try this:

cut -c1-32 file
1 Like

The Id is never longer than 32.
Thank you very much!