Giter VIP home page Giter VIP logo

c4_panel_server's Introduction

A little tool for viewing relevant C4 expression for an orthogroup

To use

First make sure the relevant packages are installed

There is a conda env file in this directory, use this to load up the environment:

conda create --name your_env_name --file conda_env.txt conda activate your_env_name

If you use a different package manager, then just have a look at the top of the python script to see what you need. This should be okay, the packages are pretty standard ones.

Next identify the orthogroup of interest

For a given gene of interest, identify the orthogroup it belongs to using orthogroup_targetP_files

grep -r 'AT5G19140' data/orthogroup_sequences/.

Add the orthogroups you're interested in to a text file

If there is only one orthogroup of interest, ignore this step:

Make a text file with each orthogroup on a new line. No headings and put it in the same folder as the python script

An example list is given - orthogroup_list_example.txt

Run the script! Add the orthogroup list file you made after calling the script

For a single orthogroup:

python Panel_figure_C4_gene_expression.py OG00XXXXX

Or for multiple orthogroups:

python Panel_figure_C4_gene_expression.py your_list_of_orthogroups.txt

Optional: Specify a minTPM, this may be useful for very large orthogroups

Run the script, same as above but specify a minTPM for genes to be included in the plot and legend. The deafault is 0 (i.e. include all data points)

e.g. to set a minTPM of 100:

python Panel_figure_C4_gene_expression.py OG00XXXXX 100

Figures

The figures will save in the figures directory

If something gets changed and breaks, just let me know and I can recover a working version from github

c4_panel_server's People

Contributors

ronacostello avatar

Watchers

James Cloos avatar  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.