Skip to content

Scripts to create and update RegIN files used by CyTargetLinker from tab files

License

Notifications You must be signed in to change notification settings

CyTargetLinker/linksetCreator

Repository files navigation

Linkset-Creator

Scripts to create and update Linkset network files used by CyTargetLinker

=============

This program allows you to create a Linkset network file that can be used with CyTargetLinker from a tab-delimited file containing attributes for the source and target node as well as attributes for the edges.

=============

How to run the script with your own tab-delimited text file?

  1. Download the latest release from https://github.com/CyTargetLinker/linksetCreator/releases. Download the jar file (e.g. linkset-creator-v2.0.jar)
  2. Create a config file like the template here: https://github.com/CyTargetLinker/linksetCreator/blob/master/template.config. You can check out an example file for the miRTarBase database here: https://github.com/CyTargetLinker/linksetCreator/blob/master/mirtarbase_hsa.config.
  • name = database name (required)
  • organism = species (optional)
  • version = database version (optional)
  • source_columns = list of column numbers (starting with 0!) that are associated with the source nodes (separated with ",")
  • target_columns = list of column numbers (starting with 0!) that are associated with the target nodes (separated with ",")
  • edge_columns = list of column numbers (starting with 0!) that are associated with the edges (separated with ",")
  • interaction_type = which kind of interaction does the file contain
  • source_id_column = column that contains the identifier for source nodes (required)
  • source_type = (gene, transcriptionFactor, drug, miRNA -> predefined) but you can also use others (required)
  • source_bridgedb = path to the bridgedb file that should be used for the source nodes (optional)
  • source_syscode_in = bridgedb system code for the source node identifiers (optional but required if bridgedb is used)
  • source_syscode_out = list of bridgedb system codes that should be supported (optional but required if bridgedb is used) (separated with ",")
  • source_label_column = column number (starting with 0!) which contains the nodel label for source nodes (required)
  • target_id_column = column that contains the identifier for target nodes (required)
  • target_type = (gene, transcriptionFactor, drug, miRNA -> predefined) but you can also use others (required)
  • target_bridgedb = path to the bridgedb file that should be used for the target nodes (optional)
  • target_syscode_in = bridgedb system code for the target node identifiers (optional but required if bridgedb is used)
  • target_syscode_out = list of bridgedb system codes that should be supported (optional but required if bridgedb is used) (separated with ",")
  • target_label_column = column number (starting with 0!) which contains the nodel label for target nodes (required)
  1. Run the converter file with the input file (tab delimited text file containing the interaction data), the config file (as described in point 2) and an output file (e.g. output.xgmml).
  • java -jar -Dfile.encoding=UTF-8 linkset-creator-vx.x.jar -i input.txt -o output.xgmml -c file.config

About

Scripts to create and update RegIN files used by CyTargetLinker from tab files

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages