One way is to use `awk`:
awk -v moleculesNum=7 '
/^@
if((++num)%moleculesNum==1){
close(outfile); outfile="file" (++Output)
}
}
{ print >outfile }' infile
this splits the original file into multiple files each having maximum 7 number of MOLECULEs (adjustable in `moleculesNum=7` parameter)