parse header for T1 T2 sequence