Thanks for this answer, very clear.
I am getting fasta headers like >_AA, >_BB. The bit from the CSV is not there.
Could you explain what the sed and regex bits are doing. Sed is replacing commas with tabs in the csv, is this because seqkit doesn't handle the commas? Also what is the _ doing in the pattern bit?
Do the fasta files have linebreaks in seqs? If not, then perhaps e.g.
Thanks, no they don't.
can you explain the commands, it would be so helpful to me
man join,man sed,man sort,man pasteYou can try them out yourself. e.g.
sed 's/,/\t/' file.csvyou will see that it replaces the first commas with tabs,paste - - <file.faetc. you can see yourself..