annotate README.md @ 1:c7f4f2ac38f2 draft default tip

" master branch Updating"
author lain
date Tue, 09 Aug 2022 15:19:45 +0000
parents 426b0f85a311
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
1
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
2
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
3
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
4 History Metadata Extractor
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
5 ===
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
6
1
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
7 summary
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
8 ---
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
9
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
10 This tool xtracts informations from the `jobs_attrs.txt` and
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
11 `datasets_attrs` files in exported histories, and produces an html page
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
12 showing these informations in a kawaii table.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
13
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
14 story
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
15 ---
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
16
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
17 You have conscientiously stored your Galaxy history exports through the
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
18 years and now need to mine into it. You want to check what has been done
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
19 but you fear the time needed to get all the info by reloading your
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
20 histories into Galaxy for manual mining. You know there is this
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
21 'jobs_attrs.txt' file that contains the golden info, but eh...
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
22
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
23 So unfriendly!
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
24
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
25 Worry no more! The History Metadata Extractor is there for you! Just upload
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
26 your 'jobs_attrs.txt' file and generate a user-friendly summary of the main
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
27 basic info you may be interested in. Tools used, parameters set... The overview
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
28 you have been dreaming of in a nice html file! You're welcome :)
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
29
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
30 How to use this tool
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
31 ---
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
32
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
33 Your exported histories are at the zip format.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
34 Extract the history you want to visualize, and upload the following files:
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
35
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
36 * jobs_attrs.txt
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
37 * datasets_attrs.txt
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
38
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
39 Run the History Metadata Extractor tool with these input files. You will get a
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
40 HTML file in output. This file can be viewed clicking on the little eye on
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
41 the right of the output card in the output panel.
0
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
42
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
43
1
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
44 Each history entry is displayed like the following:
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
45
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
46 ```
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
47 [{ID}] - {tool name} - {tool version}
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
48 status: {text status}({error code})
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
49 {table}
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
50 ```
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
51 note that `[ID]` is replaced by `[DELETED]` if the dataset has been deleted.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
52 the error code can be "None" sometimes, if not provided in the archive.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
53
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
54 The table is always presented like the following:
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
55 ```
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
56 | | value | name | extension | hid |
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
57 | parameters 1 | | | | |
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
58 | parameters 2 | | | | |
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
59 | parameters 3 | | | | |
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
60 | ... | ... | ... | ... | ... |
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
61 | parameters n | | | | |
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
62 ```
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
63
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
64 The `value` is the textual representation of the parameter provided.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
65 For files, the value is not very interesting but the name, extension and
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
66 history ID should be meaningfull to you.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
67 The hid value is the same number as the one found between brackets.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
68 So, if a file with hid = 42 has been input to your tool, you can find where
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
69 this file comes from, from its hid.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
70 The only exception is for the `__DATA_FETSH__` tool. This tool is invoked the
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
71 when the "upload" button is pressed, so the hid for these files will always be
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
72 "_weird_".
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
73
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
74 examples
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
75 ===
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
76
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
77 <div style="width: 760px;">
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
78
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
79 Produced tables
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
80 ---
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
81
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
82 Some tables are produced to display the tool's parameters you used.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
83
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
84 ![Example a produced tables](./example/shown_tables.png)
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
85
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
86 Tables can be hidden
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
87 ---
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
88
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
89 We can click on the "fold/unforld tables" button to hide/show the tables.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
90 The table of one dataset can be fold/unfold when clicking on the title
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
91 of the dataset (for example: `[42] - __DATA_FETCH__ - 0.1.0`)
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
92
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
93 ![Tables can be hidden](./example/hidden_tables.png)
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
94
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
95 Displays only non-deleted datasets
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
96 ---
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
97
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
98 "show/hide deleted" will hide deleted datasets. Re-click it to re-display
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
99 deleted datasets.
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
100 ![Displays only non-deleted datasets](./example/not_deleted.png)
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
101
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
102 </div>
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
103
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
104 An [example.html](example/example.html) file can be found in the `example`
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
105 directory.
0
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
106
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
107 Metadata
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
108 ===
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
109
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
110 * **@AUTHOR**: Lain Pavot - lain.pavot@inrae.fr
426b0f85a311 " master branch Updating"
lain
parents:
diff changeset
111 * **@CREATION DATE**: 22/06/2022
1
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
112 * **@LAST UPDATE DATE**: 09/08/2022
c7f4f2ac38f2 " master branch Updating"
lain
parents: 0
diff changeset
113 * **@VERSION**: 0.2.0