biosample_disease.tsv

Sourced from the CFDE-CC Documentation Wiki

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).
FieldField DescriptionRequired?Field Value TypeExtra Info
biosample_id_namespaceIdentifier namespace for this biosampleRequiredstringThis 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_idThe ID of this biosampleRequiredstringThis will be the value of local_id in the row in biosample.tsv corresponding to the biosample referenced in this row.
association_typeAn indicator distinguishing "disease detected" from "disease ruled out"Requiredone of cfde_disease_association_type:0(meaning "disease ruled out")orcfde_disease_association_type:1(meaning "disease observed")
diseaseA valid Disease Ontology termRequiredstringDisease Ontology lookup Examples: DOID:8778, DOID:0060249

Return to C2M2 Documentation