# HG changeset patch # User ryo-tas # Date 1329118739 18000 # Node ID cdd9791c0afa8c2f6e93cb695f14b58dd3583dd5 # Parent 91c5c55931c28e2ba81ceaa38e4bedc62e0af0bf Uploaded diff -r 91c5c55931c2 -r cdd9791c0afa macs14_wrapper.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macs14_wrapper.xml Mon Feb 13 02:38:59 2012 -0500 @@ -0,0 +1,238 @@ + + Model-based Analysis of ChIP-Seq (1.4.1) + macs14_wrapper.py $options_file $output_bed_file $output_extra_files $output_extra_files.files_path + + macs14 + macs14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + xls_to_interval is True + + + xls_to_interval is True + input_type['input_control_file1'] is not None + + + wig_type['wig_type_selector']=='wig' + + + wig_type['wig_type_selector'] == 'wig' + input_type['input_control_file1'] is not None + + + + + <% +import simplejson +%> +#set $__options = { 'experiment_name':str( $experiment_name ), 'gsize':int( float( str( $gsize ) ) ), 'tsize':str( $tsize ), 'bw':str( $bw ), 'pvalue':str( $pvalue ), 'mfold':str( $mfold ), 'nolambda':str( $nolambda ), 'slocal': str( $slocal ), 'llocal': str( $llocal ), 'futurefdr':str( $futurefdr ) } +#if str( $xls_to_interval ) == 'create': +#set $__options['xls_to_interval'] = { 'peaks_file': str( $output_xls_to_interval_peaks_file ), 'negative_peaks_file': str( $output_xls_to_interval_negative_peaks_file ) } +#else: +#set $__options['xls_to_interval'] = False +#end if +##treatment/tag input files and format +#set $__options['input_chipseq'] = [ str( $input_type['input_chipseq_file1'] ) ] +#if $input_type['input_type_selector'] == 'paired_end': +#set $_hole = __options['input_chipseq'].append( str( $input_type['input_chipseq_file2'] ) ) +#set $__options['format'] = 'ELANDMULTIPET' +#else: +#set $__options['format'] = $input_type['input_chipseq_file1'].extension.upper() +#end if +##control/input files +#set $__options['input_control'] = [] +#if str( $input_type['input_control_file1'] ) != 'None': +#set $_hole = __options['input_control'].append( str( $input_type['input_control_file1'] ) ) +#end if +#if $input_type['input_type_selector'] == 'paired_end' and str( $input_type['input_control_file2'] ) != 'None': +#set $_hole = __options['input_control'].append( str( $input_type['input_control_file2'] ) ) +#end if +##wig options +#if $wig_type['wig_type_selector'] == 'wig': +#set $__options['wig'] = {} +#set $__options['wig']['space'] = str( $wig_type['space'] ) +#set $__options['wig']['output_treatment_file'] = str( $output_treatment_wig_file ) +#if $input_type['input_control_file1'] is not None: +#set $__options['wig']['output_control_file'] = str( $output_control_wig_file ) +#end if +#end if +##model options +#if $nomodel_type['nomodel_type_selector'] == 'nomodel': +#set $__options['nomodel'] = str( $nomodel_type['shiftsize'] ) +#end if +##diag options +#if $diag_type['diag_type_selector'] == 'diag': +#set $__options['diag'] = { 'fe-min':str( $diag_type['fe-min'] ), 'fe-max':str( $diag_type['fe-max'] ), 'fe-step':str( $diag_type['fe-step'] ) } +#end if +${ simplejson.dumps( __options ) } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +This tool allows ChIP-seq peak calling using MACS. + +Depending upon selected options, 2 to 6 history items will be created; the first output will be a standard BED file and the last will be an HTML report containing links to download additional files generated by MACS. Up to two each of wig and interval files can be optionally created; the interval files are parsed from the xls output. + +View the original MACS documentation: http://liulab.dfci.harvard.edu/MACS/00README.html. + +