-- DBMS: snowflake
create or replace TABLE EVIDENCE (
	"datasourceId" VARCHAR(16777216),
	"targetId" VARCHAR(16777216),
	"_corrupt_record" VARCHAR(16777216),
	"alleleOrigins" VARIANT,
	"allelicRequirements" VARIANT,
	"ancestry" VARCHAR(16777216),
	"ancestryId" VARCHAR(16777216),
	"beta" FLOAT,
	"betaConfidenceIntervalLower" FLOAT,
	"betaConfidenceIntervalUpper" FLOAT,
	"biologicalModelAllelicComposition" VARCHAR(16777216),
	"biologicalModelGeneticBackground" VARCHAR(16777216),
	"biologicalModelId" VARCHAR(16777216),
	"biomarkerName" VARCHAR(16777216),
	"biomarkers" VARIANT,
	"biosamplesFromSource" VARIANT,
	"cellType" VARCHAR(16777216),
	"clinicalPhase" FLOAT,
	"clinicalSignificances" VARIANT,
	"clinicalStatus" VARCHAR(16777216),
	"cohortDescription" VARCHAR(16777216),
	"cohortId" VARCHAR(16777216),
	"cohortPhenotypes" VARIANT,
	"cohortShortName" VARCHAR(16777216),
	"confidence" VARCHAR(16777216),
	"contrast" VARCHAR(16777216),
	"crisprScreenLibrary" VARCHAR(16777216),
	"datatypeId" VARCHAR(16777216),
	"diseaseCellLines" VARIANT,
	"diseaseFromSource" VARCHAR(16777216),
	"diseaseFromSourceId" VARCHAR(16777216),
	"diseaseFromSourceMappedId" VARCHAR(16777216),
	"diseaseModelAssociatedHumanPhenotypes" VARIANT,
	"diseaseModelAssociatedModelPhenotypes" VARIANT,
	"drugFromSource" VARCHAR(16777216),
	"drugId" VARCHAR(16777216),
	"drugResponse" VARCHAR(16777216),
	"geneticBackground" VARCHAR(16777216),
	"literature" VARIANT,
	"log2FoldChangePercentileRank" NUMBER(38,0),
	"log2FoldChangeValue" FLOAT,
	"mutatedSamples" VARIANT,
	"oddsRatio" FLOAT,
	"oddsRatioConfidenceIntervalLower" FLOAT,
	"oddsRatioConfidenceIntervalUpper" FLOAT,
	"pValueExponent" NUMBER(38,0),
	"pValueMantissa" FLOAT,
	"pathways" VARIANT,
	"pmcIds" VARIANT,
	"projectId" VARCHAR(16777216),
	"publicationFirstAuthor" VARCHAR(16777216),
	"publicationYear" NUMBER(38,0),
	"reactionId" VARCHAR(16777216),
	"reactionName" VARCHAR(16777216),
	"releaseDate" VARCHAR(16777216),
	"releaseVersion" VARCHAR(16777216),
	"resourceScore" FLOAT,
	"sex" VARIANT,
	"significantDriverMethods" VARIANT,
	"statisticalMethod" VARCHAR(16777216),
	"statisticalMethodOverview" VARCHAR(16777216),
	"statisticalTestTail" VARCHAR(16777216),
	"studyCases" NUMBER(38,0),
	"studyCasesWithQualifyingVariants" NUMBER(38,0),
	"studyId" VARCHAR(16777216),
	"studyOverview" VARCHAR(16777216),
	"studySampleSize" NUMBER(38,0),
	"studyStartDate" VARCHAR(16777216),
	"studyStopReason" VARCHAR(16777216),
	"studyStopReasonCategories" VARIANT,
	"targetFromSource" VARCHAR(16777216),
	"targetFromSourceId" VARCHAR(16777216),
	"targetInModel" VARCHAR(16777216),
	"targetInModelEnsemblId" VARCHAR(16777216),
	"targetInModelMgiId" VARCHAR(16777216),
	"targetModulation" VARCHAR(16777216),
	"textMiningSentences" VARIANT,
	"urls" VARIANT,
	"variantAminoacidDescriptions" VARIANT,
	"variantFunctionalConsequenceFromQtlId" VARCHAR(16777216),
	"variantFunctionalConsequenceId" VARCHAR(16777216),
	"variantHgvsId" VARCHAR(16777216),
	"variantId" VARCHAR(16777216),
	"variantRsId" VARCHAR(16777216),
	"diseaseId" VARCHAR(16777216),
	"id" VARCHAR(16777216),
	"score" FLOAT,
	"variantEffect" VARCHAR(16777216),
	"directionOnTrait" VARCHAR(16777216),
	"sourceId" VARCHAR(16777216)
);

