Home

HIPPIE User Manual

image

Contents

1. Epigenomics Data PHASE IV DNAsel HS Histone Enhancer Target Gene Modification Prediction Figure 1 HIPPIE flowchart PHASE II Quality Control Enhancer target PHASE V Characterization of Long Range Regulations gt Requirements top bwa http sourceforge net projects bio bwa files tested in 0 7 8 r455 Picard http picard sourceforge net tested in 1 113 java version 1 7 0_09 icedtea SAMtools http sourceforge net projects samtools files tested in 0 1 19 44428cd BEDtools https github com arg5x bedtools2 tested in 2 19 1 R http www r project org tested in 3 1 0 Used R libraries are o gplots http cran r project org web packages gplots index html o RColorBrewer http cran r project org web packages RColorBrewer index html perl tested on 5 10 1 Used modules are POSIX qw ceil floor List Util e awk zcat sort Please set the path for bwa Picard SAMtools Bedtools and Rin draw ini e g path to hippie hippie ini Directory structure for HIPPIE execution o HIPPIE operates on a per library Sample level A project can contain multiple libraries samples and 2 each library resides in one directory Each library directory has sub directories for the command scripts and output files cmd and intermediate files sai sam bam as in Figure2 The user is required to prepare and maintain the input files based this directory structure a
2. Under each sample s cmd directory would be a launching script with a name in this format library1 sh and under each library s fastq directory would be the soft link of the pair end read files fastq or fastq gz In the next several sections we describe the different ways of using the launching script for each library THE PHASE MODE PIPELINE EXECUTION 6 After executing hippie sh each library will have its own individual sub directories generated as well as the bash script e g library1 sh under its cmd directory The entire HIPPIE pipeline can be divided into four phases which can be run individually and sequentially The procedure of running each of the four phases is the same First change directory to a library s cmd sub directory and begin the analysis process by the phase p1 phase 2 phase 3 phase 4 and phase 5 The tasks of the phases are chained together and the submitted jobs are designed to run only after the prerequisite jobs are finished cd path to Hi C_Project libraryl cmd libraryl sh p1 libraryl sh p2 libraryl sh p3 libraryl sh p4 Multiple phases is also acceptable That is users can submit phase 1 through phase 4 all at once libraryl sh p1 p2 p3 p4 The phase mode can operate with the debug mode details see below THE TASK MODE RUNNING SELECTED PORTIONS OF THE PIPELINE Task mode allows you to run any single tasks of HIPPIE cd path to Hi C
3. HIPPIE User Manual v0 1 2014 5 18 Yih Chii Hwang yihhwang at mail med upenn edu OVERVIEW OF HIPPIE O Flowchart of HIPPIE O Requirements o Directory structure for HIPPIE execution CREATE THE CONFIGURATION FILE PREPARE THE REFERENCE GENOME RUN HIPPIE THE PHASE MODE PIPELINE EXECUTION THE TASK MODE RERUNNING SELECTED PORTIONS OF THE PIPELINE THE DEBUG MODE DEBUGGING OPTION PHASES AND TASKS o Phase1 Read Mapping Phase2 Quality Control Phase3 Peak identification and functional annotation Phase4 Prediction of enhancer target gene interaction O O O O Phase5 Characters analysis of enhancer target gene interactions OVERVIEW OF HIPPIE HIPPIE High throughput Identification Pipeline for Promoter Interacting Enhancer elements is a software package that takes Hi C raw reads as input and ultimately identifies enhancer target target gene relationships by mapping the reads to reference genome calling peak fragments detecting DNA DNA interactions with quality controls and integrating functional epigenomics knowledge It is designed to be executing on oracle grid engine system with memory and error control as well as prerequisite control The entire script can be downloaded here Flowchart of HIPPIE top A complete HIPPIE workflow run consists of four phases as outlined in the following flowchart PHASE III gt Identification of Hi C Peaks Annotated Peaks Hi C FASTQ files l BAM PHASE Read Mapping
4. _Project libraryl cmd libraryl sh t TASKNAME t TASKNAME the single task to run The task mode can also operate along with the debug mode The tasks are chained together thus the following jobs will only run after their consecutively prerequisite job is finished Thus one can skip the first task but consecutively submit jobs for the second task and the third task For example libraryl sh t SECOND_TASKNAME libraryl sh t THIRD _TASKNAME THE DEBUG MODE DEBUGGING OPTION Debug mode does not submit jobs Instead the full command s that would be submitted is displayed The d option must be followed by any flag that would normally submit a task or sequence of tasks such as pl p2 p3 or t cd path to Hi C_Project libraryl cmd libraryl sh d p1 e a debug mode previews the qsub command that would be submitted e p runs the steps for phase 2 when preceded by d the jobs would not be submitted Instead the full command s would be displayed Debug mode works with any combination of task submitting flags cd path to Hi C_Project library1 cmd libraryl sh d p2 p3 libraryl sh d t annotateFragment PHASES AND TASKS n Phase 1 Read Mapping yo Phase 1 takes the unmapped reads received and aligns them to the reference genome i Aligning reads of all fastq files to the reference genome cd path to Hi C_Project library1 cmd libraryl sh t bwaAln The output files are st
5. aryl sh t getDistancePairBed The output file is stored in the cmd directory s libraryl_ specific bed and s Jibraryl nonspeci fic bed ii Sort out each read by if it participates in a specific read or non specific read pair Task getDistancePairBed is its prerequisite task libraryl sh t consecutiveReadsS libraryl sh t consecutiveReadsNS The output file is stored in the cmd directory libraryl_ consecutive m500 bed and library consecutive NS bed iii Get list of restriction fragments with number of reads Tasks consecutiveReadssS and consecutiveReadsNs are both its prerequisite tasks libraryl sh t getFragmentsRead The output file is stored in the cmd directory HindIII fragment S reads bed and HindIII fragment NS reads bed Depends on the restriction enzyme used here we use Hindlll as an example iv Call Hi C peaks in the unit of restriction fragment Task get FragmentsRead is its prerequisite task libraryl sh t getPeakFragment The output file is stored in the cmd directory libraryl HindIIIfragment S reads _ 95 bed Here we use 95 upperbound threshold as an example v Annotate the genetics feature of the Hi C peaks Task get PeakFragment is its prerequisite task libraryl sh t annotateFragment The output file is stored in the cmd directory libraryl HindIIIfragment 95 annotated bed Phase 4 Predicti
6. e marks within enhancer elements and other interactions and plot the enrichment bar figure Task getCeeTarget is its prerequisite task libraryl sh t histoneEnrichment libraryl sh t plotHisEnrichment 10 The output file is stored in the cmd directory histone enrichment txt and libraryl histone enrichment jpg iii Enrichment analyses of GWAS hit within the enhancer elements Task getCeeTarget is its prerequisite task libraryl sh t GWASEnrichment The output file is stored in the cmd directory libraryl 95 GWAS enrichment txt 11
7. ibraries sequenced including cell types restriction enzyme etc Common attributes such as reference genome other epigenetics ChIP seq peaks DNase seq hotspots data and research project name are also described We suggest users separate the analyses of Hi C for different organisms or species by creating different project directories This can prevent confusion of the reference genome and clarify the epigenetics data usage Prepare the reference genome Please first download the reference genome sequence in FASTA format fa file and run bwa index to generate the index of the reference genome See below example for human hg19 1 Please find the reference genome can be found at http ngdownload test cse ucsc edu goldenPath hg19 bigZips hg19 2bit and use the UCSC utility program twoBitToFa to extract the fa from this file from http ngdownload cse ucsc edu admin exe linux x86_64 2 Please generate the index file of the reference genome hg19 fa for bwa alignment bwa index a bwtsw hg19 fa The index will be generated under the same directory of hg19 fa After the index is generated set the path to the c_i hg19 fa GENOME_REF under in your configuration file eg project_configure cfg RUN HIPPIE Each library has its own individual directory and sub directories as in Figure 2 Once execute the configuration file a tailored bash script file sh that contains all the comma
8. mapping quality criteria i Basic statistics for the mapped alignment file Task samtoolsMergeBam of Phase 1 is its prerequisite task cd path to Hi C_Project libraryl cmd source libraryl sh libraryl sh t doFlagStat s_ LINE merged The output file is stored in the cmd stat directory s libraryl merged flagstat ii Transform bam file to bed file Task samtoolsMergeBam of Phase 1 is its prerequisite task libraryl sh t bam2Bed The output file is stored in the cmd directory s libraryl merged bed iii Remove PCR artifact duplicate read pairs Task bam2Bed is its prerequisite task libraryl sh t rmdupBed The output file is stored in the cmd directory s libraryl merged _rmdup bed iv Filter out the reads that do not meet user defined mapping quality Only both reads resides on autosomal and sex chromosomes are retained Task rmdupBed is its prerequisite task libraryl sh t rmBadMapped The output file is stored in the cmd directory s_libraryl bed Phase 3 Peak identification and functional annotation top i Calculate the distance of each pair of reads forward and reverse to their closest restriction sites and classify the reads to specific read pairs or non specific read pairs Task rmBadMapped of Phase 2 is their prerequisite task cd path to Hi C_Project libraryl cmd libraryl sh t getDistancetoRSLeft libraryl sh t getDistancetoRSRight libr
9. nds to complete the analysis To achieve this we describe how to execute this with the configuration file Once you have prepared the configuration file e g project _configure cfqg the following are the steps to execute it i Change directory to the project directory e g Hi C_Project cd path to Hi C_ Project ii Evoke the environment paths by source the hippie ini file from HIPPIE package e g path to hippie hippie ini One needs to consult the person who installed HIPPIE if you cannot find it source path to HIPPIE hippie hippie ini Users can try echo SHIPPIE HOME to check whether the path set up has worked correctly It should display where HIPPIE locates echo HIPPIE HOME iii Make sure SHOME stdout directory is made ls HOME stdout iv Run HIPPIE with a configuration file to generate the tailored bash script for each library hippie sh f project _configure cfg h HIPPIE HOME DIR pl p2 p3 p4 specifies the location of the project configuration file h HIPPIE_HOME_DIR Optionally specify the location of the HIPPIE home directory Otherwise it would use the environment variable SHIPPIE HOME in hippie ini pl p2 p3 p4 optionally submit all tasks from each phase for all samples specified in the configuration file This would create the library level directories cmd fastq sai sam and bam
10. on of enhancer target gene interaction jo i Identify peak peak interactions Task annotateFragment of Phase 3 is its prerequisite task libraryl sh t findPeakInteraction The output file is stored in the cmd directory for intra chromosomal interactions chr 95 reads interaction txt and for inter chromosomal interactions libraryl interChrm 95 reads interaction txt ii Identify promoter annotated peak peak interaction annotateFragment of Phase 3 is its prerequisite task libraryl sh t findPromoterInteraction The output file is stored in the cmd directory for intra chromosomal interactions chr 95 promoter annotated interaction promoterAnno txt and for inter chromosomal interactions Libraryl 95 interChrm promoterInteraction txt iii Identify promoter interacting enhancer elements also known as candidate enhancer elements CEE Task findPromoterInteraction is its prerequisite task libraryl sh t getCeeTarget The output file is stored in the cmd directory libraryl 95 CEE gene bed Phase 5 Characters analysis of enhancer target gene interactions j i Calculate distance distribution between enhancers and their targets closest genes Task getCeeTarget is its prerequisite task libraryl sh t ETdistance The output file is stored in the cmd directory libraryl 95 ET distance txt ii Enrichment analyses for regulatory associated histon
11. ored in the sai directory ii Combining mate pairs Task bwaA1n is its prerequisite task libraryl sh t bwaSamp The output files are stored in the sam directory iii Adding readgroup information to all reads Task bwaSamp is its prerequisite task If the project configuration file project _configure cfg has DATA TYPE with ONEFASTO or ONEFASTQSE source libraryl sh libraryl sh t addReadGroup SAM DIR s_ LINE sequence aligned sam gz BAM DIR s_ LINE Samp RGID else libraryl sh t addReadGroupTasks The output files are stored in the bam directory iv Merging multiple alignment files bam from the same library into one alignment file Task addReadGroupTasks is its prerequisite task If the flowcell configuration file s DATA TYPE is ONEFASTOQ or ONEFASTQSE source libraryl sh libraryl sh t mgBamSoftLink BAM DIR s_ LINE rg bam s_ LINE merged bam else libraryl sh t samtoolsMergeBam The output file is stored in the cmd directory with file name in the format of s libraryl merged bam Phase 2 Quality Control top Phase 2 takes the aligned reads and further processes them with mapping quality control First it transforms the bam file to bed file Then it removes the duplicates that may be due to PCR artifacts discards read mapped to random contigs and finally it filters the read pair that has worse mapping quality than user defined
12. s well as describe information of each library of the project in a configuration file including paths for the project reference genome and reference epigenetics ENCODE data etc Hi C_Project hippie_project cfg library1 fastq files library1 sh Figure 2 The directory structure up of HIPPIE The shaded grey directories have to be prepared by the users and the white directories are automatically generated by HIPPIE based on the configuration file In this manual we will use Hi C_Project as an example project The names of the libraries sequenced are library library2 library3 etc Library sample directory Each library can contain multiple paired end fastq files with as long as the reads contained are from the same library The fastq files can be compressed fastq gz or uncompressed fastq The files generated subsequently are stored in each individual sample s sub directories eg test_data Hi C_project library1 Log directory HOME stdout top Under Open Grid Scheduler or job distributing environment the screen output from running jobs is redirected to a log file HIPPIE stores all such log files in a stdout directory under user s home directory You need to create it before running HIPPIE mkdir p stdout Create the configuration file Please refer to the template file named project _configure cfg This file contains information of the l

Download Pdf Manuals

image

Related Search

Related Contents

カスケードポンプ  Brodit ProClip  Samsung SM-P901 دليل المستخدم  KF-42WE620/ KF-50WE620  ACTi E46 surveillance camera  

Copyright © All rights reserved.
Failed to retrieve file