In bash (4.3.46(1)) I have some multi-line so called fasta records where each record is initiated by on line with >name and the following lines DNA sequence ([AGCTNacgtn]),
You can use awk with custom RS:
awk
RS
awk -v n=2 -v RS='(^|\n)>' 'NR==n+1{print ">" $0}' file >chr2 TTGNACACCC TGGGGGAGTA