in reply to Re^4: working with directories
in thread working with directories

There is probably a file in the directory that is not in the fasta format. Therefore, $header stays empty, and the contents of the file is appended to the empty header as the sequence.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