Coder Social home page Coder Social logo

hicorr-1's Introduction

HiCorr

HiCorr is a pipeline designed to normalize HiC data. It needs to be run in an unix/linux environment. Currently it includes reference files of genome build hg19, mm10 to be added.

How to setup

  1. Download everything into your local machine.
  2. Go to the directory "ref_hg19", run the script "prep_ref.sh"
  3. Go back to the main directory, edit "run.sh":
    • Line 3: Replace "PATH_TO_REF" with the path to your directory "ref_hg19"
    • Line 4: Replace "PATH_TO_BIN" with the path to your directory "bin"

To run the pipeline

  1. You will need two input files: one file contains intra-chromosome looping fragment pairs(cis pairs), and another contains inter-chromosome looping fragment pairs(trans pairs).

    • Intra-chromosome looping pairs need to have 4 tab-delimited columns, in the following format:
      frag_id_1 frag_id_2 observed_reads_count distance_between_two_fragments
      See sample files here: http://hiview.case.edu/test/sample/frag_loop.IMR90.cis.sample
    • Inter-chromosome looping piars need to have 3 tab-delimited columns, in the following format:
      frag_id_1 frag_id_2 observed_reads_count
      See sample files here: http://hiview.case.edu/test/sample/frag_loop.IMR90.trans.sample
    • These two files needs to be sorted before you run the pipeline (sort -k1 -k2).
    • If you have a bam file and need help generate the fragment-pair files, we have a pipeline included. Go to the "bin" folder, find the script named "bam_to_frag_loop.sh". Before you run, replace "PATH_TO_REF" and "PATH_TO_BIN" with the pathes to "ref_hg19" and "bin" correspondingly. Then run the pipeline:
      ./bam_to_frag_loop.sh <bam_file> <name_of_your_data> <mapped_read_length_in_your_bam_file>
  2. Finally, run the pipeline:
    ./HiCorr.sh <cis_loop_file> <trans_loop_file> <name_of_your_data> [options]

hicorr-1's People

Contributors

xliu10 avatar jinlabbioinfo avatar

Watchers

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