# HG changeset patch # User modencode-dcc # Date 1358537841 18000 # Node ID 15b82b82f344bd68370c5cefd25ac8afdb83124b # Parent e207763f91cbca834248baaa8eb3f62ee9d93d64 Uploaded diff -r e207763f91cb -r 15b82b82f344 ranger_wrapper.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ranger_wrapper.xml Fri Jan 18 14:37:21 2013 -0500 @@ -0,0 +1,255 @@ + + + SCRIPT_PATH + peakranger + + multi-purpose, ultrafast ChIP Seq peak caller + ranger_wrapper.py $options_file $outputs_file \$SCRIPT_PATH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + major_command['major_command_selector'] == 'nr' or major_command['major_command_selector'] == 'lc' or major_command['major_command_selector'] == 'ccat' + + + major_command['major_command_selector'] == 'wig' or major_command['major_command_selector'] == 'wigpe' + + + major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat' + + + major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat' + + + major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat' + + + major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat' + major_command['gene_annotate_file']['gene_annotate_file_selector'] != 'None' + + + + + <% +import simplejson +%> +##======================================================================================= +#set $__outputs = { 'command':str( $major_command.major_command_selector ) } +#if str( $major_command.major_command_selector ) == 'nr' or str( $major_command.major_command_selector ) == 'lc': + #set $__outputs['output_ranger_file'] = str( $output_ranger_file ) +#end if +##======================================================================================= +#if str( $major_command.major_command_selector ) == 'wig' or str( $major_command.major_command_selector ) == 'wigpe': + #set $__outputs['output_wigzip_file'] = str( $output_wigzip_file ) +#end if +##======================================================================================= +#if str( $major_command.major_command_selector ) == 'ranger' or str( $major_command.major_command_selector ) == 'ccat': + #set $__outputs['output_summit_file'] = str( $output_summit_file ) + #set $__outputs['output_region_file'] = str( $output_region_file ) + #set $__outputs['output_details_file'] = str( $output_details_file ) + #set $__outputs['output_report_file'] = str( $output_report_file ) + #set $__outputs['output_ranger_file'] = str( $output_ranger_file ) +#end if +##======================================================================================= +${ simplejson.dumps( __outputs ) } + + <% +import simplejson +%> +#set $__options = { 'experiment_name':str($experiment_name), 'action':str( $major_command.major_command_selector ) } + +##============================================================================= +#if str($major_command.major_command_selector) == 'nr': + #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 ) + #set $__options['input_file'] = str( $major_command.input_control_file1 ) + + #set $__options['extension'] = str( $major_command.extension ) +#end if +##============================================================================= +##if str($major_command.major_command_selector) == 'lc': + #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 ) +##end if +##============================================================================= +#if str($major_command.major_command_selector) == 'wig' or str($major_command.major_command_selector) == 'wigpe': + #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 ) + + #set $__options['extension'] = str( $major_command.extension ) + #set $__options['split'] = str( $major_command.split ) + #set $__options['strand'] = str( $major_command.strand) + #set $__options['gzip'] = str( $major_command.gzip ) +#end if +##============================================================================= +#if str($major_command.major_command_selector) == 'ranger': + #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 ) + #set $__options['input_file'] = str( $major_command.input_control_file1 ) + + #set $__options['gene_annotate_file'] = str( $major_command.gene_annotate_file.gene_annotate_file_selector ) + #if str( $major_command.gene_annotate_file.gene_annotate_file_selector ) == 'Upload' + #set $__options['usr_annot_file'] = str( $major_command.gene_annotate_file.usr_annot_file ) + #end if + + #set $__options['plot_region'] = str( $major_command.plot_region ) + #set $__options['pvalue'] = str( $major_command.pvalue ) + #set $__options['fdr'] = str( $major_command.fdr ) + #set $__options['extension'] = str( $major_command.extension ) + #set $__options['delta'] = str( $major_command.delta ) + #set $__options['threads'] = str( $major_command.threads ) + #set $__options['bandwith'] = str( $major_command.bandwith ) + #set $__options['pad'] = str( $major_command.pad ) +#end if +##============================================================================= +#if str($major_command.major_command_selector) == 'ccat': + #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 ) + #set $__options['input_file'] = str( $major_command.input_control_file1 ) + + #set $__options['gene_annotate_file'] = str( $major_command.gene_annotate_file.gene_annotate_file_selector ) + #if str( $major_command.gene_annotate_file.gene_annotate_file_selector ) == 'Upload' + #set $__options['usr_annot_file'] = str( $major_command.gene_annotate_file.usr_annot_file ) + #end if + + #set $__options['plot_region'] = str( $major_command.plot_region ) + #set $__options['fdr'] = str( $major_command.fdr ) + #set $__options['extension'] = str( $major_command.extension ) + #set $__options['winsize'] = str( $major_command.winsize ) + #set $__options['winstep'] = str( $major_command.winstep ) + #set $__options['mincount'] = str( $major_command.mincount ) + #set $__options['minscore'] = str( $major_command.minscore ) +#end if +##============================================================================= +${ simplejson.dumps( __options ) } + + + + + + +**What it does** + +PeakRanger is a multi-purporse software suite for analyzing next-generation sequencing (NGS) data. The suite contains the following tools: + +View the modified PeakRanger documentation: http://ranger.sourceforge.net/manualv116.html#introduction + +------ + +**Usage** + +**nr:** noise rate estimator. Estimates signal to noise ratio which is an indicator for ChIP enrichment + +**lc:** library complexity calculator. Calculates the ratio of unique reads over total reads. Only accepts bam files. + +**wig:** coverage file generator. Generates variable step format wiggle file + +**wigpe:** coverage file generator. Generates bedGraph format wiggle file and supports spliced alignments and thus only supports bam files + + wigpe can also generate coverage files for bam files containing spliced reads, such as those from RNA-Seq experiments. + +**ranger:** ChIP-Seq peak caller. It is able to identify enriched genomic regions while at the same time discover summits within these regions. + +**ccat:** ChIP-Seq peak caller. Tuned for the discovery of broad peaks + + Both ranger and ccat supports generating HTML-based annotation reports. + +------ + +**Citation** + +If you use PeakRanger in your research, please cite: +Feng X, Grossman R, Stein L: PeakRanger:A cloud-enabled peak caller for ChIP-seq data.BMC Bioinformatics 2011, 12(1):139. + +if you use the ccat tool, please also cite: +Xu, H., L. Handoko, et al. (2010).A signal-noise model for significance analysis of ChIP-seq with negative control.Bioinformatics 26(9): 1199-1204. + + +Integration of PeakRanger with Galaxy performed by Ziru Zhou ( ziruzhou@gmail.com ). Please send your comments/questions to help@modencode.org. + + \ No newline at end of file