nmdc-schema


Namenmdc-schema JSON
Version 10.1.4 PyPI version JSON
download
home_pagehttps://microbiomedata.github.io/nmdc-schema/
SummarySchema resources for the National Microbiome Data Collaborative (NMDC)
upload_time2024-03-11 19:18:05
maintainer
docs_urlNone
authorBill Duncan
requires_python>=3.9,<4.0
licenseMIT
keywords nmdc schema metadata microbiome
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
    <img src="https://raw.githubusercontent.com/microbiomedata/nmdc-schema/main/images/nmdc_logo_long.jpeg" width="119" height="40"/>
</p>

# 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": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "NMDC,schema,metadata,microbiome",
    "author": "Bill Duncan",
    "author_email": "wdduncan@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a5/2e/af2a2fb81c7d1c867358cfdda1e9743581fe9fa156cb7b82cd86504d6ac6/nmdc_schema-10.1.4.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <img src=\"https://raw.githubusercontent.com/microbiomedata/nmdc-schema/main/images/nmdc_logo_long.jpeg\" width=\"119\" height=\"40\"/>\n</p>\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": "10.1.4",
    "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": "a6665d17b7602c635e3c1ddd7e4a4264cd49aee072e1f629edc2587a4d21f2c4",
                "md5": "99d098d08a897c34352204dfceb631e9",
                "sha256": "50bd5ee1cb3b743452e6050f1c2bb108605fd641f47475f005e9b5d766bea6b1"
            },
            "downloads": -1,
            "filename": "nmdc_schema-10.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "99d098d08a897c34352204dfceb631e9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 698056,
            "upload_time": "2024-03-11T19:18:01",
            "upload_time_iso_8601": "2024-03-11T19:18:01.643776Z",
            "url": "https://files.pythonhosted.org/packages/a6/66/5d17b7602c635e3c1ddd7e4a4264cd49aee072e1f629edc2587a4d21f2c4/nmdc_schema-10.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a52eaf2a2fb81c7d1c867358cfdda1e9743581fe9fa156cb7b82cd86504d6ac6",
                "md5": "48c9a5bd7eeed2122cacf4f63285e5c9",
                "sha256": "7d2f1d501f0b3f73cff500798b5f58d7c010219ab467c57148a6fac50adb2f2e"
            },
            "downloads": -1,
            "filename": "nmdc_schema-10.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "48c9a5bd7eeed2122cacf4f63285e5c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 674408,
            "upload_time": "2024-03-11T19:18:05",
            "upload_time_iso_8601": "2024-03-11T19:18:05.748860Z",
            "url": "https://files.pythonhosted.org/packages/a5/2e/af2a2fb81c7d1c867358cfdda1e9743581fe9fa156cb7b82cd86504d6ac6/nmdc_schema-10.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-11 19:18:05",
    "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.21789s