Code Monkey home page Code Monkey logo

cobrakbase's Introduction

cobrakbase

KBase Interface for COBRApy

cobrakbase's People

Contributors

fxe avatar cshenry avatar samseaver avatar

Stargazers

Peter St. John avatar Nikolaus Sonnenschein avatar

Watchers

Moritz E. Beber avatar James Cloos avatar  avatar

cobrakbase's Issues

Add fva_sol and essential_genes params to KBaseFBABuilder.fromCobra

fva_sol is the object returned by cobra.flux_analysis import flux_variability_analysis

essential_genes is a set containing the id's of the essential genes.

Ones essential genes is added to the builder object. A simple function could be added:

def gene_essential(self, gene_id):
    return gene_id in self.essential_genes

kbase token

Hi! I know its probably not the right place to ask this, but where i can get a kbase toke api?
Thanks!

import error

I install this package on python 3.7.0 with pip install cobrakbase.
But when I import it import cobrakbase, an error happend.

c:\Users\vickenlee\AppData\Local\Programs\Python\Python37\lib\site-packages\cobrakbase\Workspace\WorkspaceClient.py in
10 # the following is a hack to get the baseclient to import whether we're in a
11 # package or not. This makes pep8 unhappy hence the annotations.
---> 12 from cobrakbase.Workspace.baseclient import BaseClient as _BaseClient
13 #try:
14 # # baseclient and this client are in a package
...
--> 678 raise KeyError(key) from None
679 return self.decodevalue(value)
680

KeyError: 'HOME'

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.