-- DBMS: snowflake
create or replace TABLE SCRNASEQ_MSK_SCLC_COMBINED_SAMPLES_CURRENT (
	IOBS NUMBER(38,0),
	IVAR NUMBER(38,0),
	X_VALUE FLOAT,
	NGENES NUMBER(38,0),
	LIBSIZE FLOAT,
	MITO_FRAC FLOAT,
	RBP_FRAC FLOAT,
	BATCH VARCHAR(16777216),
	DONOR_ID VARCHAR(16777216),
	TREATMENT VARCHAR(16777216),
	PROCEDURE VARCHAR(16777216),
	HISTO VARCHAR(16777216),
	CELL_TYPE_COARSE VARCHAR(16777216),
	CELL_TYPE_FINE VARCHAR(16777216),
	CELL_TYPE_GENERAL VARCHAR(16777216),
	CLUSTERS VARCHAR(16777216),
	CELL_TYPE_MED VARCHAR(16777216),
	H_KNN FLOAT,
	DEVELOPMENT_STAGE_ONTOLOGY_TERM_ID VARCHAR(16777216),
	SEX_ONTOLOGY_TERM_ID VARCHAR(16777216),
	SELF_REPORTED_ETHNICITY_ONTOLOGY_TERM_ID VARCHAR(16777216),
	ASSAY_ONTOLOGY_TERM_ID VARCHAR(16777216),
	IS_PRIMARY_DATA BOOLEAN,
	TISSUE_ONTOLOGY_TERM_ID VARCHAR(16777216),
	DISEASE_ONTOLOGY_TERM_ID VARCHAR(16777216),
	ORGANISM_ONTOLOGY_TERM_ID VARCHAR(16777216),
	CELL_TYPE_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_COMBINED_SAMPLES_CURRENT" (SEX, NGENES, TREATMENT, CELL_TYPE, LIBSIZE, TISSUE_ONTOLOGY_TERM_ID, IS_PRIMARY_DATA, HTAN_BIOSPECIMEN_ID, DISEASE_ONTOLOGY_TERM_ID, FEATURE_BIOTYPE, ORGANISM_ONTOLOGY_TERM_ID, CELL_TYPE_MED, SUSPENSION_TYPE, HTAN_PARTICIPANT_ID, PROCEDURE, FEATURE_IS_FILTERED, FEATURE_NAME, IOBS, CELL_TYPE_ONTOLOGY_TERM_ID, CELL_TYPE_COARSE, CELL_TYPE_FINE, HISTO, X_VALUE, CELL_TYPE_GENERAL, ASSAY, TISSUE, ORGANISM, IVAR, CLUSTERS, DEVELOPMENT_STAGE_ONTOLOGY_TERM_ID, H_KNN, RBP_FRAC, DONOR_ID, SEX_ONTOLOGY_TERM_ID, SELF_REPORTED_ETHNICITY_ONTOLOGY_TERM_ID, FEATURE_REFERENCE, DISEASE, ASSAY_ONTOLOGY_TERM_ID, DEVELOPMENT_STAGE, BATCH, MITO_FRAC, SELF_REPORTED_ETHNICITY) VALUES ('female', 5237, 'Naive', 'epithelial cell', 4.526688098907471, 'UBERON:0000175', True, 'HTA8_2012_1', 'MONDO:0008433', 'gene', 'NCBITaxon:9606', 'SCLC-N', 'cell', 'HTA8_2012', 'Thoracentesis', False, 'RGS4', 122894, 'CL:0000066', 'Epithelial', 'SCLC-N', 'SCLC', 0.20909276604652405, 'Epithelial', '10x 3'' v3', 'pleural effusion', 'Homo sapiens', 14255, '39', 'HsapDv:0000169', 0.0, 0.38579118251800537, 'RU1215', 'PATO:0000383', 'HANCESTRO:0005', 'NCBITaxon:9606', 'small cell lung carcinoma', 'EFO:0009922', '75-year-old human stage', 'RU1215', 0.06988432258367538, 'European'), ('female', 5808, 'Naive', 'epithelial cell', 4.671875953674316, 'UBERON:0000175', True, 'HTA8_2012_1', 'MONDO:0008433', 'gene', 'NCBITaxon:9606', 'SCLC-N', 'cell', 'HTA8_2012', 'Thoracentesis', False, 'PER1', 67603, 'CL:0000066', 'Epithelial', 'SCLC-N', 'SCLC', 0.15269240736961365, 'Epithelial', '10x 3'' v3', 'pleural effusion', 'Homo sapiens', 12616, '39', 'HsapDv:0000169', 0.0, 0.3791084885597229, 'RU1215', 'PATO:0000383', 'HANCESTRO:0005', 'NCBITaxon:9606', 'small cell lung carcinoma', 'EFO:0009922', '75-year-old human stage', 'RU1215', 0.05306965112686157, 'European'), ('female', 4995, 'Naive', 'epithelial cell', 4.337638854980469, 'UBERON:0000175', True, 'HTA8_2012_1', 'MONDO:0008433', 'gene', 'NCBITaxon:9606', 'SCLC-N', 'cell', 'HTA8_2012', 'Thoracentesis', False, 'CTBP2', 8765, 'CL:0000066', 'Epithelial', 'SCLC-N', 'SCLC', 0.7849897146224976, 'Epithelial', '10x 3'' v3', 'pleural effusion', 'Homo sapiens', 4046, '39', 'HsapDv:0000169', 1.1128880876605167, 0.26379889249801636, 'RU1215', 'PATO:0000383', 'HANCESTRO:0005', 'NCBITaxon:9606', 'small cell lung carcinoma', 'EFO:0009922', '75-year-old human stage', 'RU1215', 0.02881566248834133, 'European'), ('female', 4627, 'Naive', 'epithelial cell', 4.444638252258301, 'UBERON:0000175', True, 'HTA8_2012_1', 'MONDO:0008433', 'gene', 'NCBITaxon:9606', 'SCLC-N', 'cell', 'HTA8_2012', 'Thoracentesis', False, 'FLOT1', 19520, 'CL:0000066', 'Epithelial', 'SCLC-N', 'SCLC', 0.6463292837142944, 'Epithelial', '10x 3'' v3', 'pleural effusion', 'Homo sapiens', 6405, '39', 'HsapDv:0000169', 0.0, 0.36877650022506714, 'RU1215', 'PATO:0000383', 'HANCESTRO:0005', 'NCBITaxon:9606', 'small cell lung carcinoma', 'EFO:0009922', '75-year-old human stage', 'RU1215', 0.06214527040719986, 'European'), ('female', 4981, 'Naive', 'epithelial cell', 4.442636489868164, 'UBERON:0000175', True, 'HTA8_2012_1', 'MONDO:0008433', 'gene', 'NCBITaxon:9606', 'SCLC-N', 'cell', 'HTA8_2012', 'Thoracentesis', False, 'IFITM3', 53824, 'CL:0000066', 'Epithelial', 'SCLC-N', 'SCLC', 1.2171356678009033, 'Epithelial', '10x 3'' v3', 'pleural effusion', 'Homo sapiens', 8057, '39', 'HsapDv:0000169', 0.0, 0.39007577300071716, 'RU1215', 'PATO:0000383', 'HANCESTRO:0005', 'NCBITaxon:9606', 'small cell lung carcinoma', 'EFO:0009922', '75-year-old human stage', 'RU1215', 0.06806207448244095, 'European');