# HG changeset patch # User glogobyte # Date 1602874734 0 # Node ID 66cc86c611bbd21bcb50f53d714a4a550722dc65 # Parent 6633f444709028989d468a7086d3bb8c9ebbba83 Uploaded diff -r 6633f4447090 -r 66cc86c611bb toolExample_v2.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolExample_v2.xml Fri Oct 16 18:58:54 2020 +0000 @@ -0,0 +1,136 @@ + + + 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" + + + + + + +