Entering edit mode
15 months ago
chimerajit
•
0
I used seqkit to replace my multifasta files as below
"seqkit replace -p .+ -r "scaffold_{nr}" input.fa -o rename.fa
"
This is giving me output file like this below
>scaffold_1
ATCGTCGATACGCGA
>scaffold_2
GCGTACGATAC
>scaffolt_3
ACTATCTACTTCA
etc...
how can I change the scaffold numbering 1 to 0001
Thanks all for your kind help.