Skip to content

mlstdb fetch 401 - Ribosomal MLST databases #17

@rfm-targa

Description

@rfm-targa

Greetings!

I am using the mlstdb fetch command to create the mlst_schemes_pubmlst.tab file used by mlst update to download the schema files. I understand that it fails if the user is not registered in the databases available in PubMLST. However, the process failed because I was not registered in the Ribosomal MLST genomes (pubmlst_rmlst_isolates) and Ribosomal MLST typing (pubmlst_rmlst_seqdef) databases. Since registration in these databases has to be manually approved, would it not be better to exclude these two databases from the default mlst fetch process?
I tried to use the --exclude parameter to stop mlstdb from fetching the information for those databases by passing rmlst or rmlst_seqdef, but it still tried to fetch the data for those databases. I managed to complete the process after my registration in the rMLST databases was approved.

Initially, I used the following command:

mlstdb fetch -v --db pubmlst

Which led to a 401 due to not being registered in the rMLST databases. I then updated the command to the following:

mlstdb fetch -v --db pubmlst --exclude "rmlst" (retried with "rmlst_seqdef")

After registration approval, I could run mlstdb fetch to completion.

Cheers,

Rafael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions