Skip to content

TableInfo: collection_substance.tsv

Amanda Charbonneau edited this page Apr 1, 2022 · 2 revisions

Association between a collection and a PubChem substance ID (SID) term

For collections with substance metadata, this table will have one row for each substance associated with each such collection.

All fields are required: this table can be empty (header-row only), but any non-header rows must leave no fields blank.

Some examples:

  • If you don't have any collections associated with substances, this table should be left empty.
  • If you have exactly one substance associated with each collection, this table will have as many rows as collection.tsv.
  • If you have five substances associated with each collection, this table will have five times as many rows as collection.tsv.
  • If some but not all of your collections are associated with one or more substances, this table will contain one row for each substance assigned to each such collection (and the resulting row count will not have any obvious relationship to the number of rows in collection.tsv, which is both expected and fine in such a case).
Field Field Description Required? Field Value Type Extra Info
collection_id_namespace Identifier namespace for this collection Required string This will be the value of id_namespace in the row in collection.tsv corresponding to the collection referenced in this row. If your program has not registered multiple CFDE identifier namespaces, this will be exactly the same value for all rows.
collection_local_id The ID of this collection Required string This will be the value of local_id in the row in collection.tsv corresponding to the collection referenced in this row.
substance A PubChem term ID describing this substance Required string
Clone this wiki locally