Code Monkey home page Code Monkey logo

manhattan-plot's Introduction

Manhattan-plot

Author: Priya Lakra

๐Ÿ Python script for generating manhattan plot ๐Ÿค“ Written in python 3.8

#unit test adding....

System requirements: No high performance computing required. Works well in a laptop with even 4GB RAM.

Input -> File containing SNPs information such as their chromosomal location, p-values, etc. Currently acceptable formats include .csv, .tsv, .txt

Output -> A manhattan plot in .png format with colored and black-white format

What is a manhattan plot? ๐Ÿค” https://en.wikipedia.org/wiki/Manhattan_plot

USAGE:

$ python pl_manhattan.py [options]
usage: pl_manhattan.py [โ€”-help] [--path path_to_input files] [--in_file input_file] 
                                  [--chromosome how_chromosome_is_denoted_in_input_file] 
                                  [--pval p_value] 
                                  [--position how_chromosomal_position_is_denoted_in_input_file] 
                                  [--col colored graph]  

Example:

Data: http://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST90013001-GCST90014000/GCST90013658/ Reference: Donkel SJ, Portilla Fernandez E, Ahmad S, Rivadeneira F, Van Rooij FJ, Ikram MA, Leebeek FW, De Maat M, Ghanbari M (2021) Common and rare variants genetic association analysis of circulating neutrophil extracellular traps (NETs). Frontiers in Immunology. doi: 10.3389/fimmu.2021.615527.

python pl_manhattan.py --path /Users/priyalakra/Desktop/Practice --in_file GCST90013658_buildGRCh37.tsv  --chromosome chromosome --pval p_value --position base_pair_location --col y

Output: GCST90013658_buildGRCh37_plot.png

manhattan-plot's People

Contributors

priyalakr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ishaan-iitd

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.