Skip to content

Commit 63a6e0e

Browse files
authored
Merge 7abfbfc into 1b8b0c7
2 parents 1b8b0c7 + 7abfbfc commit 63a6e0e

File tree

5 files changed

+31
-5
lines changed

5 files changed

+31
-5
lines changed

qiita_db/software.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,8 +1617,10 @@ def load(cls, command, json_str=None, values_dict=None):
16171617
"but not both")
16181618
elif json_str is not None:
16191619
parameters = loads(json_str)
1620+
16201621
error_msg = ("The provided JSON string doesn't encode a "
1621-
"parameter set for command %s" % command.id)
1622+
"parameter set for command '%s (ID: %s)'" % (
1623+
command.name, command.id))
16221624
else:
16231625
if not isinstance(values_dict, dict):
16241626
raise qdb.exceptions.QiitaDBError(
@@ -1658,6 +1660,7 @@ def load(cls, command, json_str=None, values_dict=None):
16581660
% (error_msg, key))
16591661

16601662
if parameters:
1663+
error_msg += f'--- {cmd_reqd_params} --- {cmd_opt_params}'
16611664
raise qdb.exceptions.QiitaDBError(
16621665
"%s. Extra parameters: %s"
16631666
% (error_msg, ', '.join(parameters.keys())))

qiita_pet/handlers/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def get(self, prep_template_id):
387387
info, bioms and coverage
388388
"""
389389
user = self.current_user
390-
if user.level not in ('admin', 'web-lab admin'):
390+
if user.level not in ('admin', 'wet-lab admin'):
391391
raise HTTPError(403, reason="%s doesn't have access to download "
392392
"the data release files" % user.email)
393393

qiita_pet/handlers/study_handlers/tests/test_processing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ def test_post(self):
152152
self.assertEqual(response.code, 200)
153153
exp = {'status': 'error', 'workflow_id': None, 'job': None,
154154
'message': "The provided JSON string doesn't encode a parameter"
155-
" set for command 3. Missing required parameter: "
155+
" set for command 'Pick closed-reference OTUs "
156+
"(ID: 3)'. Missing required parameter: "
156157
"input_data"}
157158
self.assertDictEqual(loads(response.body), exp)
158159

qiita_pet/support_files/doc/source/processingdata/processing-recommendations.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Shotgun sequencing
7272
------------------
7373

7474
Qiita currently has one active shotgun metagenomics data analysis pipeline: a per sample, paired-end
75-
bowtie2 alignment step with Woltka classification using either the WoLr2 (default) or RS210 databases.
75+
bowtie2 alignment step with Woltka classification using either the WoLr2 (default) or RS225 databases.
7676
Below you will find more information about each of these options.
7777

7878
.. note::
@@ -197,6 +197,23 @@ Note that some of these are legacy option but not available for new processing.
197197
- Genera: 6,811
198198
- Species: 12,258
199199

200+
#. RS225: Collection of reference microbial genomes sampled from the NCBI
201+
RefSeq genome database, as of 2024-08-01. This time point corresponds to
202+
RefSeq release 225. RS225 contains 40,987 genomes from NCBI RefSeq and
203+
11,771 genomes from external sources. The total number of genomes, 52,758,
204+
represents an 78% increase from the previous version of the database.
205+
206+
- Total number of genomes: 52,758
207+
- Total length of genomes (after adding linkers): 170,326,480,530 bp
208+
- Number of genomes by category:
209+
- Archaea: 870
210+
- Bacteria: 32,894
211+
- Fungi: 610
212+
- Protozoa: 93
213+
- Viral: 18,279
214+
- SynDNA Constructs: 12
215+
216+
200217
#. RS210: Collection of reference microbial genomes sampled from the NCBI RefSeq
201218
genome database, as of 2022-01-01. This time point corresponds to RefSeq
202219
release 210.
@@ -212,6 +229,7 @@ Note that some of these are legacy option but not available for new processing.
212229
- Protozoa: 93
213230
- Viral: 7,493
214231

232+
215233
#. WoLr1 ("Web of Life" release 1): An even representation of microbial diversity, selected using an prototype
216234
selection algorithm based on the MinHash distance matrix among all non-redundant bacterial and archaeal genomes
217235
from NCBI (RefSeq and GenBank, complete and draft), plus several genome quality control criteria. A
@@ -236,6 +254,7 @@ Note that some of these are legacy option but not available for new processing.
236254
- Strains: 89
237255
- Note: Nucleotide sequences per genome were concatenated with a linker of 20 "N"s.
238256

257+
239258
#. Rep200: NCBI representative and reference microbial genomes, corresponding to RefSeq release 200 (2020-05-14)
240259

241260
- Genomes: 11,955
@@ -249,6 +268,7 @@ Note that some of these are legacy option but not available for new processing.
249268
- Protozoa: 88
250269
- Viral: 48
251270

271+
252272
#. Rep94: NCBI representative and reference microbial genomes, corresponding to RefSeq release 94.
253273

254274
- Domains: Bacteria, Archaea
@@ -266,6 +286,7 @@ Note that some of these are legacy option but not available for new processing.
266286
- Species: 5,636
267287
- Strains: 84
268288

289+
269290
#. Rep82: NCBI representative and reference microbial genomes, corresponding to RefSeq release 82.
270291

271292
- Not available anymore for new processing
@@ -284,6 +305,7 @@ Note that some of these are legacy option but not available for new processing.
284305
- Species: 11,852
285306
- Strains: 4,263
286307

308+
287309
Metatranscriptome processing
288310
----------------------------
289311

qiita_pet/support_files/doc/source/reanalysis/reanalysis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Other tutorials (e.g. the :ref:`Statistical Analysis`) explain how to process th
109109
* Only 16S raw data: ``https://qiita.ucsd.edu/public_download/?data=raw&study_id=<study-id>&data_type=16S``
110110
* Only Metagenomic BIOMs + mapping files: ``https://qiita.ucsd.edu/public_download/?data=biom&study_id=<study-id>&data_type=Metagenomic``
111111
* Only the sample information file: ``https://qiita.ucsd.edu/public_download/?data=sample_information&study_id=<study-id>``
112-
* Only the preparation information file: ``https://qiita.ucsd.edu/public_download/?data=data=prep_information&prep_id=<prep-id>``
112+
* Only the preparation information file: ``https://qiita.ucsd.edu/public_download/?data=prep_information&prep_id=<prep-id>``
113113

114114
Where ``<study-id>/<prep-id>`` should be replaced with the appropriate study-id/prep-id.
115115

0 commit comments

Comments
 (0)