Galaxy | Tool Preview

Collapse populations automatically (version 1.0+galaxy1)
This tool automatically collapses populations together based on FLOCK score profiles.

FLOCK score profiles are assigned based on quartile binning of the data. As always, use this tool with caution and be critical of your results


Input

FLOCK or Cross Sample output - a table of the fluorescence intensities for each event and the population associated with each, as well as the file containing the score profiles for each FLOCK population.

Output

The input file with selected populations replaced by the indicated population. This tool also generates a report.


Example

Input - fluorescence intensities per marker and population ID per event:

Marker1 Marker2 Marker3 ... Population
34      45      12      ... 1
33      65      10      ... 5
19      62      98      ... 2
12      36      58      ... 3
...     ...     ...     ... ...

Population profile file:

Population_ID Marker1 Marker2 Marker3 ... Count Percentage
1             2       2       3       ... 3885  6.44
2             1       3       4       ... 2774  4.62
3             2       2       3       ... 2151  3.59
4             1       3       2       ... 1207  2.01
...           ...     ...     ...     ... ...   ...

Output - fluorescence intensities per marker and population ID per event:

Marker1 Marker2 Marker3 ... Population
34      45      12      ... 1
33      65      10      ... 4
19      62      98      ... 2
12      36      58      ... 1
...     ...     ...     ... ...

Output - fluorescence intensities per marker and population ID per event:

New_Population Former_Populations Marker1 Marker2 Marker3 ...
1              1, 3               2       2       3       ...
2              2                  1       3       4       ...
3              4                  1       3       2       ...
4              5, 8, 12           3       1       1       ...
...            ...                ...     ...     ...     ...