hi! i found it hard to get the sum of the length of regions. I ended up multiplying mean (sum stats) by the number of regions, for which I had to calculate the length with an expression first. Maybe I overlooked a simple way of getting what i want? radek --- Radek Szklarczyk, radek@cs.vu.nl, www.cs.vu.nl/~radek
Radek, I believe the tool Base Coverage under Operate on Genomic Intervals (bx) is what you are looking for. It simply outputs the total number of bases covered by a set of intervals, which is the combined length of all intervals. In addition, multiplying the mean by the number of regions would count the bases covered by overlapping regions twice (or more). Perhaps adding "Total" to the summary stats is a good idea though. Ian Radek Szklarczyk wrote:
hi!
i found it hard to get the sum of the length of regions. I ended up multiplying mean (sum stats) by the number of regions, for which I had to calculate the length with an expression first. Maybe I overlooked a simple way of getting what i want?
radek --- Radek Szklarczyk, radek@cs.vu.nl, www.cs.vu.nl/~radek <http://www.cs.vu.nl/%7Eradek>
------------------------------------------------------------------------
_______________________________________________ Galaxy-user mailing list Galaxy-user@bx.psu.edu http://mail.bx.psu.edu/cgi-bin/mailman/listinfo/galaxy-user
I didn't find this one! thanks! I solved the problem of overlapping regions by intersecting regions with itself. radek --- Radek Szklarczyk, radek@cs.vu.nl, www.cs.vu.nl/~radek On 29 Aug 2006, at 19:13, Ian Schenck wrote:
Radek,
I believe the tool Base Coverage under Operate on Genomic Intervals (bx) is what you are looking for. It simply outputs the total number of bases covered by a set of intervals, which is the combined length of all intervals.
In addition, multiplying the mean by the number of regions would count the bases covered by overlapping regions twice (or more).
Perhaps adding "Total" to the summary stats is a good idea though.
Ian
Radek Szklarczyk wrote:
hi!
i found it hard to get the sum of the length of regions. I ended up multiplying mean (sum stats) by the number of regions, for which I had to calculate the length with an expression first. Maybe I overlooked a simple way of getting what i want?
radek --- Radek Szklarczyk, radek@cs.vu.nl, www.cs.vu.nl/~radek <http:// www.cs.vu.nl/%7Eradek>
--------------------------------------------------------------------- ---
_______________________________________________ Galaxy-user mailing list Galaxy-user@bx.psu.edu http://mail.bx.psu.edu/cgi-bin/mailman/listinfo/galaxy-user
participants (2)
-
Ian Schenck
-
Radek Szklarczyk