Giter Site home page Giter Site logo

hic-pipeline's Introduction

The pipeline performs Fit-hi-c analysis with fixed size windows. The pipeline consists of two stages: mapping_all and hic_pipeline.
 

In mapping_all:

runall: This script calls all the other steps below in mapping/filtering pipeline
pipeline: This script defines all the variables and a step to be run with runall
step1_align: Align the reads using BWA to the reference genome. You will need the appropriate BWA index file.
step2_sort: Filter for number of mismatches, mapping quality and unique mapping. 
step3_joinAllCombinations: Take a join of the separately mapped XYZ_1.fq.gz and XYZ_2.fq.gz files to get paired reads.
step3_removePCRdups: Remove the read pairs that map to exactly same coordinates (both ends). Keep only one pair out of many copies.



In hic-pipeline: 

Assignment to fixed size windowing. Process genome for mappability. Then, the normalization using ICE and applying Fit-Hi-C.
This pipeline assumes that there are read pairs under the cleanedPairs folders.

    In pipeline:
    runall: This script calls all the other steps below
    step1 in runall: create all the fixed size fragements. Step1 needs to be run only once for a given resolution/window size. Runs intractively 

    In bin:
    step2_get-contactCounts-atFixedWindowSize: get contacts at fixed window size
    step3_preprocess_for_bias_pipeline.sh: preprocess the genome to get mappability per window. Note: needs to be run only once for a particular resolution.
    step4_sparseICEnormalize: normalizes each library using sparse ICE implementation amd calculate biases for each window. 
    step5-ContactsPerFragment: calculate total numbmer of contacts coming out of each window
    step6_fithic: perform fit-hic on data before and after ICE.
 
    In data/reference_genomes/hg19: chromosome length and HindIII fragmens files. 

     
In hic-pipeline_repl_combined:

The same as hic-pipeline, but combines replicates in step2. Additional paramenters need to be specified in step 2.  


hic-pipeline's People

Watchers

Yi Xianfu avatar 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.