# HG changeset patch # User glogobyte # Date 1602850642 0 # Node ID 67f6938b3c42fd182b77a8e0181b1eed050e626a # Parent c607e8513b5b7964d5ddd4ff2ae7ffa76835db53 Uploaded diff -r c607e8513b5b -r 67f6938b3c42 toolExample.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolExample.xml Fri Oct 16 12:17:22 2020 +0000 @@ -0,0 +1,199 @@ + + + for each sequence in a file + + fpdf + logomaker + plotnine + python + numpy + matplotlib + seaborn + pandas + + + #set controls=[] + #for $input in $control# + $controls.extend([str($input.element_identifier),str($input)]) + #end for# + #set treateds=[] + #for $input in $treated# + $treateds.extend([str($input.element_identifier),str($input)]) + #end for# + #if $mir_input.database == "1": + #if $f.fil == "1": + #set path=$mir_input.genome1.fields.path + python -W ignore $__tool_directory__/mirbase_ultra_v2.py -con $controls -tre $treateds -analysis $analysis -tool_dir $__tool_directory__ -gen "$path" -f "$mir_input.database" -umis $umis -percentage "-1" -counts "-1" -name1 "$fal1" -name2 "$fal2" + #end if + #if $f.fil == "2": + #set path=$mir_input.genome1.fields.path + python -W ignore $__tool_directory__/mirbase_ultra_v2.py -con $controls -tre $treateds -analysis $analysis -tool_dir $__tool_directory__ -gen "$path" -f "$mir_input.database" -umis $umis -percentage "$f.fil1" -counts "$f.fil2" -name1 "$fal1" -name2 "$fal2" + #end if + #else: + #if $f.fil == "1": + #set path=$mir_input.genome2.fields.value + python -W ignore $__tool_directory__/mirgene_ultra_v2.py -con $controls -tre $treateds -analysis $analysis -tool_dir $__tool_directory__ -gen "$path" -f "$mir_input.database" -umis $umis -percentage "-1" -counts "-1" -name1 "$fal1" -name2 "$fal2" + #end if + #if $f.fil == "2": + #set path=$mir_input.genome2.fields.value + python -W ignore $__tool_directory__/mirgene_ultra_v2.py -con $controls -tre $treateds -analysis $analysis -tool_dir $__tool_directory__ -gen "$path" -f "$mir_input.database" -umis $umis -percentage "$f.fil1" -counts "$f.fil2" -name1 "$fal1" -name2 "$fal2" + #end if + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + db == 1 and (analysis == "1" or analysis == "2") + + + + db == 1 and (analysis == "1" or analysis == "2") + + + + db == 1 and analysis == "2" + + + + db == 1 and analysis == "2" + + + + + + cmatrix==1 + + + + + + c_files==1 and (analysis == "1") + + + + c_files==1 and (analysis == "1") + + + + c_files==1 and analysis == "2" + + + + c_files==1 and analysis == "2" + + + + + + + + + + + + + + + + + + + + + + + + +