please provide every step in detail from alignment to constructing profiles in n