# HG changeset patch # User jetbrains # Date 1542633844 18000 # Node ID 4130e95bd6c8521842944b2be30db3a445d7b4ec # Parent 5b99943c46274756e023114b70c49ef7fe3a262e Batch processing mode supported diff -r 5b99943c4627 -r 4130e95bd6c8 span.xml --- a/span.xml Sun Nov 18 08:20:27 2018 -0500 +++ b/span.xml Mon Nov 19 08:24:04 2018 -0500 @@ -9,41 +9,33 @@ -#import re -#set treatment_identifier = re.sub('[^\w\-\.]', '_', str($treatment_file.element_identifier)) -#set genome_identifier = re.sub('[^\w\-\.]', '_', str($genome_file.element_identifier)) - -#if $control.control_selector - #set control_identifier = re.sub('[^\w\-\.]', '_', str($control.control_file.element_identifier)) -#end if - #if str($action.action_selector) == "model" - #if $control.control_selector - span_wrapper.py model with_control - "${genome_identifier}" "${genome_file}" - "${treatment_identifier}" "${treatment_file}" - "${bin}" "${action.model_file}" - "${control_identifier}" "${control.control_file}" + #if str($control_file) != 'None': + span_wrapper.py model_with_control + "${genome_file.name}" "${genome_file}" + "${treatment_file.name}" "${treatment_file}" + "${control_file.name}" "${control_file}" + "${bin}" #else - span_wrapper.py model without_control - "${genome_identifier}" "${genome_file}" - "${treatment_identifier}" "${treatment_file}" - "${bin}" "${action.model_file}" + span_wrapper.py model_without_control + "${genome_file.name}" "${genome_file}" + "${treatment_file.name}" "${treatment_file}" + "${bin}" #end if #else - #if $control.control_selector - span_wrapper.py peaks with_control - "${genome_identifier}" "${genome_file}" - "${treatment_identifier}" "${treatment_file}" - "${bin}" "${action.model_file}" - "${control_identifier}" "${control.control_file}" - "${action.fdr}" "${action.gap}" "${action.peaks_file}" + #if str($control_file) != 'None': + span_wrapper.py peaks_with_control + "${genome_file.name}" "${genome_file}" + "${treatment_file.name}" "${treatment_file}" + "${control_file.name}" "${control_file}" + "${bin}" + "${action.fdr}" "${action.gap}" #else - span_wrapper.py peaks without_control - "${genome_identifier}" "${genome_file}" - "${treatment_identifier}" "${treatment_file}" - "${bin}" "${action.model_file}" - "${action.fdr}" "${action.gap}" "${action.peaks_file}" + span_wrapper.py peaks_without_control + "${genome_file.name}" "${genome_file}" + "${treatment_file.name}" "${treatment_file}" + "${bin}" + "${action.fdr}" "${action.gap}" #end if #end if @@ -51,33 +43,20 @@ + + + - - - - - - - - - - - - @@ -96,11 +74,13 @@ Default value is 200bp, approximately the length of one nucleosome."/> - - + + action['action_selector'] == "peaks" - +