Appends the average, min, max of datapoints per interval #if $score_source_type.score_source == "user" #aggregate_scores_in_intervals.py $score_source_type.input2 $input1 ${input1.metadata.chromCol} ${input1.metadata.startCol} ${input1.metadata.endCol} $out_file1 --chrom_buffer=3 #else #aggregate_scores_in_intervals.py $score_source_type.datasets $input1 ${input1.metadata.chromCol} ${input1.metadata.startCol} ${input1.metadata.endCol} $out_file1 -b #end if# .. class:: warningmark This tool currently only has cached data for genome builds hg16, hg17 and hg18. However, you may use your own data point (wiggle) data, such as those available from UCSC. If you are trying to use your own data point file and it is not appearing as an option, make sure that the builds for your history items are the same. .. class:: warningmark This tool assumes that the input dataset is in interval format and contains at least a chrom column, a start column and an end column. These 3 columns can be dispersed throughout any number of other data columns. ----- .. class:: infomark **TIP:** Computing summary information may throw exceptions if the data type (e.g., string, integer) in every line of the columns is not appropriate for the computation (e.g., attempting numerical calculations on strings). If an exception is thrown when computing summary information for a line, that line is skipped as invalid for the computation. The number of invalid skipped lines is documented in the resulting history item as a "Data issue". ----- **Syntax** This tool appends columns of summary information for each interval matched against a selected dataset. For each interval, the average, minimum and maximum for the data falling within the interval is computed. - Several quantitative scores are provided for the ENCODE regions. - Various Scores - Regulatory Potential - Neutral rate (Ancestral Repeats) - GC fraction - Conservation Scores - PhastCons - binCons - GERP ----- **Example** If your original data has the following format: +------+-----+-----+---+------+ |other1|chrom|start|end|other2| +------+-----+-----+---+------+ and you choose to aggregate phastCons scores, your output will look like this: +------+-----+-----+---+------+---+---+---+ |other1|chrom|start|end|other2|avg|min|max| +------+-----+-----+---+------+---+---+---+ where: * **avg** - average phastCons score for each region * **min** - minimum phastCons score for each region * **max** - maximum phastCons score for each region