How much oxygen is present?
The order of treatment would be
O2 oxidation - using a catalyst
CO2 removal - amine unit
dehydration - TEG unit or molecular sieve
refrigeration 1 - removes heavier hydrocarbons
refrigeration 2 and distillation - cold enough to condense all but the nitrogen
This...