Skip to content

TableInfo: biosample_disease.tsv

abradyIGS edited this page Feb 11, 2022 · 10 revisions

Association between a biosample and a Disease Ontology term

For biosamples with disease metadata, this table will have one row for each disease associated with each such biosample, along with an association_type field distinguishing "disease detected" from "disease specifically ruled out."

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 biosamples associated with diseases, this table should be left empty.
  • If you have exactly one disease associated with each biosample, this table will have as many rows as biosample.tsv.
  • If you have five diseases associated with each biosample, this table will have five times as many rows as biosample.tsv.
  • If some but not all of your biosamples are associated with one or more diseases, this table will contain one row for each disease assigned to each such biosample (and the resulting row count will not have any obvious relationship to the number of rows in biosample.tsv, which is both expected and fine in such a case).
Field Field Description Required? Field Value Type Extra Info
biosample_id_namespace Identifier namespace for this biosample Required string This will be the value of id_namespace in the row in biosample.tsv corresponding to the biosample referenced in this row. If your program has not registered multiple CFDE identifier namespaces, this will be exactly the same value for all rows.
biosample_local_id The ID of this biosample Required string This will be the value of local_id in the row in biosample.tsv corresponding to the biosample referenced in this row.
association_type An indicator distinguishing "disease detected" from "disease ruled out" Required one of cfde_disease_association_type:0
(meaning "disease ruled out")
or
cfde_disease_association_type:1
(meaning "disease observed")
disease A valid Disease Ontology term Required string Disease Ontology lookup
Examples: DOID:8778, DOID:0060249
Clone this wiki locally