Iterative run of TimeXNet from command line

TimeXNet can be run iteratively through a range of gamma1 and gamma2 values to identify the combination of values that predict in an optimal subnetwork with the largest number of starting genes and the fewest number of low confidence edges.

Users should note that this option takes a long time to run depending on how many combinations of gamma1 and gamma2 are possible. The program can be executed as follows:

java –classpath [full installation directory]/timexnet.jar timexnet.NetIterate [input network] [initial gene list] [intermediate gene list] [late gene list] [gamma_min] [gamma_max] [gamma_int] [output directory] [glpsol location]

It is necessary to specify the fully qualified path where the jar file is installed in order to run TimeXNet. "glpsol location" is an optional parameter.

Input parameters

The input parameters must be given in the specified order.

  1. Input network: A list of interactions with their directionality and their reliability score in the format:
  2. "Molecule1[TAB]Molecule2[TAB]Direction[TAB]Reliability"

    The molecule name should be the same as in the gene lists.


  3. Initial gene list: A list of the genes of interest showing their greatest change in expression in the early hours after stimulation along with their scores in the format:
  4. "Molecule[TAB]Score"


  5. Intermediate gene list: A list of the genes of interest showing their greatest change in expression in the intermediate hours after stimulation along with their scores in the format specified above.
  6. Late gene list: A list of the genes of interest showing their greatest change in expression in the late hours after stimulation along with their scores in the format specified above.
  7. Gamma_min: The minimum value for gamma1 and gamma2. This should be a real positive value.
  8. Gamma_max: The maximum value for gamma1 and gamma2. This should be a real positive value.
  9. Gamma_int: A real positive value used as an interval to increment gamma1 and gamma2 from gamma_min to gamma_max. For example, if gamma_min is 0 and gamma_max is 2, with gamma_int = 0.5, then network predictions will be performed for all combinations of gamma1 and gamma2 for the values 0, 0.5, 1, 1.5 and 2.
  10. Output directory: Fully qualified path of the location where the output files should be stored.
  11. GLPSOL location: The fully qualified path to the GNU executable GLPSOL (including the name of the executable) used to solved the optimization problem eg. "c:\\Program Files (x86)\\GnuWin32\\bin\\glpsol.exe". This is an optional parameter and is used only if TimeXNet is not able to find a GLPK installation.

Output files

For each combination of gamma1 and gamma2 values, TimeXNet creates a folder, net_g1_g2 (g1, g2 indicate the values of gamma1 and gamma2 used), to store the following output files obtained for each run:

  1. lp_form_g1-g2: The problem formulation in the format required by glpsol
  2. lp_sol_g1-g2: The output file generated by glpsol that contains the solution to the optimization problem
  3. lp_sol_g1-g2.edges: The list of interactions with their flows parsed from the glpsol output file. The format is as follows:
  4. "Molecule1~Molecule2[TAB]Type[TAB]Flow"

    Here "Type" can be one of "pp" or "pd" indicating a bi-directional or uni-directional interaction, respectively. This file is in a tab-delimited format and can be directly uploaded to Cytoscape to visualize the network.

  5. lp_sol_g1-g2.nodes: The list of nodes in the network in (3) with their associated flows, calculated by adding all the incoming flows per node. The format of this file is as follows:
  6. "Molecule[TAB]Type[TAB]Flow"

    In this case, Type can be one of SRC (initial genes), INT (intermediate genes), SNK2 (late genes) or NOD (predicted gene showing no change in expression). This file is also in a tab-delimited format and can be uploaded into Cytoscape.

  7. log_g1-g2: Log file showing the detailed progress of the TimeXNet run including the duplicate edges identified and ignored, edges and nodes with erroneous weights and scores, and the detailed output of the glpsol program.
  8. edge_lst_g1-g2: List of edges used to run the final cost flow optimization problem. This file represents the final input network.
  9. Additional filesTimeXNet also generates node and egde attribute files along with a .sif file representing the network that can by uploaded into Cytoscape.

TimeXNet also creates a summary file "net_stats" in the main output folder with the details of each run given in the following columns: