-- DBMS: snowflake
create or replace TABLE SCRNASEQ_MSK_SCLC_TCELL_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),
	"cell_type_cluster" VARCHAR(16777216),
	"histology_subtype" VARCHAR(16777216),
	"cell_type_ontology_term_id" VARCHAR(16777216),
	"tissue_ontology_term_id" VARCHAR(16777216),
	"disease_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,
	"development_stage_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_TCELL_CURRENT" (HTAN_Participant_ID, X_value, batch, cell_type_cluster, development_stage_ontology_term_id, cell_type_ontology_term_id, tissue_ontology_term_id, cell_type, RBP_frac, is_primary_data, iObs, assay, tissue, feature_reference, sex, n_genes_by_counts, donor_id, feature_biotype, self_reported_ethnicity_ontology_term_id, assay_ontology_term_id, organism, suspension_type, development_stage, feature_is_filtered, clusters, log1p_total_counts, histology_subtype, sex_ontology_term_id, total_counts, feature_name, self_reported_ethnicity, mito_frac, log1p_n_genes_by_counts, organism_ontology_term_id, treatment, HTAN_Biospecimen_ID, author_cell_type, disease_ontology_term_id, procedure, iVar, disease) VALUES ('HTA8_1002', 3.44638729095459, 'RU1057_T', 'Tgd_C22', 'HsapDv:0000161', 'CL:0000798', 'UBERON:0002048', 'gamma-delta T cell', 0.4842589199542999, False, 11445, '10x 3'' v2', 'lung', 'NCBITaxon:9606', 'female', 574, 'RU1057', 'gene', 'HANCESTRO:0005', 'EFO:0009899', 'Homo sapiens', 'cell', '67-year-old human stage', False, '22', 6.918695449829102, 'LUAD', 'PATO:0000383', 1010.0, 'ZFP36L1', 'European', 0.04704633727669716, 6.354370040797351, 'NCBITaxon:9606', 'Naive', 'HTA8_1002_1', 'Tgd', 'MONDO:0005061', 'Resection', 24441, 'lung adenocarcinoma'), ('HTA8_1002', 4.374576091766357, 'RU1057_T', 'Tgd_C22', 'HsapDv:0000161', 'CL:0000492', 'UBERON:0002048', 'CD4-positive helper T cell', 0.4473455250263214, False, 3615, '10x 3'' v2', 'lung', 'NCBITaxon:9606', 'female', 575, 'RU1057', 'gene', 'HANCESTRO:0005', 'EFO:0009899', 'Homo sapiens', 'cell', '67-year-old human stage', False, '22', 6.921658039093018, 'LUAD', 'PATO:0000383', 1013.0, 'ZFP36', 'European', 0.024369016289711, 6.3561076606958915, 'NCBITaxon:9606', 'Naive', 'HTA8_1002_1', 'CD4+ Tconv', 'MONDO:0005061', 'Resection', 24440, 'lung adenocarcinoma'), ('HTA8_1002', 3.44638729095459, 'RU1057_T', 'Tgd_C22', 'HsapDv:0000161', 'CL:0000798', 'UBERON:0002048', 'gamma-delta T cell', 0.4842589199542999, False, 11445, '10x 3'' v2', 'lung', 'NCBITaxon:9606', 'female', 574, 'RU1057', 'gene', 'HANCESTRO:0005', 'EFO:0009899', 'Homo sapiens', 'cell', '67-year-old human stage', False, '22', 6.918695449829102, 'LUAD', 'PATO:0000383', 1010.0, 'ARFGAP2', 'European', 0.04704633727669716, 6.354370040797351, 'NCBITaxon:9606', 'Naive', 'HTA8_1002_1', 'Tgd', 'MONDO:0005061', 'Resection', 1743, 'lung adenocarcinoma'), ('HTA8_1002', 2.8752169609069824, 'RU1057_T', 'Tgd_C22', 'HsapDv:0000161', 'CL:0000492', 'UBERON:0002048', 'CD4-positive helper T cell', 0.4135095477104187, False, 20319, '10x 3'' v2', 'lung', 'NCBITaxon:9606', 'female', 984, 'RU1057', 'gene', 'HANCESTRO:0005', 'EFO:0009899', 'Homo sapiens', 'cell', '67-year-old human stage', False, '22', 7.364546775817871, 'LUAD', 'PATO:0000383', 1578.0, 'APPL1', 'European', 0.059618208557367325, 6.892641641172089, 'NCBITaxon:9606', 'Naive', 'HTA8_1002_1', 'CD4+ Tconv', 'MONDO:0005061', 'Resection', 1709, 'lung adenocarcinoma'), ('HTA8_1002', 3.4425013065338135, 'RU1057_T', 'Tgd_C22', 'HsapDv:0000161', 'CL:0000492', 'UBERON:0002048', 'CD4-positive helper T cell', 0.4473455250263214, False, 3615, '10x 3'' v2', 'lung', 'NCBITaxon:9606', 'female', 575, 'RU1057', 'gene', 'HANCESTRO:0005', 'EFO:0009899', 'Homo sapiens', 'cell', '67-year-old human stage', False, '22', 6.921658039093018, 'LUAD', 'PATO:0000383', 1013.0, 'ARL6IP1', 'European', 0.024369016289711, 6.3561076606958915, 'NCBITaxon:9606', 'Naive', 'HTA8_1002_1', 'CD4+ Tconv', 'MONDO:0005061', 'Resection', 1855, 'lung adenocarcinoma');