GithubHelp home page GithubHelp logo

lizhonggang1984 / locuszoom Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.15 MB

This folder includes all files needed to conduct locuszoom plot based on mouse and human GWAS files. You need GWAS file with pValue and rsID (or SNP position).

Python 100.00%

locuszoom's Introduction

LocusZoom

download required software and intalled in Linux environment

https://genome.sph.umich.edu/wiki/LocusZoom_Standalone

(1) install python and R in linux system (2) install new_fugue and plink for LD calculation (3) download the full folder of locuszoom (including all data files with LD files) to drive, untar all files

In Attie-VM, all software has been installed

Our Locuszoom is in attie-vm at :

/mnt/data/locuszoom

To use mouse data, follow next steps

(1)go the example folder (2) use the Python script for analysis. If change the path, go to conf folder and change the configure file.

we already updated mm10 to .db: bin/lzupdate.py --build mm10

using conf/m2z.config file to change your configuration

To run LocusZoom to draw mouse genome locuszoom, use six steps:

(1) log in into Attie-VM (2)$ ls $ sudo su $ (YOURpassword) $ cd /mnt/data/locuszoom/examples (3) // conduct shell to setup path for tabix for LD calculation export PATH=$PATH:/mnt/data/locuszoom/tabix-0.2.6

(4) //upload mouse gwas file to the example folder

this text file must have at least two columns,
MarkerName and P-value (column name should be exactly these two)

(5) // edit python file to perform locuszoom // to calculate LD, using mouse_vcf.py to do it

change --refsnp to your snp and change --flank to 200kb or 500kb as needed

(6) //conduct ./mouse_vcf.py to draw plots

./mouse_vcf.py or ./mouse_no_ld.py (if not using LD block) or ./mouse_hapmap.py (if using hapmap data for LD calculation)

To run LocusZoom to draw human genome locuszoom, use six steps:

(1) log in into Attie-VM (2)$ ls $ sudo su $ (YOURpassword) $ cd /mnt/data/locuszoom/gwas (3) // conduct shell to setup path for tabix for LD calculation export PATH=$PATH:/mnt/data/locuszoom/tabix-0.2.6

(4) //upload human gwas file to the example folder

this text file must have at least two columns,
MarkerName and P-value (column name should be exactly these two)

(5) // edit python file to perform locuszoom // to calculate LD, using our scripted python script to do it

change --refsnp to your snp and change --flank to 200kb or 500kb as needed

(6) //conduct human gwas plot to draw plots

./glgc_exometc.py
or other related python file (modify file folder and name to draw plots)

locuszoom's People

Contributors

lizhonggang1984 avatar

Stargazers

 avatar

Watchers

 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.