awk '/^>/{print ">chromosome" ++i; next}{print}' < file.fasta 
/^>/ what you want to replace
">chromosome" what you want put in
++i count from 1 up
file.fasta your file
number it from 1
awk '/>/ {print ">" ++i $0}!/>/' test.fasta > test4.fasta