Using Awk:
awk '/^>/&&NR;>1{print "";}{printf "%s",/^>/ ? $0" " : $0}' file
>accession1 ATGGCCCATGGGATCCTAGC
>accession2 GATATCCATGAAACGGCTTA