To keep the PR discussion cleaner… @xulman galaxyproject/tools-iuc#7893 (comment)
Galaxy developers would need to address how to represent the tracking
What we already have: The representation that we currently use in tools that we already have in Galaxy like https://github.com/BMCV/galaxy-image-analysis/blob/master/tools/points_association_nn/points_association_nn.xml is that we use one tabular file per track, and each tabular file has at least 3 columns. The first row of each tabular file contains the column names frame, pos_x, pos_y, where frame is the frame index (0-based indexing).
Trackastra-Galaxy PR: From looking at test-data/track_only/man_track.tsv, I assume that the representation that you currently use is a tabular file with 4 columns. It looks like column 1 is the frame index, and the other 3 columns are the track ID, x position, y position, I suppose? But in which order?
If I'm right, then changing the representation to something that we already have in Galaxy should be quite easy, and it would certainly facilitate tool interoperability and downstream analysis with tools that we already have:
(a) Add column names to the first row of the file.
(b) In addition to (a), adopt the column names frame, pos_x, pos_y.
(c) Use one tabular file with those columns per track, multiple files grouped together as a collection in Galaxy to represent the set of all tracks in an image sequence. The main motivation for this is, that otherwise the file gets quite large and difficult to inspect manually. Using one file per track eases the manual inspection.
What you think?
To keep the PR discussion cleaner… @xulman galaxyproject/tools-iuc#7893 (comment)
What we already have: The representation that we currently use in tools that we already have in Galaxy like https://github.com/BMCV/galaxy-image-analysis/blob/master/tools/points_association_nn/points_association_nn.xml is that we use one tabular file per track, and each tabular file has at least 3 columns. The first row of each tabular file contains the column names
frame,pos_x,pos_y, whereframeis the frame index (0-based indexing).Trackastra-Galaxy PR: From looking at test-data/track_only/man_track.tsv, I assume that the representation that you currently use is a tabular file with 4 columns. It looks like column 1 is the frame index, and the other 3 columns are the track ID, x position, y position, I suppose? But in which order?
If I'm right, then changing the representation to something that we already have in Galaxy should be quite easy, and it would certainly facilitate tool interoperability and downstream analysis with tools that we already have:
(a) Add column names to the first row of the file.
(b) In addition to (a), adopt the column names
frame,pos_x,pos_y.(c) Use one tabular file with those columns per track, multiple files grouped together as a collection in Galaxy to represent the set of all tracks in an image sequence. The main motivation for this is, that otherwise the file gets quite large and difficult to inspect manually. Using one file per track eases the manual inspection.
What you think?