-- DBMS: snowflake
create or replace TABLE SCRNASEQ_VUMC_HTAN_VAL_EPI_CELLXGENE_CURRENT (
	"iObs" NUMBER(38,0),
	"iVar" NUMBER(38,0),
	"X_value" FLOAT,
	"HTAN_Parent_Data_File_ID" VARCHAR(16777216),
	"HTAN_Specimen_ID" VARCHAR(16777216),
	"author_cell_type" VARCHAR(16777216),
	"Polyp_Type" VARCHAR(16777216),
	"Sample_Classification" VARCHAR(16777216),
	"cell_type_ontology_term_id" VARCHAR(16777216),
	"disease_ontology_term_id" VARCHAR(16777216),
	"donor_id" VARCHAR(16777216),
	"assay_ontology_term_id" VARCHAR(16777216),
	"tissue_ontology_term_id" VARCHAR(16777216),
	"sex_ontology_term_id" VARCHAR(16777216),
	"development_stage_ontology_term_id" VARCHAR(16777216),
	"self_reported_ethnicity_ontology_term_id" VARCHAR(16777216),
	"suspension_type" VARCHAR(16777216),
	"organism_ontology_term_id" VARCHAR(16777216),
	"is_primary_data" BOOLEAN,
	"cell_type" VARCHAR(16777216),
	"assay" VARCHAR(16777216),
	"disease" VARCHAR(16777216),
	"organism" VARCHAR(16777216),
	"sex" VARCHAR(16777216),
	"tissue" VARCHAR(16777216),
	"self_reported_ethnicity" VARCHAR(16777216),
	"development_stage" VARCHAR(16777216),
	"feature_is_filtered" BOOLEAN,
	"feature_name" VARCHAR(16777216),
	"feature_reference" VARCHAR(16777216),
	"feature_biotype" VARCHAR(16777216)
);

INSERT INTO "HTAN_2"."HTAN"."SCRNASEQ_VUMC_HTAN_VAL_EPI_CELLXGENE_CURRENT" (cell_type_ontology_term_id, HTAN_Parent_Data_File_ID, tissue, suspension_type, disease_ontology_term_id, is_primary_data, feature_name, assay, tissue_ontology_term_id, feature_biotype, organism, development_stage_ontology_term_id, Polyp_Type, self_reported_ethnicity, sex, author_cell_type, iVar, organism_ontology_term_id, cell_type, feature_reference, feature_is_filtered, self_reported_ethnicity_ontology_term_id, development_stage, iObs, disease, HTAN_Specimen_ID, Sample_Classification, X_value, donor_id, assay_ontology_term_id, sex_ontology_term_id) VALUES ('CL:0000212', 'HTA11_8920_200000201113111', 'descending colon', 'cell', 'PATO:0000461', True, 'AC004951.6', 'single-cell RNA sequencing', 'UBERON:0001158', 'gene', 'Homo sapiens', 'HsapDv:0000145', 'NL', 'European', 'female', 'ABS', 256, 'NCBITaxon:9606', 'absorptive cell', 'NCBITaxon:9606', False, 'HANCESTRO:0005', '51-year-old human stage', 12768, 'normal', 'HTA11_8920_2000002011', 'NL', -0.23852311074733734, 'HTA11_8920', 'EFO:0008913', 'PATO:0000383'), ('CL:0000212', 'HTA11_8920_200000201113111', 'descending colon', 'cell', 'PATO:0000461', True, 'AC004951.6', 'single-cell RNA sequencing', 'UBERON:0001158', 'gene', 'Homo sapiens', 'HsapDv:0000145', 'NL', 'European', 'female', 'ABS', 256, 'NCBITaxon:9606', 'absorptive cell', 'NCBITaxon:9606', False, 'HANCESTRO:0005', '51-year-old human stage', 12319, 'normal', 'HTA11_8920_2000002011', 'NL', -0.23852311074733734, 'HTA11_8920', 'EFO:0008913', 'PATO:0000383'), ('CL:0000212', 'HTA11_8920_200000201113111', 'descending colon', 'cell', 'PATO:0000461', True, 'AC004951.6', 'single-cell RNA sequencing', 'UBERON:0001158', 'gene', 'Homo sapiens', 'HsapDv:0000145', 'NL', 'European', 'female', 'ABS', 256, 'NCBITaxon:9606', 'absorptive cell', 'NCBITaxon:9606', False, 'HANCESTRO:0005', '51-year-old human stage', 12540, 'normal', 'HTA11_8920_2000002011', 'NL', -0.23852311074733734, 'HTA11_8920', 'EFO:0008913', 'PATO:0000383'), ('CL:0000212', 'HTA11_8920_200000201113111', 'descending colon', 'cell', 'PATO:0000461', True, 'AC004951.6', 'single-cell RNA sequencing', 'UBERON:0001158', 'gene', 'Homo sapiens', 'HsapDv:0000145', 'NL', 'European', 'female', 'ABS', 256, 'NCBITaxon:9606', 'absorptive cell', 'NCBITaxon:9606', False, 'HANCESTRO:0005', '51-year-old human stage', 12902, 'normal', 'HTA11_8920_2000002011', 'NL', -0.23852311074733734, 'HTA11_8920', 'EFO:0008913', 'PATO:0000383'), ('CL:0000212', 'HTA11_8920_200000201113111', 'descending colon', 'cell', 'PATO:0000461', True, 'AC004951.6', 'single-cell RNA sequencing', 'UBERON:0001158', 'gene', 'Homo sapiens', 'HsapDv:0000145', 'NL', 'European', 'female', 'ABS', 256, 'NCBITaxon:9606', 'absorptive cell', 'NCBITaxon:9606', False, 'HANCESTRO:0005', '51-year-old human stage', 13109, 'normal', 'HTA11_8920_2000002011', 'NL', -0.23852311074733734, 'HTA11_8920', 'EFO:0008913', 'PATO:0000383');