You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to portail's Profile page and get credentials pair (username/password).
14
+
Go to `ENCODE` - `Authorize`. Credentials entered here will be shared for all sheets in the whole spreadsheet, but **NOT SHARED WITH OTHERS EVEN WHEN THEY MAKE A COPY OF YOUR SPREADSHEET**.
15
+
16
+
17
+
## Set a profile name
18
+
19
+
Go to `ENCODE` - `Set profile name` and enter a valid profile name. A profile name in snakecase or capitalized CamelCase are allowed. For example, `experiment`, `Expertiment`, `biosample_type` and `BiosampleType`. Such profile name should be set for each sheet.
20
+
21
+
22
+
## Check your current profile
23
+
24
+
Go to `ENCODE` - `Show sheet/header info`.
25
+
26
+
27
+
## Special commented headers
28
+
29
+
Data values under commented headers will be ignored and not be sent to the portal.
30
+
31
+
-`#skip`: For all REST actions (GET/PUT/POST). You can additionally make `#skip` header and set row's data cell as 1 to skip REST actions for that specific row.
32
+
-`#error`: For debugging purposese. This is filled with `HTTP ERROR CODE` + `HELP TEXT MESSAGE` for any recent REST action.
33
+
34
+
35
+
## Make a POST template based on profile
36
+
37
+
Once you set a valid profile name, go to `ENCODE` - `Make new template row`. This will make a new row with empty/default values for each property. This templatre include ALL editable properties for a given profile. Some of them are shown but not editable (e.g. `schema_version` and `accession`).
38
+
39
+
40
+
## GET metadata from portal
41
+
42
+
Make a new header with a proper identifying property (`accession` or `uuid` according to the given profile). And then define accession/uuids you want to retrieve from the portal under the header. Go to `ENCODE` - `Get metadata for all raws`.
43
+
44
+
45
+
## PUT metadata to portal
46
+
47
+
GET metadata from portal first and then edit it. Set `#skip` as `0` if it is present and then go to `ENCODE` - `PUT all rows to the portal` .
48
+
49
+
50
+
## POST metadata to portal
51
+
52
+
Starting from a template or existing metadata (retrieved from GET), set `#skip` as `0` if it is present and then go to `ENCODE` - `POST all rows to the portal` .
53
+
54
+
55
+
## How to debug?
56
+
57
+
Any REST (GET/PUT/POST) action will return `HTTP ERROR CODE` + `HELP TEXT MESSAGE` in the `#error` column. Fix your problem with the help message and resubmit.
58
+
59
+
60
+
## How to search for items on portal
61
+
62
+
Go to a data cell and hover your mouse on the header (1st row) of the column and check if it's shown as `SEARCH AVAILABLE` in its tooltop. On a data cell that you want to edit, go to `ENCODE` - `Search`. Then you will see a dialog box to edit your values.
0 commit comments