nmdc-schema


Namenmdc-schema JSON
Version 11.2.1 PyPI version JSON
download
home_pagehttps://microbiomedata.github.io/nmdc-schema/
SummarySchema resources for the National Microbiome Data Collaborative (NMDC)
upload_time2024-12-07 20:40:48
maintainerNone
docs_urlNone
authorBill Duncan
requires_python<4.0,>=3.9
licenseMIT
keywords nmdc schema metadata microbiome
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div style="text-align: center;">
    <img src="https://raw.githubusercontent.com/microbiomedata/nmdc-schema/main/images/nmdc_logo_long.jpeg" width="119" height="40" alt="Long NMDC logo"/>
</div>

# National Microbiome Data Collaborative Schema

[![PyPI - License](https://img.shields.io/pypi/l/nmdc-schema)](https://github.com/microbiomedata/nmdc-schema/blob/main/LICENSE)
[![PyPI version](https://badge.fury.io/py/nmdc-schema.svg?any-param=to-cause-a-cache-miss)](https://badge.fury.io/py/nmdc-schema)

The mission of the NMDC is to build a FAIR microbiome data sharing network, through infrastructure, data standards,
and community building, that addresses pressing challenges in environmental sciences. The NMDC platform is built on
top of a unified data model (schema) that weaves together existing standards and ontologies to provide a systematic
representation of all aspects of the microbiome data life cycle.

This repository mainly defines a [LinkML](https://github.com/linkml/linkml) schema for managing metadata from
the [National Microbiome Data Collaborative (NMDC)](https://microbiomedata.org/).

## Documentation

The documentation for the NMDC schema can be found at [https://microbiomedata.github.io/nmdc-schema/](https://microbiomedata.github.io/nmdc-schema/).
This documentation is aimed at consumers of NMDC data and metadata, it describes the different data elements used to describe studies, samples,
sample processing, data generation, workflows, and downstream data objects.

The NMDC [Introduction to metadata and ontologies](https://microbiomedata.org/introduction-to-metadata-and-ontologies/)
primer provides some the context for this project.

The remainder of this page is primary for the internal maintainers and contributors to the NMDC schema

## Repository Contents Overview

Some products that are maintained, and tasks orchestrated within this repository are:

- Maintenance of LinkML YAML that specifies the NMDC Schema
    - [src/schema/nmdc.yaml](src/schema/nmdc.yaml)
    - and various other YAML schemas imported by it,
      like [prov.yaml](src/schema/prov.yaml), [annotation.yaml](src/schema/annotation.yaml), etc. all which you can find
      in the [src/schema](src/schema/) folder
- Makefile targets for converting the schema from it's native LinkML YAML format to other artifact
  like [JSON Schema](project/jsonschema/nmdc.schema.json)
- Build, deployment and distribution of the schema as a PyPI package
- Automatic publishing of refreshed documentation upon change to the schema,
  accessible [here](https://microbiomedata.github.io/nmdc-schema/)

## Maintaining the Schema

See [DEVELOPMENT.md](DEVELOPMENT.md) for instructions on setting up a development environment.

See [MAINTAINERS.md](MAINTAINERS.md) for instructions on using that development environment to maintain the schema.

## Makefiles

Makefiles are text files people can use to tell [`make`](https://www.gnu.org/software/make/manual/make.html#Introduction) (a computer program) how it can _make_ things (or—in general—_do_ things). In the world of Makefiles, those _things_ are called _targets_.

This repo contains 2 Makefiles:
- `Makefile`, based on the generic Makefile from the [LinkML cookiecutter](https://github.com/linkml/linkml-project-cookiecutter)
- `project.Makefile`, which contains _targets_ that are specific to this project

Here's an example of using `make` in this repo:

```shell
# Deletes all files in `examples/output`.
make examples-clean
```
> The `examples-clean` _target_ is defined in the `project.Makefile`. In this repo, the `Makefile` `include`s the `project.Makefile`. As a result, `make` has access to the _targets_ defined in both files.

## Data downloads

The NMDC's metadata about biosamples, studies, bioinformatics workflows, etc. can be obtained from our nmdc-runtime API.
Try entering "biosample_set" or "study_set" into the `collection_name` box
at https://api.microbiomedata.org/docs#/metadata/list_from_collection_nmdcschema__collection_name__get

Or use the API programmatically! Note that some collections are large, so the responses are paged.

You can learn about the other available collections at https://microbiomedata.github.io/nmdc-schema/Database/


            

Raw data

            {
    "_id": null,
    "home_page": "https://microbiomedata.github.io/nmdc-schema/",
    "name": "nmdc-schema",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "NMDC, schema, metadata, microbiome",
    "author": "Bill Duncan",
    "author_email": "wdduncan@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/95/2f/eca793caa070ea7840fb715a509b158971b2579d1407e16ab3dbd8c908bf/nmdc_schema-11.2.1.tar.gz",
    "platform": null,
    "description": "<div style=\"text-align: center;\">\n    <img src=\"https://raw.githubusercontent.com/microbiomedata/nmdc-schema/main/images/nmdc_logo_long.jpeg\" width=\"119\" height=\"40\" alt=\"Long NMDC logo\"/>\n</div>\n\n# National Microbiome Data Collaborative Schema\n\n[![PyPI - License](https://img.shields.io/pypi/l/nmdc-schema)](https://github.com/microbiomedata/nmdc-schema/blob/main/LICENSE)\n[![PyPI version](https://badge.fury.io/py/nmdc-schema.svg?any-param=to-cause-a-cache-miss)](https://badge.fury.io/py/nmdc-schema)\n\nThe mission of the NMDC is to build a FAIR microbiome data sharing network, through infrastructure, data standards,\nand community building, that addresses pressing challenges in environmental sciences. The NMDC platform is built on\ntop of a unified data model (schema) that weaves together existing standards and ontologies to provide a systematic\nrepresentation of all aspects of the microbiome data life cycle.\n\nThis repository mainly defines a [LinkML](https://github.com/linkml/linkml) schema for managing metadata from\nthe [National Microbiome Data Collaborative (NMDC)](https://microbiomedata.org/).\n\n## Documentation\n\nThe documentation for the NMDC schema can be found at [https://microbiomedata.github.io/nmdc-schema/](https://microbiomedata.github.io/nmdc-schema/).\nThis documentation is aimed at consumers of NMDC data and metadata, it describes the different data elements used to describe studies, samples,\nsample processing, data generation, workflows, and downstream data objects.\n\nThe NMDC [Introduction to metadata and ontologies](https://microbiomedata.org/introduction-to-metadata-and-ontologies/)\nprimer provides some the context for this project.\n\nThe remainder of this page is primary for the internal maintainers and contributors to the NMDC schema\n\n## Repository Contents Overview\n\nSome products that are maintained, and tasks orchestrated within this repository are:\n\n- Maintenance of LinkML YAML that specifies the NMDC Schema\n    - [src/schema/nmdc.yaml](src/schema/nmdc.yaml)\n    - and various other YAML schemas imported by it,\n      like [prov.yaml](src/schema/prov.yaml), [annotation.yaml](src/schema/annotation.yaml), etc. all which you can find\n      in the [src/schema](src/schema/) folder\n- Makefile targets for converting the schema from it's native LinkML YAML format to other artifact\n  like [JSON Schema](project/jsonschema/nmdc.schema.json)\n- Build, deployment and distribution of the schema as a PyPI package\n- Automatic publishing of refreshed documentation upon change to the schema,\n  accessible [here](https://microbiomedata.github.io/nmdc-schema/)\n\n## Maintaining the Schema\n\nSee [DEVELOPMENT.md](DEVELOPMENT.md) for instructions on setting up a development environment.\n\nSee [MAINTAINERS.md](MAINTAINERS.md) for instructions on using that development environment to maintain the schema.\n\n## Makefiles\n\nMakefiles are text files people can use to tell [`make`](https://www.gnu.org/software/make/manual/make.html#Introduction) (a computer program) how it can _make_ things (or\u2014in general\u2014_do_ things). In the world of Makefiles, those _things_ are called _targets_.\n\nThis repo contains 2 Makefiles:\n- `Makefile`, based on the generic Makefile from the [LinkML cookiecutter](https://github.com/linkml/linkml-project-cookiecutter)\n- `project.Makefile`, which contains _targets_ that are specific to this project\n\nHere's an example of using `make` in this repo:\n\n```shell\n# Deletes all files in `examples/output`.\nmake examples-clean\n```\n> The `examples-clean` _target_ is defined in the `project.Makefile`. In this repo, the `Makefile` `include`s the `project.Makefile`. As a result, `make` has access to the _targets_ defined in both files.\n\n## Data downloads\n\nThe NMDC's metadata about biosamples, studies, bioinformatics workflows, etc. can be obtained from our nmdc-runtime API.\nTry entering \"biosample_set\" or \"study_set\" into the `collection_name` box\nat https://api.microbiomedata.org/docs#/metadata/list_from_collection_nmdcschema__collection_name__get\n\nOr use the API programmatically! Note that some collections are large, so the responses are paged.\n\nYou can learn about the other available collections at https://microbiomedata.github.io/nmdc-schema/Database/\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Schema resources for the National Microbiome Data Collaborative (NMDC)",
    "version": "11.2.1",
    "project_urls": {
        "Documentation": "https://microbiomedata.github.io/nmdc-schema/",
        "Homepage": "https://microbiomedata.github.io/nmdc-schema/",
        "Repository": "https://github.com/microbiomedata/nmdc-schema"
    },
    "split_keywords": [
        "nmdc",
        " schema",
        " metadata",
        " microbiome"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a884e21fb986f1f1ca8f9ad375cf92e3e496628caf05bf7331981b9bce5e9ac",
                "md5": "36a4d8f05af61cff09b08f96192e1fb3",
                "sha256": "8f0bb01eeebfff820974e766d3286b4bad60edcecba6a8deb1ebaf924127aac6"
            },
            "downloads": -1,
            "filename": "nmdc_schema-11.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36a4d8f05af61cff09b08f96192e1fb3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 552169,
            "upload_time": "2024-12-07T20:40:46",
            "upload_time_iso_8601": "2024-12-07T20:40:46.541633Z",
            "url": "https://files.pythonhosted.org/packages/7a/88/4e21fb986f1f1ca8f9ad375cf92e3e496628caf05bf7331981b9bce5e9ac/nmdc_schema-11.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "952feca793caa070ea7840fb715a509b158971b2579d1407e16ab3dbd8c908bf",
                "md5": "454ff0f8da91efaf70d5b404169e8efb",
                "sha256": "a85f04120e875caf9802e6e1cff7bd9a4691a4dabf04be5707bcfa569622512c"
            },
            "downloads": -1,
            "filename": "nmdc_schema-11.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "454ff0f8da91efaf70d5b404169e8efb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 512543,
            "upload_time": "2024-12-07T20:40:48",
            "upload_time_iso_8601": "2024-12-07T20:40:48.976998Z",
            "url": "https://files.pythonhosted.org/packages/95/2f/eca793caa070ea7840fb715a509b158971b2579d1407e16ab3dbd8c908bf/nmdc_schema-11.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-07 20:40:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "microbiomedata",
    "github_project": "nmdc-schema",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nmdc-schema"
}
        
Elapsed time: 0.63703s