INSERT INTO "OPEN_TARGETS_PLATFORM_1"."PLATFORM"."EVIDENCE" (reactionId, statisticalTestTail, mutatedSamples, id, contrast, geneticBackground, clinicalStatus, publicationYear, projectId, textMiningSentences, sourceId, allelicRequirements, variantAminoacidDescriptions, targetFromSource, significantDriverMethods, variantHgvsId, studyCases, diseaseModelAssociatedModelPhenotypes, studyOverview, cohortPhenotypes, oddsRatio, diseaseFromSource, pathways, releaseVersion, ancestryId, literature, targetId, biosamplesFromSource, variantFunctionalConsequenceFromQtlId, biologicalModelId, oddsRatioConfidenceIntervalUpper, diseaseFromSourceId, pmcIds, reactionName, variantRsId, pValueExponent, targetFromSourceId, sex, ancestry, betaConfidenceIntervalUpper, oddsRatioConfidenceIntervalLower, biomarkers, studyStopReason, crisprScreenLibrary, log2FoldChangePercentileRank, cohortDescription, targetInModel, datasourceId, studyId, confidence, clinicalSignificances, resourceScore, alleleOrigins, diseaseId, diseaseCellLines, diseaseModelAssociatedHumanPhenotypes, drugId, directionOnTrait, cohortId, studyStopReasonCategories, statisticalMethod, biomarkerName, targetInModelMgiId, statisticalMethodOverview, score, cohortShortName, _corrupt_record, studyCasesWithQualifyingVariants, studySampleSize, log2FoldChangeValue, datatypeId, diseaseFromSourceMappedId, biologicalModelAllelicComposition, variantFunctionalConsequenceId, beta, studyStartDate, clinicalPhase, variantId, targetInModelEnsemblId, cellType, biologicalModelGeneticBackground, betaConfidenceIntervalLower, variantEffect, releaseDate, urls, targetModulation, pValueMantissa, publicationFirstAuthor, drugFromSource, drugResponse) VALUES (NULL, NULL, NULL, 'c828b68e49c838ad4067ac5efc5a2f570e1ab7e5', NULL, NULL, NULL, NULL, NULL, NULL, 'eva', NULL, NULL, NULL, NULL, 'NC_000019.10:g.7638775G>A', NULL, NULL, NULL, '{
  "list": [
    {
      "element": "Familial hemophagocytic lymphohistiocytosis 5"
    }
  ]
}', NULL, 'Familial hemophagocytic lymphohistiocytosis 5', NULL, NULL, NULL, NULL, 'ENSG00000076944', NULL, NULL, NULL, NULL, 'C2751293', NULL, NULL, 'rs2146206226', NULL, 'ENSG00000076944', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'eva', 'RCV001960209', 'criteria provided, single submitter', '{
  "list": [
    {
      "element": "uncertain significance"
    }
  ]
}', NULL, '{
  "list": [
    {
      "element": "germline"
    }
  ]
}', 'Orphanet_540', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.32, NULL, NULL, NULL, NULL, NULL, 'genetic_association', 'Orphanet_540', NULL, 'SO_0001630', NULL, NULL, NULL, '19_7638775_G_A', NULL, NULL, NULL, NULL, NULL, '2022-03-28', NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, '9591788a5d93f83229ffc7530d6ac0b7e28db03d', NULL, NULL, NULL, NULL, NULL, NULL, 'eva', NULL, NULL, NULL, NULL, 'NC_000019.10:g.7647502G>A', NULL, NULL, NULL, '{
  "list": [
    {
      "element": "Familial hemophagocytic lymphohistiocytosis 5"
    }
  ]
}', NULL, 'Familial hemophagocytic lymphohistiocytosis 5', NULL, NULL, NULL, NULL, 'ENSG00000076944', NULL, NULL, NULL, NULL, 'C2751293', NULL, NULL, 'rs1310801774', NULL, 'ENSG00000076944', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'eva', 'RCV002004715', 'criteria provided, single submitter', '{
  "list": [
    {
      "element": "uncertain significance"
    }
  ]
}', NULL, '{
  "list": [
    {
      "element": "germline"
    }
  ]
}', 'Orphanet_540', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.32, NULL, NULL, NULL, NULL, NULL, 'genetic_association', 'Orphanet_540', NULL, 'SO_0001583', NULL, NULL, NULL, '19_7647502_G_A', NULL, NULL, NULL, NULL, NULL, '2022-03-28', NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, '85c9509f377de5e0f53a15dded5a3b980cc95199', NULL, NULL, NULL, NULL, NULL, NULL, 'eva', NULL, NULL, NULL, NULL, 'NC_000021.9:g.43058230A>C', NULL, NULL, NULL, '{
  "list": [
    {
      "element": "HYPERHOMOCYSTEINEMIA, THROMBOTIC, CBS-RELATED"
    }
  ]
}', NULL, 'HYPERHOMOCYSTEINEMIA, THROMBOTIC, CBS-RELATED', NULL, NULL, NULL, NULL, 'ENSG00000160200', NULL, NULL, NULL, NULL, 'C3150344', NULL, NULL, NULL, NULL, 'ENSG00000160200', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'eva', 'RCV002908955', 'criteria provided, single submitter', '{
  "list": [
    {
      "element": "uncertain significance"
    }
  ]
}', NULL, '{
  "list": [
    {
      "element": "germline"
    }
  ]
}', 'Orphanet_394', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.32, NULL, NULL, NULL, NULL, NULL, 'genetic_association', 'Orphanet_394', NULL, 'SO_0001583', NULL, NULL, NULL, '21_43058230_A_C', NULL, NULL, NULL, NULL, NULL, '2023-02-07', NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, '131b9dd4ad474123e0dc3e9dbfabea7b8a7a3b2b', NULL, NULL, NULL, NULL, NULL, NULL, 'eva', NULL, NULL, NULL, NULL, 'NC_000002.12:g.148468722C>A', NULL, NULL, NULL, '{
  "list": [
    {
      "element": "INTELLECTUAL DEVELOPMENTAL DISORDER, AUTOSOMAL DOMINANT 1"
    },
    {
      "element": "Intellectual disability, autosomal dominant 1"
    }
  ]
}', NULL, 'Intellectual disability, autosomal dominant 1', NULL, NULL, NULL, NULL, 'ENSG00000204406', NULL, NULL, NULL, NULL, 'C1969562', NULL, NULL, NULL, NULL, 'ENSG00000204406', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'eva', 'RCV002583931', 'criteria provided, single submitter', '{
  "list": [
    {
      "element": "uncertain significance"
    }
  ]
}', NULL, '{
  "list": [
    {
      "element": "germline"
    }
  ]
}', 'MONDO_0016459', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.32, NULL, NULL, NULL, NULL, NULL, 'genetic_association', 'MONDO_0016459', NULL, 'SO_0001583', NULL, NULL, NULL, '2_148468722_C_A', NULL, NULL, NULL, NULL, NULL, '2023-02-07', NULL, NULL, NULL, NULL, NULL, NULL), (NULL, NULL, NULL, '40b959de1dbdaa531157237b238dd1fcf00a68d7', NULL, NULL, NULL, NULL, NULL, NULL, 'eva', NULL, NULL, NULL, NULL, 'NC_000002.12:g.148490131A>T', NULL, NULL, NULL, '{
  "list": [
    {
      "element": "INTELLECTUAL DEVELOPMENTAL DISORDER, AUTOSOMAL DOMINANT 1"
    },
    {
      "element": "Intellectual disability, autosomal dominant 1"
    }
  ]
}', NULL, 'Intellectual disability, autosomal dominant 1', NULL, NULL, NULL, NULL, 'ENSG00000204406', NULL, NULL, NULL, NULL, 'C1969562', NULL, NULL, NULL, NULL, 'ENSG00000204406', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'eva', 'RCV003601617', 'criteria provided, single submitter', '{
  "list": [
    {
      "element": "uncertain significance"
    }
  ]
}', NULL, '{
  "list": [
    {
      "element": "germline"
    }
  ]
}', 'MONDO_0016459', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.32, NULL, NULL, NULL, NULL, NULL, 'genetic_association', 'MONDO_0016459', NULL, 'SO_0001583', NULL, NULL, NULL, '2_148490131_A_T', NULL, NULL, NULL, NULL, NULL, '2024-02-20', NULL, NULL, NULL, NULL, NULL, NULL);