reconstured get_seq.py