Constructing gene regulatory networks