Skip to content

Releases: globalbioticinteractions/globalbioticinteractions

v0.26.5

07 Aug 22:39
Compare
Choose a tag to compare

Features

n/a

Improvements

  • working towards using explicit cache dir to allow for better management of no longer used tmp files #999

Bug fixes

n/a

v0.26.4

05 Aug 18:55
Compare
Choose a tag to compare

v0.26.2

26 Jul 16:28
Compare
Choose a tag to compare

v0.26.1

21 Jun 23:47
Compare
Choose a tag to compare

Features

n/a

Improvements

Example below, with special focus on separator field in the Sequences column.

{
  "@context": [
    "http://www.w3.org/ns/csvw",
    {
      "@language": "en"
    }
  ],
  "rdfs:comment": [
    "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/"
  ],
  "tables": [
    {
      "@context": [
        "http://www.w3.org/ns/csvw",
        {
          "@language": "en"
        }
      ],
      "rdfs:comment": [
        "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/"
      ],
      "url": "https://figshare.com/ndownloader/files/2196534",
      "dcterms:bibliographicCitation": "Wardeh, M., Risley, C., McIntyre, M. et al. Database of host-pathogen and related species interactions, and their global distribution. Sci Data 2, 150049 (2015). https://doi.org/10.1038/sdata.2015.49",
      "delimiter": ",",
      "headerRowCount": 1,
      "interactionTypeName": "hasHost",
      "interactionTypeId": "http://purl.obolibrary.org/obo/RO_0002454",
      "null": [
        ""
      ],
      "tableSchema": {
        "columns": [
          {
            "name": "sourceTaxonName",
            "titles": "Cargo",
            "datatype": "string"
          },
          {
            "name": "Cargo classification",
            "titles": "Cargo classification",
            "datatype": "string"
          },
          {
            "name": "targetTaxonName",
            "titles": "Carrier",
            "datatype": "string"
          },
          {
            "name": "Carrier classification",
            "titles": "Carrier classification",
            "datatype": "string"
          },
          {
            "name": "Sequences count",
            "titles": "Sequences count",
            "datatype": "string"
          },
          {
            "name": "Publications count",
            "titles": "Publications count",
            "datatype": "string"
          },
          {
            "name": "referenceUrl",
            "titles": "Sequences",
            "separator": ";",
            "datatype": {
              "base": "string",
              "valueUrl": "https://www.ncbi.nlm.nih.gov/nuccore/{referenceUrl}"
            }
          },
          {
            "name": "Publications",
            "titles": "Publications",
            "datatype": "string"
          }
        ]
      }
    }
  ]
}

Bug fixes

n/a

v0.26.0

05 Jun 16:12
Compare
Choose a tag to compare

Features

  • allow for linking of tables via primary/foreign keys in a globi.json schema definition. Inspired by #982 as well as many other datasets that split their interaction data across different tables (e.g., links, taxonomy, references) instead of providing a wide table that contains all information in a single row.

In the example below, a json configuration (note the primaryKey and foreignKeys parts) is shown that links resource/consumer (taxa) and reference id in a three column metaweb table to their associated data in taxonomy and reference tables.

