I have a FASTA file of the form
ABCNA929-08|Lymantria_dispar_dispar|COI-5P|MF131764
and I want to extract everything before the first "|" delimiter, i.e., ABCNA929-08
This is easiest in Bash, but I'm not a frequent user, so I am unsure of the solution.