-- DBMS: snowflake
create or replace TABLE SCRNASEQ_MSK_SCLC_MYELOID_CELLS_CURRENT (
	"iObs" NUMBER(38,0),
	"iVar" NUMBER(38,0),
	"X_value" FLOAT,
	"n_genes_by_counts" NUMBER(38,0),
	"log1p_n_genes_by_counts" FLOAT,
	"total_counts" FLOAT,
	"log1p_total_counts" FLOAT,
	"mito_frac" FLOAT,
	"RBP_frac" FLOAT,
	"batch" VARCHAR(16777216),
	"donor_id" VARCHAR(16777216),
	"treatment" VARCHAR(16777216),
	"procedure" VARCHAR(16777216),
	"author_cell_type" VARCHAR(16777216),
	"clusters" VARCHAR(16777216),
	"histo" VARCHAR(16777216),
	"histo_tissue" VARCHAR(16777216),
	"cell_type_ontology_term_id" VARCHAR(16777216),
	"disease_ontology_term_id" VARCHAR(16777216),
	"tissue_ontology_term_id" VARCHAR(16777216),
	"development_stage_ontology_term_id" VARCHAR(16777216),
	"assay_ontology_term_id" VARCHAR(16777216),
	"sex_ontology_term_id" VARCHAR(16777216),
	"self_reported_ethnicity_ontology_term_id" VARCHAR(16777216),
	"organism_ontology_term_id" VARCHAR(16777216),
	"is_primary_data" BOOLEAN,
	"suspension_type" VARCHAR(16777216),
	"HTAN_Biospecimen_ID" VARCHAR(16777216),
	"HTAN_Participant_ID" VARCHAR(16777216),
	"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_MSK_SCLC_MYELOID_CELLS_CURRENT" (tissue, X_value, assay_ontology_term_id, feature_reference, organism, assay, suspension_type, histo, HTAN_Participant_ID, log1p_total_counts, author_cell_type, mito_frac, RBP_frac, cell_type, n_genes_by_counts, cell_type_ontology_term_id, is_primary_data, log1p_n_genes_by_counts, self_reported_ethnicity_ontology_term_id, procedure, sex, batch, disease_ontology_term_id, iVar, tissue_ontology_term_id, organism_ontology_term_id, feature_name, development_stage_ontology_term_id, self_reported_ethnicity, clusters, sex_ontology_term_id, disease, feature_is_filtered, HTAN_Biospecimen_ID, histo_tissue, development_stage, feature_biotype, donor_id, iObs, total_counts, treatment) VALUES ('lung', 5.837432861328125, 'EFO:0009899', 'NCBITaxon:9606', 'Homo sapiens', '10x 3'' v2', 'cell', 'LUAD', 'HTA8_1002', 5.46806001663208, 'PMN', 0.025423727929592133, 0.14830508828163147, 'neutrophil', 139, 'CL:0000775', False, 4.941642422609304, 'HANCESTRO:0005', 'Resection', 'female', 'RU1057_T', 'MONDO:0005061', 14180, 'UBERON:0002048', 'NCBITaxon:9606', 'PKM', 'HsapDv:0000161', 'European', '13', 'PATO:0000383', 'lung adenocarcinoma', False, 'HTA8_1002_1', 'LUAD_lung', '67-year-old human stage', 'gene', 'RU1057', 6101, 236.0, 'Naive'), ('lung', 8.139034271240234, 'EFO:0009899', 'NCBITaxon:9606', 'Homo sapiens', '10x 3'' v2', 'cell', 'LUAD', 'HTA8_1002', 5.46806001663208, 'PMN', 0.025423727929592133, 0.14830508828163147, 'neutrophil', 139, 'CL:0000775', False, 4.941642422609304, 'HANCESTRO:0005', 'Resection', 'female', 'RU1057_T', 'MONDO:0005061', 14225, 'UBERON:0002048', 'NCBITaxon:9606', 'PLAUR', 'HsapDv:0000161', 'European', '13', 'PATO:0000383', 'lung adenocarcinoma', False, 'HTA8_1002_1', 'LUAD_lung', '67-year-old human stage', 'gene', 'RU1057', 6101, 236.0, 'Naive'), ('lung', 6.824762344360352, 'EFO:0009899', 'NCBITaxon:9606', 'Homo sapiens', '10x 3'' v2', 'cell', 'LUAD', 'HTA8_1002', 5.46806001663208, 'PMN', 0.025423727929592133, 0.14830508828163147, 'neutrophil', 139, 'CL:0000775', False, 4.941642422609304, 'HANCESTRO:0005', 'Resection', 'female', 'RU1057_T', 'MONDO:0005061', 13952, 'UBERON:0002048', 'NCBITaxon:9606', 'PFDN5', 'HsapDv:0000161', 'European', '13', 'PATO:0000383', 'lung adenocarcinoma', False, 'HTA8_1002_1', 'LUAD_lung', '67-year-old human stage', 'gene', 'RU1057', 6101, 236.0, 'Naive'), ('lung', 4.220073223114014, 'EFO:0009899', 'NCBITaxon:9606', 'Homo sapiens', '10x 3'' v2', 'cell', 'LUAD', 'HTA8_1003', 6.511745452880859, 'PMN', 0.0059523810632526875, 0.02083333395421505, 'neutrophil', 260, 'CL:0000775', False, 5.564520407322694, 'HANCESTRO:0005', 'Resection', 'female', 'RU1061', 'MONDO:0005061', 13603, 'UBERON:0002048', 'NCBITaxon:9606', 'PAPOLA', 'HsapDv:0000170', 'European', '13', 'PATO:0000383', 'lung adenocarcinoma', False, 'HTA8_1003_1', 'LUAD_lung', '76-year-old human stage', 'gene', 'RU1061', 1221, 672.0, 'Naive'), ('lung', 6.615995407104492, 'EFO:0009899', 'NCBITaxon:9606', 'Homo sapiens', '10x 3'' v2', 'cell', 'LUAD', 'HTA8_1003', 5.1179938316345215, 'PMN', 0.04216867312788963, 0.1265060305595398, 'neutrophil', 109, 'CL:0000775', False, 4.700480365792417, 'HANCESTRO:0005', 'Resection', 'female', 'RU1061', 'MONDO:0005061', 13447, 'UBERON:0002048', 'NCBITaxon:9606', 'OST4', 'HsapDv:0000170', 'European', '13', 'PATO:0000383', 'lung adenocarcinoma', False, 'HTA8_1003_1', 'LUAD_lung', '76-year-old human stage', 'gene', 'RU1061', 9038, 166.0, 'Naive');