Mercurial > repos > galaxy-australia > dorado
comparison README.md @ 1:fc5b6491cf78 draft
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit c42b6e3fd2cf6d26e231645a9e8a2986503279e2
author | galaxy-australia |
---|---|
date | Mon, 22 Jul 2024 04:51:23 +0000 |
parents | 63d8ecfcfab1 |
children | 99c9427219d3 |
comparison
equal
deleted
inserted
replaced
0:63d8ecfcfab1 | 1:fc5b6491cf78 |
---|---|
23 To update the list, modify `tool-data/dorado_models.loc.sample`. | 23 To update the list, modify `tool-data/dorado_models.loc.sample`. |
24 | 24 |
25 Because models can be added and removed, models are listed **per container** in | 25 Because models can be added and removed, models are listed **per container** in |
26 the loc file. | 26 the loc file. |
27 | 27 |
28 Here's some code to **append** the models from the container with hash | 28 Here's some code to update the loc file with models from the container with hash |
29 `1c65eb070a9fc1d88710c4dc09b06541f96fdd28` to the loc file. | 29 `1c65eb070a9fc1d88710c4dc09b06541f96fdd28`. |
30 | 30 |
31 ```bash | 31 ```bash |
32 export DORADO_HASH="1c65eb070a9fc1d88710c4dc09b06541f96fdd28" | 32 export DORADO_HASH="1c65eb070a9fc1d88710c4dc09b06541f96fdd28" |
33 | 33 |
34 apptainer exec "docker://nanoporetech/dorado:sha${DORADO_HASH}" \ | 34 apptainer exec "docker://nanoporetech/dorado:sha${DORADO_HASH}" \ |
35 ls /models | \ | 35 ls /models | \ |
36 awk -v hash="${DORADO_HASH}" '{print hash "_" $0 "\t" hash "\t" $0 "\t/models/" $0}' \ | 36 awk -v hash="${DORADO_HASH}" '{print hash "_" $0 "\t" hash "\t" $0 "\t/models/" $0}' \ |
37 >> tool-data/dorado_models.loc.sample | 37 > tool-data/dorado_models.loc.sample |
38 ``` | 38 ``` |
39 | 39 |
40 The loc file doesn't have a header, so you can keep it sorted. | 40 The loc file doesn't have a header, so you can keep it sorted. |
41 | 41 |
42 ```bash | 42 ```bash |