Skip to content

genNetwork

Maurice HT Ling edited this page May 31, 2020 · 1 revision

Synopsis: Read the AdvanceSyn model specification file(s) and generate a network / reaction visualization file.

Usage: python astools.py genNetwork [option]

where [option] can be

  • modelfile: Relative path(s) to the model specification file(s), separated by semi-colon.
  • outputfile: Relative path to the output file.
  • outfmt: Type of network visualizatio format to generate. Allowable options are 'SIF' (Simple Interaction Format). Default = 'SIF' (Simple Interaction Format).

For example:

python astools.py genNetwork \
    --outfmt=SIF \
    --modelfile=models/asm/glycolysis.modelspec;models/asm/ppp.modelspec \
    --outputfile=glycolysis_ppp.sif

Working example:

D:\Dropbox\MyProjects\astoolkit>python astools.py genNetwork --outfmt=SIF --modelfile=models/asm/glycolysis.modelspec;models/asm/ppp.modelspec --outputfile=glycolysis_ppp.sif
Input Model File(s) ...
ASM Model File 1: D:\Dropbox\MyProjects\astoolkit\models\asm\glycolysis.modelspec
ASM Model File 2: D:\Dropbox\MyProjects\astoolkit\models\asm\ppp.modelspec

Output File: D:\Dropbox\MyProjects\astoolkit\glycolysis_ppp.sif
Output Format: SIF
Clone this wiki locally