# HG changeset patch # User iuc # Date 1444663479 14400 # Node ID bfe57d6e0c4c6f29715a79de786213ad44d3eda1 # Parent 859c982b1f7fc8abb38a1e1637e3aab3c1c35fb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74 diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_bdgbroadcall.xml --- a/macs2_bdgbroadcall.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_bdgbroadcall.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,12 +1,13 @@ Call broad peaks from bedGraph output + + macs2_macros.xml + gnu_awk + - - macs2_macros.xml - macs2 bdgbroadcall --ifile "${ infile }" @@ -19,18 +20,17 @@ && awk '!/^track name/' "macs2_bdgbroadcall.bdg" > "${ outfile }" - - - - - - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_bdgcmp.xml --- a/macs2_bdgcmp.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_bdgcmp.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,10 +1,11 @@ Deduct noise by comparing two signal tracks in bedGraph - - macs2_macros.xml + + + macs2 bdgcmp -t "${ infile_treatment }" @@ -17,7 +18,6 @@ -o "${ outfile }" - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_bdgdiff.xml --- a/macs2_bdgdiff.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_bdgdiff.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,10 +1,11 @@ Differential peak detection based on paired four bedgraph files - - macs2_macros.xml + + + macs2 bdgdiff --t1 "${ infile_pileup_cond1 }" @@ -19,7 +20,6 @@ --o-prefix MACS2 - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_bdgpeakcall.xml --- a/macs2_bdgpeakcall.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_bdgpeakcall.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,12 +1,13 @@ Call peaks from bedGraph output + + macs2_macros.xml + gnu_awk + - - macs2_macros.xml - macs2 bdgpeakcall --ifile "${ infile }" @@ -19,19 +20,18 @@ && awk '!/^track name/' "macs2_bdgpeakcall.bdg" > "${ outfile }" - - - - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_callpeak.xml --- a/macs2_callpeak.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_callpeak.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,14 +1,15 @@ Call peaks from alignment results + + macs2_macros.xml + R_3_0_1 gnu_awk MACS2_SCRIPT_PATH + - - macs2_macros.xml - #set $temp_stderr = 'macs2_stderr' (macs2 callpeak @@ -84,7 +85,7 @@ #end if ## run R to create pdf from model script - #if 'pdf' in str($outputs).split(','): + #if $nomodel_type.nomodel_type_selector == 'create_model' and 'pdf' in str($outputs).split(','): && Rscript MACS2_model.r > MACS2_model.r.log #end if @@ -95,7 +96,7 @@ ( count=`ls -1 MACS2* 2>/dev/null | wc -l`; if [ \$count != 0 ]; - then + then mkdir "${ output_extra_files.files_path }"; cp MACS2* "${ output_extra_files.files_path }"; python "\$MACS2_SCRIPT_PATH/dir2html.py" "${ output_extra_files.files_path }" $temp_stderr > "${ output_extra_files }"; @@ -107,7 +108,6 @@ cat $temp_stderr 2>&1; (exit \$exit_code_for_galaxy) - @@ -146,12 +146,12 @@ - - + @@ -167,10 +167,10 @@ - - broad regions - - @@ -235,7 +235,12 @@ 'summits' in outputs - 'pdf' in outputs + + (( + 'pdf' in outputs and + nomodel_type['nomodel_type_selector'] == "create_model" + )) + 'bdg' in outputs @@ -262,6 +267,17 @@ + + + + + + + + + + + **What it does** diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_filterdup.xml --- a/macs2_filterdup.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_filterdup.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,10 +1,11 @@ Remove duplicate reads at the same position - - macs2_macros.xml + + + macs2 filterdup -i "${ infile }" @@ -22,7 +23,6 @@ ; mv temp_outfile "${ outfile }" - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_macros.xml --- a/macs2_macros.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_macros.xml Mon Oct 12 11:24:39 2015 -0400 @@ -22,8 +22,12 @@ + + + + - + @@ -38,7 +42,7 @@ - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_predictd.xml --- a/macs2_predictd.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_predictd.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,13 +1,14 @@ Predict 'd' or fragment size from alignment results + + macs2_macros.xml + R_3_0_1 gnu_awk + - - macs2_macros.xml - macs2 predictd -i ${ ' '.join( map( lambda x:'"%s"' % ( x ), $infiles ) ) } @@ -20,12 +21,11 @@ 2>&1 | awk -F: '{print $4}' | awk '{$1=$1}1' > "${ outfile }" - + && Rscript predictd - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_randsample.xml --- a/macs2_randsample.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_randsample.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,10 +1,11 @@ Randomly sample number or percentage of total reads - - macs2_macros.xml + + + macs2 randsample -t "${ infile }" @@ -19,7 +20,6 @@ --number "${ method_options.number }" #end if - diff -r 859c982b1f7f -r bfe57d6e0c4c macs2_refinepeak.xml --- a/macs2_refinepeak.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/macs2_refinepeak.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,10 +1,11 @@ Refine peak summits and give scores measuring balance of forward- backward tags (Experimental) - - macs2_macros.xml + + + macs2 refinepeak -b "${ bed_infile }" @@ -14,7 +15,6 @@ --window-size "${ winsize }" --ofile "${ outfile }" - diff -r 859c982b1f7f -r bfe57d6e0c4c test-data/magic.pdf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/magic.pdf Mon Oct 12 11:24:39 2015 -0400 @@ -0,0 +1,1 @@ +%PDF-1.4 diff -r 859c982b1f7f -r bfe57d6e0c4c tool_dependencies.xml --- a/tool_dependencies.xml Thu Feb 12 10:40:25 2015 -0500 +++ b/tool_dependencies.xml Mon Oct 12 11:24:39 2015 -0400 @@ -1,13 +1,13 @@ - + - + - +