In short, you would want to avoid mixing rows of containing a different
number of columns or empty values being used in the calculation. So,
this would be possible as long as:
1. There are an equal number of columns per row in the file overall.
This may mean that "null" or empty values have to be padded.
2. Any null or padded values are either not included in the calculation
or are padded with a "0", if that still makes sense for your calculation.
If this doesn't seem to meet you needs, perhaps filtering the data into
different populations, performing the calculation, then merging the
result is an option (as would grouping the steps into a workflow). Using
tools such as "Filter" or "Select" with "Cut" and "Paste" would likely
On 12/10/12 5:20 AM, Joachim Jacob wrote:
I wonder if there is a method for calculating a metric (e.g. sum) per
row (working on a tabular dataset). But, each row contains a different
number of values (i.e. some columns are empty). Can I compute this,
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org. Please keep all replies on the list by
using "reply all" in your mail client. For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:
To manage your subscriptions to this and other Galaxy lists,
please use the interface at: