Crossref Reader

This notebook shows how to read metadata from Crossref, using a Crossref DOI.

Fetch the metadata

from commonmeta import Metadata

# Fetch metadata from a Crossref DOI
string = '10.7554/elife.01567'
metadata = Metadata(string)

# Check that metadata was fetched successfully
print(metadata.state)
ModuleNotFoundError: No module named 'regex._regex'

Inspect the metadata

The following metadata are required for each Crossref resource:

  • id: the persistent identifier of the resource, e.g. a DOI
  • type: the type of the resource in commonmeta format, e.g JournalArticle, Book, BookChapter, or Dataset.
  • titles: the title(s) of the resource
  • creators: the creator(s)/author(s) of the resource
  • publisher: the publisher of the resource
  • publication_year: the publication year of the resource

In addition, there are plenty of optional metadata. They are converted into the internal commonmeta format. One example is the licence which is mapped to the Software Package Data Exchange (SPDX) vocabulary. For the publication from eLife we fetched earlier, this means a CC-BY license.

commonmeta = metadata.write()
print(commonmeta)
{
    "id": "https://doi.org/10.7554/elife.01567",
    "type": "JournalArticle",
    "url": "https://elifesciences.org/articles/01567",
    "creators": [
        {
            "type": "Person",
            "givenName": "Martial",
            "familyName": "Sankar",
            "affiliation": [
                {
                    "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
                }
            ]
        },
        {
            "type": "Person",
            "givenName": "Kaisa",
            "familyName": "Nieminen",
            "affiliation": [
                {
                    "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
                }
            ]
        },
        {
            "type": "Person",
            "givenName": "Laura",
            "familyName": "Ragni",
            "affiliation": [
                {
                    "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
                }
            ]
        },
        {
            "type": "Person",
            "givenName": "Ioannis",
            "familyName": "Xenarios",
            "affiliation": [
                {
                    "name": "Vital-IT, Swiss Institute of Bioinformatics, Lausanne, Switzerland"
                }
            ]
        },
        {
            "type": "Person",
            "givenName": "Christian S",
            "familyName": "Hardtke",
            "affiliation": [
                {
                    "name": "Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland"
                }
            ]
        }
    ],
    "titles": [
        {
            "title": "Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth"
        }
    ],
    "publisher": {
        "id": "https://api.crossref.org/members/4374",
        "name": "eLife Sciences Publications, Ltd"
    },
    "date": {
        "published": "2014-02-11",
        "updated": "2022-03-26T09:21:50Z"
    },
    "subjects": [
        {
            "subject": "General Immunology and Microbiology"
        },
        {
            "subject": "General Biochemistry, Genetics and Molecular Biology"
        },
        {
            "subject": "General Medicine"
        },
        {
            "subject": "General Neuroscience"
        }
    ],
    "language": "en",
    "references": [
        {
            "key": "bib1",
            "doi": "https://doi.org/10.1038/nature02100",
            "creator": "Bonke",
            "title": "APL regulates vascular tissue identity in Arabidopsis",
            "publicationYear": "2003",
            "volume": "426",
            "firstPage": "181",
            "containerTitle": "Nature"
        },
        {
            "key": "bib2",
            "doi": "https://doi.org/10.1534/genetics.109.104976",
            "creator": "Brenner",
            "title": "In the beginning was the worm",
            "publicationYear": "2009",
            "volume": "182",
            "firstPage": "413",
            "containerTitle": "Genetics"
        },
        {
            "key": "bib3",
            "doi": "https://doi.org/10.1034/j.1399-3054.2002.1140413.x",
            "creator": "Chaffey",
            "title": "Secondary xylem development in Arabidopsis: a model for wood formation",
            "publicationYear": "2002",
            "volume": "114",
            "firstPage": "594",
            "containerTitle": "Physiologia Plantarum"
        },
        {
            "key": "bib4",
            "doi": "https://doi.org/10.1162/089976601750399335",
            "creator": "Chang",
            "title": "Training nu-support vector classifiers: theory and algorithms",
            "publicationYear": "2001",
            "volume": "13",
            "firstPage": "2119",
            "containerTitle": "Neural computation"
        },
        {
            "key": "bib5",
            "doi": "https://doi.org/10.1007/bf00994018",
            "creator": "Cortes",
            "title": "Support-vector Networks",
            "publicationYear": "1995",
            "volume": "20",
            "firstPage": "273",
            "containerTitle": "Machine Learning"
        },
        {
            "key": "bib6",
            "doi": "https://doi.org/10.1242/dev.119.1.71",
            "creator": "Dolan",
            "title": "Cellular organisation of the Arabidopsis thaliana root",
            "publicationYear": "1993",
            "volume": "119",
            "firstPage": "71",
            "containerTitle": "Development"
        },
        {
            "key": "bib7",
            "doi": "https://doi.org/10.1016/j.semcdb.2009.09.009",
            "creator": "Elo",
            "title": "Stem cell function during plant vascular development",
            "publicationYear": "2009",
            "volume": "20",
            "firstPage": "1097",
            "containerTitle": "Seminars in Cell & Developmental Biology"
        },
        {
            "key": "bib8",
            "doi": "https://doi.org/10.1242/dev.091314",
            "creator": "Etchells",
            "title": "WOX4 and WOX14 act downstream of the PXY receptor kinase to regulate plant vascular proliferation independently of any role in vascular organisation",
            "publicationYear": "2013",
            "volume": "140",
            "firstPage": "2224",
            "containerTitle": "Development"
        },
        {
            "key": "bib9",
            "doi": "https://doi.org/10.1371/journal.pgen.1002997",
            "creator": "Etchells",
            "title": "Plant vascular cell division is maintained by an interaction between PXY and ethylene signalling",
            "publicationYear": "2012",
            "volume": "8",
            "firstPage": "e1002997",
            "containerTitle": "PLOS Genetics"
        },
        {
            "key": "bib10",
            "doi": "https://doi.org/10.1038/msb.2010.25",
            "creator": "Fuchs",
            "title": "Clustering phenotype populations by genome-wide RNAi and multiparametric imaging",
            "publicationYear": "2010",
            "volume": "6",
            "firstPage": "370",
            "containerTitle": "Molecular Systems Biology"
        },
        {
            "key": "bib11",
            "doi": "https://doi.org/10.1016/j.biosystems.2012.07.004",
            "creator": "Granqvist",
            "title": "BaSAR-A tool in R for frequency detection",
            "publicationYear": "2012",
            "volume": "110",
            "firstPage": "60",
            "containerTitle": "Bio Systems"
        },
        {
            "key": "bib12",
            "doi": "https://doi.org/10.1016/j.pbi.2005.11.013",
            "creator": "Groover",
            "title": "Developmental mechanisms regulating secondary growth in woody plants",
            "publicationYear": "2006",
            "volume": "9",
            "firstPage": "55",
            "containerTitle": "Current Opinion in Plant Biology"
        },
        {
            "key": "bib13",
            "doi": "https://doi.org/10.1105/tpc.110.076083",
            "creator": "Hirakawa",
            "title": "TDIF peptide signaling regulates vascular stem cell proliferation via the WOX4 homeobox gene in Arabidopsis",
            "publicationYear": "2010",
            "volume": "22",
            "firstPage": "2618",
            "containerTitle": "Plant Cell"
        },
        {
            "key": "bib14",
            "doi": "https://doi.org/10.1073/pnas.0808444105",
            "creator": "Hirakawa",
            "title": "Non-cell-autonomous control of vascular stem cell fate by a CLE peptide/receptor system",
            "publicationYear": "2008",
            "volume": "105",
            "firstPage": "15208",
            "containerTitle": "Proceedings of the National Academy of Sciences of the United States of America"
        },
        {
            "key": "bib15",
            "doi": "https://doi.org/10.1016/0092-8674(89)90900-8",
            "creator": "Meyerowitz",
            "title": "Arabidopsis, a useful weed",
            "publicationYear": "1989",
            "volume": "56",
            "firstPage": "263",
            "containerTitle": "Cell"
        },
        {
            "key": "bib16",
            "doi": "https://doi.org/10.1126/science.1066609",
            "creator": "Meyerowitz",
            "title": "Plants compared to animals: the broadest comparative study of development",
            "publicationYear": "2002",
            "volume": "295",
            "firstPage": "1482",
            "containerTitle": "Science"
        },
        {
            "key": "bib17",
            "doi": "https://doi.org/10.1104/pp.104.040212",
            "creator": "Nieminen",
            "title": "A weed for wood? Arabidopsis as a genetic model for xylem development",
            "publicationYear": "2004",
            "volume": "135",
            "firstPage": "653",
            "containerTitle": "Plant Physiol"
        },
        {
            "key": "bib18",
            "doi": "https://doi.org/10.1038/nbt1206-1565",
            "creator": "Noble",
            "title": "What is a support vector machine?",
            "publicationYear": "2006",
            "volume": "24",
            "firstPage": "1565",
            "containerTitle": "Nature Biotechnology"
        },
        {
            "key": "bib19",
            "doi": "https://doi.org/10.1073/pnas.77.3.1516",
            "creator": "Olson",
            "title": "Classification of cultured mammalian cells by shape analysis and pattern recognition",
            "publicationYear": "1980",
            "volume": "77",
            "firstPage": "1516",
            "containerTitle": "Proceedings of the National Academy of Sciences of the United States of America"
        },
        {
            "key": "bib20",
            "doi": "https://doi.org/10.1093/bioinformatics/btq046",
            "creator": "Pau",
            "title": "EBImage\u2013an R package for image processing with applications to cellular phenotypes",
            "publicationYear": "2010",
            "volume": "26",
            "firstPage": "979",
            "containerTitle": "Bioinformatics"
        },
        {
            "key": "bib21",
            "doi": "https://doi.org/10.1105/tpc.111.084020",
            "creator": "Ragni",
            "title": "Mobile gibberellin directly stimulates Arabidopsis hypocotyl xylem expansion",
            "publicationYear": "2011",
            "volume": "23",
            "firstPage": "1322",
            "containerTitle": "Plant Cell"
        },
        {
            "key": "bib22",
            "doi": "https://doi.org/10.5061/dryad.b835k",
            "creator": "Sankar",
            "title": "Data from: Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth",
            "publicationYear": "2014",
            "containerTitle": "Dryad Digital Repository"
        },
        {
            "key": "bib23",
            "doi": "https://doi.org/10.1016/j.cub.2008.02.070",
            "creator": "Sibout",
            "title": "Flowering as a condition for xylem expansion in Arabidopsis hypocotyl and root",
            "publicationYear": "2008",
            "volume": "18",
            "firstPage": "458",
            "containerTitle": "Current Biology"
        },
        {
            "key": "bib24",
            "doi": "https://doi.org/10.1111/j.1469-8137.2010.03236.x",
            "creator": "Spicer",
            "title": "Evolution of development of vascular cambia and secondary growth",
            "publicationYear": "2010",
            "volume": "186",
            "firstPage": "577",
            "containerTitle": "The New Phytologist"
        },
        {
            "key": "bib25",
            "doi": "https://doi.org/10.1007/s00138-011-0345-9",
            "creator": "Theriault",
            "title": "Cell morphology classification and clutter mitigation in phase-contrast microscopy images using machine learning",
            "publicationYear": "2012",
            "volume": "23",
            "firstPage": "659",
            "containerTitle": "Machine Vision and Applications"
        },
        {
            "key": "bib26",
            "doi": "https://doi.org/10.1016/j.cell.2012.02.048",
            "creator": "Uyttewaal",
            "title": "Mechanical stress acts via katanin to amplify differences in growth rate between adjacent cells in Arabidopsis",
            "publicationYear": "2012",
            "volume": "149",
            "firstPage": "439",
            "containerTitle": "Cell"
        },
        {
            "key": "bib27",
            "doi": "https://doi.org/10.1038/ncb2764",
            "creator": "Yin",
            "title": "A screen for morphological complexity identifies regulators of switch-like transitions between discrete cell shapes",
            "publicationYear": "2013",
            "volume": "15",
            "firstPage": "860",
            "containerTitle": "Nature Cell Biology"
        }
    ],
    "license": {
        "id": "CC-BY-3.0",
        "url": "https://creativecommons.org/licenses/by/3.0/legalcode"
    },
    "descriptions": [
        {
            "description": "Among various advantages, their small size makes model organisms preferred subjects of investigation. Yet, even in model systems detailed analysis of numerous developmental processes at cellular level is severely hampered by their scale. For instance, secondary growth of Arabidopsis hypocotyls creates a radial pattern of highly specialized tissues that comprises several thousand cells starting from a few dozen. This dynamic process is difficult to follow because of its scale and because it can only be investigated invasively, precluding comprehensive understanding of the cell proliferation, differentiation, and patterning events involved. To overcome such limitation, we established an automated quantitative histology approach. We acquired hypocotyl cross-sections from tiled high-resolution images and extracted their information content using custom high-throughput image processing and segmentation. Coupled with automated cell type recognition through machine learning, we could establish a cellular resolution atlas that reveals vascular morphodynamics during secondary growth, for example equidistant phloem pole formation.",
            "descriptionType": "Abstract"
        }
    ],
    "fundingReferences": [
        {
            "funderName": "SystemsX"
        },
        {
            "funderName": "EMBO longterm post-doctoral fellowships"
        },
        {
            "funderName": "Marie Heim-Voegtlin"
        },
        {
            "funderName": "University of Lausanne",
            "funderIdentifier": "https://doi.org/10.13039/501100006390",
            "funderIdentifierType": "Crossref Funder ID"
        },
        {
            "funderName": "SystemsX"
        },
        {
            "funderName": "EMBO",
            "funderIdentifier": "https://doi.org/10.13039/501100003043",
            "funderIdentifierType": "Crossref Funder ID"
        },
        {
            "funderName": "Swiss National Science Foundation",
            "funderIdentifier": "https://doi.org/10.13039/501100001711",
            "funderIdentifierType": "Crossref Funder ID"
        },
        {
            "funderName": "University of Lausanne",
            "funderIdentifier": "https://doi.org/10.13039/501100006390",
            "funderIdentifierType": "Crossref Funder ID"
        }
    ],
    "provider": "Crossref"
}