Giter VIP home page Giter VIP logo

mandy's Introduction

mandy

Model-based ANalysis of DYnamic chromatin interactions from PLAC-Seq and HiChIP data

Running this code is straight-forward, but you will need to have the output directories from running MAPS on your data for all replicates and also for the combined data.
But first install the requirements. These are all R packages that can be downloaded either from CRAN or from Bioconductor:
CRAN packages: dplyr, data.table, VGAM, timereg, yaml, argparse
Bioconductor packages: preprocessCore, limma

Generate a file in similar to the mandy.yaml file in this repository. In this file, you will need to specify:

  • output_filename: where the output should be written and the name for it
  • chip_filenames: comma-separated list of ChIP peaks for each of the samples you want to compare
  • bedpe_dirs: comma-separated path to the MAPS output of all replicates (the directory where these path points to, should include the reg_raw files output from MAPS
  • maps_peaks_filenames: Another comma-separated list! Each of these entries point to one of the bedpe files generated by MAPS (in the same directory as reg_raw files).
  • genome: This should be one of the values hg or mm. hg for human and mm for mouse (well, that's a lie. if this is set to anything but hg, Mandy will assume it's a mouse. Pun intended)
  • groups: a string like "0,0,1,1,1" (don't forget the double-quotes). This means the first two directories in the bedpe_dirs above are biological replicates of one sample and the other three are biological replicates of the second sample. You can use anything else instead of 0 and 1, as long as they show the relationships between the replicates and samples.
    mandy_utils_path: This is the path to the mandy_utils.R file that you can download from this repository. It includes all the functions.

Once everything is set up (i.e. all requirements are installed, you have the MAPS outputs, and the YAML file is created), you can run the script by this command:

Rscript -c yaml_filename

If you find anything interesting let us know, or we can wait until you publish it. And hopefully one day you will be able to cite us too when we are published. Good luck!

mandy's People

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.