Giter Site home page Giter Site logo

sugam2001 / deseq2-python-example Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.14 MB

This repository contains an example implementation of DESeq2 in Python.

License: MIT License

Python 100.00%
bioinformatics bioinformatics-analysis bioinformatics-scripts deseq2 deseq2-analysis geneexpression python rnaseq transcriptomics ranseqpipeline

deseq2-python-example's Introduction

DESeq2 Example in Python

This repository contains an example of using DESeq2 in Python for differential gene expression analysis.

Table of Contents

Introduction

DESeq2 is a widely used tool for differential gene expression (DGE) analysis in RNA-Seq data, and it is mainly implemented in R. However, you can use rpy2, a Python library that allows you to run R code. If you're interested in learning more about RNA-seq analysis, I highly recommend visiting RNA-seqlopedia. This comprehensive resource provides valuable insights into RNA-seq, covering everything from basic concepts to advanced techniques. It's an excellent starting point for anyone looking to deepen their understanding of RNA-seq analysis.

Installation

To run the DESeq2 example in Python, Ensure you have installed R on your system, and install the required packages. Follow these steps:

  1. Install required packages:

    pip install -r requirements.txt
  2. Install DESeq2:

    # Open R and run the following command to install DESeq2
    if (!requireNamespace("BiocManager", quietly = TRUE))
        install.packages("BiocManager")
    BiocManager::install("DESeq2")

Usage

To run the DESeq2 analysis, follow these steps:

  1. Prepare your count data: Ensure your count data is in a CSV file format. An example file is provided in the repository.

  2. Run the DESeq2 script:

    python run_deseq2.py 
  3. Analyze the results: The results will be saved in your provided path or directory. You can use the provided analyze_results.py script to generate plots and interpret results.

    python analyze_results.py 

Files

  • Data/filtered_gene_expression_counts.csv: Example count data for DESeq2 analysis.
  • Data/deseq2_results.csv: Example of the result.
  • Code/run_deseq2.py: Script to run DESeq2 analysis.
  • Code/analyze_results.py: Script to analyze DESeq2 results and generate plots.
  • requirements.txt: List of Python dependencies.
  • README.md: This file.

References

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request. For major changes, please open an issue to discuss what you would like to change.

Contact

Thanks for visiting this repository! If you have any questions or feedback, feel free to contact me at [[email protected]].

Acknowledgements

Thank you for visiting this repository. Your feedback and contributions are greatly appreciated. Feel free to reach out if you have any suggestions for improvements or new features.

License

This repository is licensed under the MIT License. See the LICENSE file for details.

deseq2-python-example's People

Contributors

sugam2001 avatar

Watchers

Lucian 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.