Hi everyone
I have almost more than 1000 MAGS with the following file names.
GCF_029211165.1_ASM2921116v1_genomic.fa
I want them to make it tidy before my analysis, something like this GCF_029211165.
Could someone please share a script for doing this on a bunch of files?
Many thanks Venkat
Thank you all for the suggestions