Rearranges snpcdf variable creation