atuo convert str to integer
get seqeuence from spectrum while error exits