Skip to content

claMLST import relies on deprecated pubMLST API DB list #34

@meg256

Description

@meg256

I tested claMLST import and noticed that it does not seem to list all possible pubMLST schemes (for example, E. coli Achtman is missing).

It seems that your get_mlst_species function pulls its scheme list from the pubMLST REST API landing page.

Unfortunately, I suspect that this landing page has not been updated since 2017, when the REST API was first created.

Can I recommend instead populating your scheme list from the pubMLST database XML? Or the static link.

For example, "Escherichia coli#1" aka E. coli Achtman - https://rest.pubmlst.org/db/pubmlst_ecoli_achtman_seqdef

{"loci":"https://rest.pubmlst.org/db/pubmlst_ecoli_achtman_seqdef/loci","curators":"https://rest.pubmlst.org/db/pubmlst_ecoli_achtman_seqdef/curators","schemes":"https://rest.pubmlst.org/db/pubmlst_ecoli_achtman_seqdef/schemes","sequences":"https://rest.pubmlst.org/db/pubmlst_ecoli_achtman_seqdef/sequences"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions