NetCrafter Tutorial

1. Launching NetCrafter 1.1 Installing NetCrafter on Windows and MacOS
2. Main Functions of NetCrafter 2.1 Running NetCrafter
2.2 Loading Data
2.3 Selecting Data
2.4 Initial Settings (Gene Network)
2.5 Visualizing Network
2.6 Saving Data
3. Customizing Network 3.1 Control Panel
3.2 Cluster Selection
4. View Cluster Details 4.1 Detailed Cluster List
4.2 Visualize Ontology-Associated Genes (Gene Network)
4.3 Representative ontology terms
5. Optimal Subnet 5.1 Optimal Subnet
6. Notice for NetCrafter Use 6.1 Input File Format

1. Launching NetCrafter

1.1 Installing NetCrafter on Windows and MacOS

  • To launch NetCrafter:
  •    1)  Download the package from NetCrafter website.
  •    2)  Before installing the new version, make sure to delete the existing folder and shortcut.
  •    

2. Main Functions of NetCrafter

This program automatically generates networks based on Tanimoto coefficients using Gene, GO, and HPO inputs.
The results can be saved as PDF, JPG, or PNG files.

2.1 Running NetCrafter

  • When NetCrafter starts, the main window appears as shown below (screenshot captured on Windows):

2.2 Loading Data

  • Demo files are included when you download NetCrafter from the main page.
  •    1)  Select the input node data type: Gene, GOBP or HPO.
  •    2)  Click the [Import] button.
  •    3)  Select your input file (CSV or TXT format).
  • When the data file is opened successfully, the data matrix is displayed in the main panel:

2.3 Selecting Data

  • You can deselect genes or functions that you don't want to display in the network. Here’s how:
  •    1)  You can sort the data by clicking the field names.
  •    2)  If there are only a few items you want to exclude, you can remove them manually.
          • Simply click the checkbox next to each gene or function to remove it from the network.
  •    3)  For a larger number of items, use a filter or batch selection for quicker management:
          • Hold down the Shift or Ctrl key (Shift or Command on macOS) while clicking rows to select multiple at once — selected rows will be highlighted in blue.
          • Click the [Selected] button to toggle the checkboxes in the leftmost column for those rows.
  •    4)  The total number of selected items is automatically updated and displayed at the bottom of the window.

2.4 Initial Settings (Gene Network)

  • You can customize two main settings for the Gene Network:
  •    1)  Tanimoto calculation sources: [ GOBP / HPO / Hallmark Gene Sets / Oncogenic Signatures ]
  •    2)  Node size options: [ Sum of Tw / Sum of -logP / Node data ]
          • Sum of Tw: Scales nodes by the total Tw value of each associated gene.
          • Sum of -logP: Scales nodes by the combined -logP values of each associated gene.
          • Node data: Scales nodes using values provided directly in your input file.
  •    3)  Consensus calculation:
          • When the data includes two or more node shapes (i.e., from multiple experiments or gene sets), p-values are automatically combined across gene sets using the chi-square method.

2.5 Visualizing the Network

  • Once your data is loaded, you can generate and explore the network:
  •    1)  Click the [Network] button to open a new window displaying the network.
  •    2)  Hover over a node to view its name.
  •    3)  The total number of nodes is shown in the upper-right corner.
  •    4)  Use the control panel (below the node count) to adjust the network display.
            Details on these controls are provided in Chapters 3 and 4.
  •    5)  At the bottom of the window, the functions representing each group are displayed.

2.6 Saving Data

  •    1)  Click the [Save Plot] button at the bottom of the control panel on the right.
  •         You can save your plot in the following formats:
  • Format Description
    PDF Portable Document Format — best for sharing and printing
    JPG Image file with high-quality resolution
    PNG Image file with lossless compression
  •    2)  Enter a name for the file and click the Save button.

3. Customizing the Network

This application provides four options for customizing the visualization. You can optimize the network by adjusting these options in the panel on the right—no graphic design skills required.

In this chapter, each option will be explained step by step, following the layout from top to bottom.

3.1 Control Panel

  • 1) Network connection threshold
  • Adjust the Tanimoto cutoff using the scaling slider. Only nodes connected by edges with a Tanimoto score above the cutoff will be displayed in the network.
    After setting the cutoff value, click the [NETWORK] button to regenerate the network. The nodes and edges will be redistributed based on the new input.
  • 2) Node options
  •    • Node labeling — Display node labels by selecting the checkbox.
       • Node size — Adjust the scale to increase or decrease the size of nodes.
  • Once the settings are adjusted, click the [UPDATE] button to apply your changes.
  • 3) Edge options
  •    • Edge thickness — Adjust the scale to make edges thicker or thinner.
       • Edge length — Increase the scale to spread clusters further apart in the network.
  • After modifying the settings, click the [UPDATE] button to confirm the changes.

3.2 Cluster Selection

  • The NetCrafter software automatically calculates similarity using Tanimoto coefficients to generate clusters.
  • The final option for customizing the network is cluster selection. Representative functions of the groups—identified by their connected nodes—are displayed in the bottom section of the interface.
  •    1)  Deselect the clusters you do not want to display in the network.
  •    2)  Click the [Display Selected Cluster] button to apply your changes.
  • The network will update to reflect your selection.

4. View Cluster Details

4.1 Detailed Cluster List

  • For both gene and ontology networks, you can view a list of ontologies contained within each cluster.
  • Click the highlighted blue text in the cluster section to open detailed cluster information.
  • The image below shows an example ontology list:

4.2 Visualize Ontology-Associated Genes (Gene Network)

  • After generating a gene network, you can visualize the genes associated with a specific ontology to see their positions within the network.
  •    1)  Select the cluster you want to explore, then open its ontology list window as described in Section 4.1.
  •    2)  Click the ontology row to view where its genes are located in the network.
  •    3)  Click the [Highlight genes] button to generate an image.
  • A new window will appear, as shown below:

4.3 Representative Ontology Terms

  • The Representative ontology terms feature allows you to filter ontology terms and shows genes that have the terms that are selected as representative ontology terms within the network.
  •    1)  You can enter cutoff values for each parameter:
    •       • Term enrichment, –log(p-val) — Default cutoff is 2.
    •       • Edge contribution (total Tw) — Default cutoff is 1.
    •       • Shared genes (T) — Default cutoff is 0.3.
  •    2)  Click the [Representative ontology terms] button to draw the gene network with the cutoff settings applied.
  •    3)  Toggle colors for each representative term to visually distinguish them in the network.
  •    4)  Nodes (genes) that belong to two or more representative ontology terms will be colored gray. The more terms a node has, the darker the gray shade becomes.

5. Optimal Subnet

5.1 Criteria of Optimal Subnet

The criteria for an optimal subnet specify the conditions that representative terms and the network must meet.

  • 1) The subnet must contain at least two representative terms.
  • 2) Representative terms must pass cutoff values for each parameter:
    • • Term enrichment, –log(p-val) > 2
    • • Edge contribution (total Tw) > 1
    • • Shared genes (T) < 0.3
  • 3) The proportion of unlabeled (empty) nodes should be minimized (ideally < 20%).
  • 4) Connection (edge) thresholds are automatically tuned to balance between term coverage and reducing empty nodes.

5.2 Viewing Parameters

  • You can check the parameters used to generate the optimal subnet directly in the terminal output.
  • The printed parameters are connection threshold, enrichment cutoff, edge contribution cutoff, shared gene threshold, and term-labeled node ratio.

6. Notice for Using NetCrafter

Please review the following important notes when using NetCrafter.

6.1 Input File Format

  • NetCrafter only recognizes input files with the .csv or .txt extension.
  • For GO or HPO input data, the file should contain only the first column.
  • For gene input data, the first column must contain the gene symbol.
  • If you want to include data for node size, you must also provide the corresponding node shape index.

Go to Top Go to top

Last update: 2025-09-09