# HG changeset patch # User iuc # Date 1398978466 14400 # Node ID f63ccb331626a1d3eef7d30fdb3f41fbea1dcd54 # Parent 05aca18fd8dc064f61c2e41bf1a5da3e5befff97 Uploaded diff -r 05aca18fd8dc -r f63ccb331626 macs2_bdgcmp.xml --- a/macs2_bdgcmp.xml Wed Apr 23 18:25:51 2014 -0400 +++ b/macs2_bdgcmp.xml Thu May 01 17:07:46 2014 -0400 @@ -19,18 +19,18 @@ + - - + - + diff -r 05aca18fd8dc -r f63ccb331626 macs2_callpeak.xml --- a/macs2_callpeak.xml Wed Apr 23 18:25:51 2014 -0400 +++ b/macs2_callpeak.xml Thu May 01 17:07:46 2014 -0400 @@ -18,11 +18,15 @@ -t ${ ' '.join( map( lambda x:'"%s"' % ( x ), $input_treatment_file ) ) } #if str( $input_control_file ) != 'None': - -t ${ ' '.join( map( lambda x:'"%s"' % ( x ), $input_control_file ) ) } + -c ${ ' '.join( map( lambda x:'"%s"' % ( x ), $input_control_file ) ) } #end if - #for $ifile in $input_treatment_file: - --format='${ ifile.ext.upper() }' + #for $ifile in $input_treatment_file[0]: + #if ${ ifile.ext.upper() } == 'BAM' and ${ bampe }: + --format BAMPE + #else: + --format='${ ifile.ext.upper() }' + #end #end for @effective_genome_size@ @@ -37,6 +41,19 @@ --broad --broad-cutoff='${ advanced_options.broad_options.broad_cutoff }' #end if + + #if $advanced_options.keepdup.keepdup_opt == 'specific': + --keep-dup '${ $advanced_options.keepdup.keep_duplicates }' + #else + --keep-dup '${ $advanced_options.keepdup.keepdup_opt }' + #end if + + #if str( $advanced_options.keep_dup_options.keep_dup_options_selector ) == "user": + --keep-dup "${ advanced_options.keep_dup_options.user_keepdup }" + #else + --keep-dup "${ advanced_options.keep_dup_options.keep_dup_options_selector }" + #end if + #end if ## With --bdg two additional output files will be generated. @@ -87,13 +104,18 @@ fi; ) #end if - && - cat $temp_stderr 2>&1 + ; + exit_code_for_galaxy=\$?; + cat $temp_stderr 2>&1; + (exit \$exit_code_for_galaxy) + - + + @@ -133,8 +155,8 @@ - - + + @@ -147,8 +169,8 @@ - - + @@ -156,10 +178,16 @@ - + - + + + + @@ -169,10 +197,15 @@ 'peaks_bed' in outputs - - 'narrow' in outputs + + + (( + advanced_options['advanced_options_selector'] == "on" and + advanced_options['broad_options']['broad_options_selector'] == "broad" + )) + - + (( advanced_options['advanced_options_selector'] == "on" and @@ -180,8 +213,21 @@ )) + + + (( + advanced_options['advanced_options_selector'] == "on" and + advanced_options['broad_options']['broad_options_selector'] == "nobroad" + )) + + - 'summits' in outputs + + (( + advanced_options['advanced_options_selector'] == "on" and + advanced_options['broad_options']['broad_options_selector'] == "nobroad" + )) + 'pdf' in outputs diff -r 05aca18fd8dc -r f63ccb331626 macs2_filterdup.xml --- a/macs2_filterdup.xml Wed Apr 23 18:25:51 2014 -0400 +++ b/macs2_filterdup.xml Thu May 01 17:07:46 2014 -0400 @@ -27,19 +27,8 @@ - - - - - - - - - - - - + + diff -r 05aca18fd8dc -r f63ccb331626 macs2_macros.xml --- a/macs2_macros.xml Wed Apr 23 18:25:51 2014 -0400 +++ b/macs2_macros.xml Thu May 01 17:07:46 2014 -0400 @@ -23,6 +23,25 @@ + + + + + + + + + + + + + + + + + #if $effective_genome_size_options.effective_genome_size_options_selector == 'user_defined': --gsize "${ effective_genome_size_options.gsize }" diff -r 05aca18fd8dc -r f63ccb331626 tool_dependencies.xml --- a/tool_dependencies.xml Wed Apr 23 18:25:51 2014 -0400 +++ b/tool_dependencies.xml Thu May 01 17:07:46 2014 -0400 @@ -7,7 +7,7 @@ - +