I have 1200 fasta file which are named x*. Does anybody know how to change the name of the file so that the new name is the first name of the file itself?
Example
xcv.txt which has written:
>contig1
CGGGTCCC
I want the xcv file to be renamed as contig1
and so on for the 1200 fasta files...
Thanks
Example
xcv.txt which has written:
>contig1
CGGGTCCC
I want the xcv file to be renamed as contig1
and so on for the 1200 fasta files...
Thanks
Comment