Giter Site home page Giter Site logo

escher_map_tools's Introduction

escher_map_merger

Little script that merges two Escher (https://github.com/zakandrewking/escher) maps into one file.

The code is not pretty and the commenting is poor but the script works. Define the file names of two maps at the beginning of the script and then run in.

#######
## Define the file names!
#######
template_map = 'map1.json'
new_map = 'map2.json'

Creates merged_map.json file as a result.

Note that the gene names (gene_reaction_rules) in the resulting map are from the original files. So if you want to visualise expression data on the merged map then gene_reaction_rules must be changed before visualising the data.

escher_gene_name_converter

Changes the gene names in Escher maps. Define the file names of an Escher map and reaction table at the beginning of the script and then run in.

#########################
# Define the filenames! #
#########################
# Escher map
template_map='map.json'

# Reaction table (ModelSEED, Patric)
new_reaction_table='data.rxntbl'

Reaction table (.rxntbl) file is as the one from ModelSEED.

ID        |Name                      |Equation                               |Definition                      |Genes
rxn00816  |Lactose galactohydrolase  |cpd00001+cpd00208<=>cpd00027+cpd00108  |H2O+LACT<=>D-Glucose+Galactose  |(fig|349741.147.peg.1993)

Creates map_with_new_genes.json file as a result.

escher_map_tools's People

Contributors

reimopriidik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.