-- DBMS: snowflake
create or replace TABLE SCRNASEQ_MSK_SCLC_IMMUNE_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),
	"cell_type_broad" VARCHAR(16777216),
	"clusters" NUMBER(38,0),
	"treatment_categorized" VARCHAR(16777216),
	"subtype" VARCHAR(16777216),
	"H_treatment" FLOAT,
	"H_subtype" FLOAT,
	"cell_type_ontology_term_id" VARCHAR(16777216),
	"tissue_ontology_term_id" VARCHAR(16777216),
	"disease_ontology_term_id" VARCHAR(16777216),
	"organism_ontology_term_id" VARCHAR(16777216),
	"is_primary_data" BOOLEAN,
	"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),
	"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_IMMUNE_CELLS_CURRENT" (cell_type_ontology_term_id, sex, batch, mito_frac, log1p_n_genes_by_counts, development_stage, feature_biotype, organism, self_reported_ethnicity, procedure, treatment, is_primary_data, disease_ontology_term_id, cell_type, suspension_type, total_counts, RBP_frac, organism_ontology_term_id, iVar, feature_reference, author_cell_type, feature_is_filtered, assay, donor_id, tissue, clusters, HTAN_Participant_ID, assay_ontology_term_id, X_value, log1p_total_counts, n_genes_by_counts, iObs, HTAN_Biospecimen_ID, disease, subtype, feature_name, H_treatment, self_reported_ethnicity_ontology_term_id, cell_type_broad, tissue_ontology_term_id, treatment_categorized, development_stage_ontology_term_id, sex_ontology_term_id, H_subtype) VALUES ('CL:0000236', 'female', 'RU1066', 0.021049421280622482, 6.846943139585379, '74-year-old human stage', 'gene', 'Homo sapiens', 'European', 'Resection', 'Naive', False, 'MONDO:0008433', 'B cell', 'cell', 3278.0, 0.4139719307422638, 'NCBITaxon:9606', 1837, 'NCBITaxon:9606', 'B cell', False, '10x 3'' v2', 'RU1066', 'lung', 11, 'HTA8_2003', 'EFO:0009899', 2.891124725341797, 8.095293998718262, 940, 11844, 'HTA8_2003_1', 'small cell lung carcinoma', 'SCLC-A', 'ARL13B', 0.0, 'HANCESTRO:0005', 'B cell', 'UBERON:0002048', 'Naive', 'HsapDv:0000168', 'PATO:0000383', 0.0), ('CL:0000236', 'female', 'RU1066', 0.016481775790452957, 6.907755278982137, '74-year-old human stage', 'gene', 'Homo sapiens', 'European', 'Resection', 'Naive', False, 'MONDO:0008433', 'B cell', 'cell', 3155.0, 0.3328050673007965, 'NCBITaxon:9606', 2109, 'NCBITaxon:9606', 'B cell', False, '10x 3'' v2', 'RU1066', 'lung', 11, 'HTA8_2003', 'EFO:0009899', 2.822798252105713, 8.057060241699219, 999, 2353, 'HTA8_2003_1', 'small cell lung carcinoma', 'SCLC-A', 'ATP6V1A', 0.0, 'HANCESTRO:0005', 'B cell', 'UBERON:0002048', 'Naive', 'HsapDv:0000168', 'PATO:0000383', 0.0), ('CL:0000236', 'female', 'RU1066', 0.018370073288679123, 6.774223886357614, '74-year-old human stage', 'gene', 'Homo sapiens', 'European', 'Resection', 'Naive', False, 'MONDO:0008433', 'B cell', 'cell', 2994.0, 0.34101536870002747, 'NCBITaxon:9606', 2154, 'NCBITaxon:9606', 'B cell', False, '10x 3'' v2', 'RU1066', 'lung', 11, 'HTA8_2003', 'EFO:0009899', 2.8642172813415527, 8.00469970703125, 874, 8035, 'HTA8_2003_1', 'small cell lung carcinoma', 'SCLC-A', 'AUP1', 0.0, 'HANCESTRO:0005', 'B cell', 'UBERON:0002048', 'Naive', 'HsapDv:0000168', 'PATO:0000383', 0.0), ('CL:0000236', 'female', 'RU1066', 0.0050283861346542835, 7.494986233950533, '74-year-old human stage', 'gene', 'Homo sapiens', 'European', 'Resection', 'Naive', False, 'MONDO:0008433', 'B cell', 'cell', 6165.0, 0.2728304862976074, 'NCBITaxon:9606', 2254, 'NCBITaxon:9606', 'B cell', False, '10x 3'' v2', 'RU1066', 'lung', 11, 'HTA8_2003', 'EFO:0009899', 4.716137886047363, 8.726805686950684, 1798, 6201, 'HTA8_2003_1', 'small cell lung carcinoma', 'SCLC-A', 'BASP1', 0.6030352600367863, 'HANCESTRO:0005', 'B cell', 'UBERON:0002048', 'Naive', 'HsapDv:0000168', 'PATO:0000383', 0.45969301996850176), ('CL:0000236', 'female', 'RU1066', 0.015602322295308113, 6.658011045870748, '74-year-old human stage', 'gene', 'Homo sapiens', 'European', 'Resection', 'Naive', False, 'MONDO:0008433', 'B cell', 'cell', 2756.0, 0.4426705241203308, 'NCBITaxon:9606', 2254, 'NCBITaxon:9606', 'B cell', False, '10x 3'' v2', 'RU1066', 'lung', 11, 'HTA8_2003', 'EFO:0009899', 3.224541187286377, 7.921898365020752, 778, 6262, 'HTA8_2003_1', 'small cell lung carcinoma', 'SCLC-A', 'BASP1', 0.0, 'HANCESTRO:0005', 'B cell', 'UBERON:0002048', 'Naive', 'HsapDv:0000168', 'PATO:0000383', 0.0);