{
  "@context": [
    "http://www.w3.org/ns/csvw",
    {
      "@language": "en"
    }
  ],
  "rdfs:comment": [
    "inspired by https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/"
  ],
  "resources": {
    "xlsx:https://datadryad.org/stash/downloads/file_stream/3078242!/Reference": "references.tsv",
    "xlsx:https://datadryad.org/stash/downloads/file_stream/3078242!/Metaweb": "metaweb.tsv",
    "xlsx:https://datadryad.org/stash/downloads/file_stream/3078242!/Node%20Taxonomy": "taxonomy.tsv"
  },
  "tables": [
    {
      "dcterms:bibliographicCitation": "Adhurya, Sagar; Lee, Da-Yeong; Park, Young-Seuk (2024). KF-metaweb: A trophic metaweb of freshwater ecosystems of South Korea (Version 1.0) [Dataset]. Dryad. https://doi.org/10.5061/dryad.cz8w9gjbc",
      "url": "xlsx:https://datadryad.org/stash/downloads/file_stream/3078242!/Reference",
      "headerRowCount": 1,
      "delimiter": "\t",
      "null": [
        "NULL",
        ""
      ],
      "tableSchema": {
        "columns": [
          {
            "name": "referenceId",
            "titles": "Reference number",
            "datatype": "string"
          },
          {
            "name": "referenceCitation",
            "titles": "Reference",
            "datatype": "string"
          }
        ],
        "primaryKey": "referenceId"
      }
    },
    {
      "dcterms:bibliographicCitation": "Adhurya, Sagar; Lee, Da-Yeong; Park, Young-Seuk (2024). KF-metaweb: A trophic metaweb of freshwater ecosystems of South Korea (Version 1.0) [Dataset]. Dryad. https://doi.org/10.5061/dryad.cz8w9gjbc",
      "url": "xlsx:https://datadryad.org/stash/downloads/file_stream/3078242!/Metaweb",
      "headerRowCount": 1,
      "delimiter": "\t",
      "interactionTypeName": "eats",
      "interactionTypeId": "http://purl.obolibrary.org/obo/RO_0002470",
      "null": [
        "NULL",
        ""
      ],
      "tableSchema": {
        "columns": [
          {
            "name": "targetTaxonId",
            "titles": "resource",
            "datatype": "string"
          },
          {
            "name": "sourceTaxonId",
            "titles": "consumer",
            "datatype": "string"
          },
          {
            "name": "referenceId",
            "titles": "Reference",
            "datatype": "string",
            "separator": ","
          }
        ],
        "foreignKeys": [
          {
            "columnReference": "targetTaxonId",
            "reference": {
              "columnReference": "taxonId"
            }
          },
          {
            "columnReference": "sourceTaxonId",
            "reference": {
              "columnReference": "taxonId"
            }
          },
          {
            "columnReference": "referenceId",
            "reference": {
              "columnReference": "referenceId"
            }
          }
        ]
      }
    },
    {
      "dcterms:bibliographicCitation": "Adhurya, Sagar; Lee, Da-Yeong; Park, Young-Seuk (2024). KF-metaweb: A trophic metaweb of freshwater ecosystems of South Korea (Version 1.0) [Dataset]. Dryad. https://doi.org/10.5061/dryad.cz8w9gjbc",
      "url": "xlsx:https://datadryad.org/stash/downloads/file_stream/3078242!/Node%20Taxonomy",
      "headerRowCount": 1,
      "delimiter": "\t",
      "null": [
        "NULL",
        ""
      ],
      "tableSchema": {
        "columns": [
          {
            "name": "taxonId",
            "titles": "Node",
            "datatype": "string"
          },
          {
            "name": "taxonGenusName",
            "titles": "Genus",
            "datatype": "string"
          },
          {
            "name": "taxonFamilyName",
            "titles": "Family",
            "datatype": "string"
          },
          {
            "name": "taxonOrderName",
            "titles": "Order",
            "datatype": "string"
          },
          {
            "name": "taxonClassName",
            "titles": "Class",
            "datatype": "string"
          },
          {
            "name": "taxonPhylumName",
            "titles": "Phylum",
            "datatype": "string"
          },
          {
            "name": "taxonKingdomName",
            "titles": "Kingdom",
            "datatype": "string"
          },
          {
            "name": "Category",
            "titles": "Category",
            "datatype": "string"
          }
        ],
        "primaryKey": "taxonId"
      }
    }
  ]
}

Improvements

Bug fixes

n/a

v0.25.19

23 May 16:18
Compare
Choose a tag to compare

Features

n/a

Improvements

Bug fixes

n/a

v0.25.18

19 Apr 18:37
Compare
Choose a tag to compare

Features

n/a

Improvements

Bug fixes

n/a

v0.25.17

22 Mar 17:59
Compare
Choose a tag to compare

Features

n/a

Improvements

Bug fixes

n/a

v0.25.16

07 Dec 19:48
Compare
Choose a tag to compare

Features

n/a

Improvements

  • reduce memory use when indexing DwC-A; #949
  • elton4n - towards clean shutdown of database between running commands to avoid state pollution

Bug fixes

v0.25.15

01 Dec 00:53
Compare
Choose a tag to compare

Features

n/a

Improvements

n/a

Bug fixes