comparison README.rst @ 16:f9eb041c518c draft

planemo upload for repository https://github.com/usegalaxy-au/tools-au commit ee77734f1800350fa2a6ef28b2b8eade304a456f-dirty
author galaxy-australia
date Mon, 03 Apr 2023 01:00:42 +0000
parents d00e15139065
children
comparison
equal deleted inserted replaced
15:a58f7eb0df2c 16:f9eb041c518c
73 73
74 REFERENCE DATA 74 REFERENCE DATA
75 ~~~~~~~~~~~~~~ 75 ~~~~~~~~~~~~~~
76 76
77 Alphafold needs reference data to run. The wrapper expects this data to 77 Alphafold needs reference data to run. The wrapper expects this data to
78 be present at ``/data/alphafold_databases``. A custom path will be read from 78 be present at ``/$ALPHAFOLD_DB/TOOL_MINOR_VERSION``.
79 the ``ALPHAFOLD_DB`` environment variable, if set. 79 Where ``ALPHAFOLD_DB`` is a custom path that will be read from
80 the ``ALPHAFOLD_DB`` environment variable (defaulting to ``/data``).
81 And TOOL_MINOR_VERSION is the alphafold version, e.g. ``2.3.1``.
80 82
81 To download the AlphaFold reference DBs: 83 To download the AlphaFold reference DBs:
82 84
83 :: 85 ::
84 86
85 # Set your AlphaFold DB path 87 # Set your AlphaFold DB path
86 ALPHAFOLD_DB=/data/alphafold_databases 88 ALPHAFOLD_DB=/data/alphafold_databases/2.3.1
87 89
88 # Set your target AlphaFold version 90 # Set your target AlphaFold version
89 ALPHAFOLD_VERSION= # e.g. 2.1.2 91 ALPHAFOLD_VERSION=2.3.1
90 92
91 # Download repo 93 # Download repo
92 wget https://github.com/deepmind/alphafold/releases/tag/v${ALPHAFOLD_VERSION}.tar.gz 94 wget https://github.com/deepmind/alphafold/releases/tag/v${ALPHAFOLD_VERSION}.tar.gz
93 tar xzf v${ALPHAFOLD_VERSION}.tar.gz 95 tar xzf v${ALPHAFOLD_VERSION}.tar.gz
94 96
108 :: 110 ::
109 111
110 # NOTE: this structure will change between minor AlphaFold versions 112 # NOTE: this structure will change between minor AlphaFold versions
111 # The tree shown below was updated for v2.3.1 113 # The tree shown below was updated for v2.3.1
112 114
113 data/alphafold_databases 115 data/alphafold_databases/2.3.1/
114 ├── bfd 116 ├── bfd
115 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_a3m.ffdata 117 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_a3m.ffdata
116 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_a3m.ffindex 118 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_a3m.ffindex
117 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_cs219.ffdata 119 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_cs219.ffdata
118 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_cs219.ffindex 120 │   ├── bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt_cs219.ffindex
174 176
175 The ``$ALPHAFOLD_DB_ROOT`` directory should now contain this additional file: 177 The ``$ALPHAFOLD_DB_ROOT`` directory should now contain this additional file:
176 178
177 :: 179 ::
178 180
179 data/alphafold_databases 181 data/alphafold_databases/2.3.1/
180 ├── small_bfd 182 ├── small_bfd
181 │   └── bfd-first_non_consensus_sequences.fasta 183 │   └── bfd-first_non_consensus_sequences.fasta
182 184
183 185
184 **Upgrading database versions** 186 **Upgrading database versions**
191 components that have changed. 193 components that have changed.
192 194
193 If you wish to continue hosting prior versions of the tool, you must maintain 195 If you wish to continue hosting prior versions of the tool, you must maintain
194 the reference DBs for each version. The ``ALPHAFOLD_DB`` environment variable 196 the reference DBs for each version. The ``ALPHAFOLD_DB`` environment variable
195 must then be set respectively for each tool version in your job conf (on Galaxy 197 must then be set respectively for each tool version in your job conf (on Galaxy
196 AU this is currently `configured with TPV<https://github.com/usegalaxy-au/infrastructure/blob/master/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml#L1515-L1554>`_). 198 AU this is currently `configured with TPV <https://github.com/usegalaxy-au/infrastructure/blob/master/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml#L1515-L1554>`_).
197 199
198 To minimize redundancy between DB version, we have symlinked the database 200 To minimize redundancy between DB version, we have symlinked the database
199 components that are unchanging between versions. In ``v2.1.2 -> v2.3.1`` the BFD 201 components that are unchanging between versions. In ``v2.1.2 -> v2.3.1`` the BFD
200 database is the only component that is persistent, but they are by far the 202 database is the only component that is persistent, but they are by far the
201 largest on disk. 203 largest on disk.