npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/bridgedb

v3.0.0

Published

DataFire integration for bridgedb webservices

Downloads

1

Readme

@datafire/bridgedb

Client library for bridgedb webservices

Installation and Usage

npm install --save @datafire/bridgedb
let bridgedb = require('@datafire/bridgedb').create();

.then(data => {
  console.log(data);
});

Description

Actions

organism.attributeSearch.query.get

Returns a list of xrefs and associated attributes that contain the query string for a given organism. Results are not restricted to exact matches. Optionally limit results to a specified number per data source, or by the type of attribute. See possible attribute types via /{organism}/attributeSet.

bridgedb.organism.attributeSearch.query.get({
  "organism": "",
  "query": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • query required string: Text to find in attributes
    • limit integer: Number of results
    • attrName string: Restrict search by attribute name (case sensitive). Use GET /{organism}/attributeSet to find out which attributes are supported.

Output

Output schema unknown

organism.attributeSet.get

Returns the supported attributes to the given Organism.

bridgedb.organism.attributeSet.get({
  "organism": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.

Output

Output schema unknown

organism.attributes.systemCode.identifier.get

Returns the attributes for a given identifier, data source, organism. Optionally display only a specified attribute

bridgedb.organism.attributes.systemCode.identifier.get({
  "organism": "",
  "systemCode": "",
  "identifier": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • systemCode required string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): System
    • identifier required string: Identifier
    • attrName string: Type of attribute

Output

Output schema unknown

organism.isFreeSearchSupported.get

Returns true or false based on whether or not /{organism}/search/{query} is supported for a given organism.

bridgedb.organism.isFreeSearchSupported.get({
  "organism": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.

Output

Output schema unknown

organism.isMappingSupported.sourceSystemCode.targetSystemCode.get

Returns true or false based on whether or not /{organism}/xrefs/{systemCode}/{identifier} would possibly return a {targetSystemCode} result given a {sourceSystemCode} query. This function basically combines the results of /{organism}/sourceDataSources and /{organism}/targetDataSources into a single boolean result.

bridgedb.organism.isMappingSupported.sourceSystemCode.targetSystemCode.get({
  "organism": "",
  "sourceSystemCode": "",
  "targetSystemCode": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • sourceSystemCode required string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): System code for source (input/query) data source
    • targetSystemCode required string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): System code for target (output/result) data source

Output

Output schema unknown

organism.properties.get

Returns the list of properties available for a given organism

bridgedb.organism.properties.get({
  "organism": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.

Output

Output schema unknown

organism.search.query.get

Returns a list of xrefs with identifiers that contain the query string for a given organism. Results are not restricted to exact matches. Optionally limit results to a specified number per data source.

bridgedb.organism.search.query.get({
  "organism": "",
  "query": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • query required string: Identifier query
    • limit integer: Number of results per data source

Output

Output schema unknown

organism.sourceDataSources.get

Returns a list of data sources available as xref sources for a given organism.

bridgedb.organism.sourceDataSources.get({
  "organism": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.

Output

Output schema unknown

organism.targetDataSources.get

Returns a list of data sources available as xref targets for a given organism.

bridgedb.organism.targetDataSources.get({
  "organism": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.

Output

Output schema unknown

organism.xrefExists.systemCode.identifier.get

Returns true or false based on whether or not an xref exists in the database given an identifier, data source, and organism.

bridgedb.organism.xrefExists.systemCode.identifier.get({
  "organism": "",
  "systemCode": "",
  "identifier": ""
}, context)

Input

  • input object
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • systemCode required string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): Source (input) data source system code
    • identifier required string: Identifier

Output

Output schema unknown

organism.xrefs.systemCode.identifier.get

Returns a list of xrefs that map to a given identifier, data source, and organism.

bridgedb.organism.xrefs.systemCode.identifier.get({
  "organism": "",
  "systemCode": "",
  "identifier": ""
}, context)

Input

  • input object
    • dataSource string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): (Optional) Restrict results by data source system code
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • systemCode required string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): Source (input) data source system code
    • identifier required string: Identifier

Output

Output schema unknown

organism.xrefsBatch.post

Returns a list of xrefs, per identifier, that maps to a given list of identifiers an data source given an organism.

bridgedb.organism.xrefsBatch.post({
  "organism": "",
  "body": ""
}, context)

Input

  • input object
    • dataSource string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): (Optional) Restrict results by data source system code
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • body required string

Output

Output schema unknown

organism.xrefsBatch.systemCode.post

Returns a list of xrefs, that maps to a given list of identifiers to a given data source and organism.

bridgedb.organism.xrefsBatch.systemCode.post({
  "organism": "",
  "systemCode": "",
  "body": ""
}, context)

Input

  • input object
    • dataSource string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): (Optional) Restrict results by data source system code
    • organism required string (values: Human, Homo sapiens, Tuberculosis, Mycobacterium tuberculosis, Mosquito, Anopheles gambiae, Zebra fish, Danio rerio, Arabidopsis thaliana, Rice, Oryza sativa, Sea Squirt, Ciona intestinalis, Barley, Hordeum vulgare, Frog, Xenopus tropicalis, Soybean, Glycine max, Fruit fly, Drosophila melanogaster, Horse, Equus caballus, Rhesus Monkey, Macaca mulatta, Wine Grape, Vitis vinifera, Yeast, Saccharomyces cerevisiae, Tomato, Solanum lycopersicum, Rat, Rattus norvegicus, Cow, Bos taurus, Western Balsam Poplar, Populus trichocarpa, Chimpanzee, Pan troglodytes, Indian Rice, Oryza indica, Dog, Canis familiaris, Maize, Zea mays, Pig, Sus scrofa, Worm, Caenorhabditis elegans, Platypus, Ornithorhynchus anatinus, Chicken, Gallus gallus, Fusarium graminearum, Gibberella zeae, Bacillus subtilis, Escherichia coli, Black mold, Aspergillus niger, Mouse, Mus musculus): Organism Latin name or short name.
    • systemCode required string (values: En, Cs, X, E, Rh, Ck, Eco, Cg, Ch, Il, Uc, Rf, Pd, U, Ma, Lm, Wd, Wi, Cpc, Mb, Rk, Ce, S, L, Wg, Om, T, Mc, Ik, H, Re, Ag, Q, Ca, Up, Cks): Source (input) data source system code
    • body required string

Output

Output schema unknown

Definitions

This integration has no definitions