Hi everyone,
I am still a beginner in R. I would like some help in terms of changing the header files of my DNA sequences all at once. I have a fastsa file with multiple DNA (COI ) sequences that I downloaded from the NCBI repository. I now want to only keep the seqeunce ID , Genus and Species name only as header files for all sequences, i.e
ID GENUS SPECIES
ATGCTGTACGTACCCAT
for all my sequnces.
Is this possible? using packages like stringr and the str_ function. If so please help would really appreciate it.