From 173bc2dcb665671f505b94d138c64042769c1d5e Mon Sep 17 00:00:00 2001 From: jpfisher72 Date: Mon, 21 Oct 2024 14:19:54 -0400 Subject: [PATCH 1/2] Transition cCREDetails to generated types --- screen2.0/package.json | 4 +- screen2.0/src/app/_mainsearch/queries.ts | 2 +- .../app/applets/gene-expression/queries.ts | 2 +- .../app/search/_ccredetails/configuregb.tsx | 2 +- .../app/search/_ccredetails/linkedccres.tsx | 9 +- .../_ccredetails/nearbygenomicfeatures.tsx | 96 ++++++++---- .../src/app/search/_ccredetails/queries.ts | 131 ++++++---------- .../src/app/search/_ccredetails/rampage.tsx | 2 +- .../src/app/search/mainresultsfilters.tsx | 2 +- screen2.0/src/graphql/__generated__/gql.ts | 74 +++++++-- .../src/graphql/__generated__/graphql.ts | 143 +++++++++++++++--- yarn.lock | 4 - 12 files changed, 313 insertions(+), 158 deletions(-) delete mode 100644 yarn.lock diff --git a/screen2.0/package.json b/screen2.0/package.json index 47c33abf..21994a28 100644 --- a/screen2.0/package.json +++ b/screen2.0/package.json @@ -9,8 +9,8 @@ "lint": "next lint", "prettier": "prettier --write src", "export": "next export", - "generate-types": "graphql-codegen", - "generate-types -w": "graphql-codegen -w" + "gen-types": "graphql-codegen", + "gen-types -w": "graphql-codegen -w" }, "lint-staged": { "linters": { diff --git a/screen2.0/src/app/_mainsearch/queries.ts b/screen2.0/src/app/_mainsearch/queries.ts index c5a25199..ab2d3215 100644 --- a/screen2.0/src/app/_mainsearch/queries.ts +++ b/screen2.0/src/app/_mainsearch/queries.ts @@ -15,7 +15,7 @@ query cCREQuery($accession_prefix: [String!], $limit: Int, $assembly: String!) { export const GENE_AUTOCOMPLETE_QUERY = ` -query ($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) { +query geneAutocomplete($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) { gene(assembly: $assembly, name_prefix: $name_prefix, limit: $limit, version: $version) { name id diff --git a/screen2.0/src/app/applets/gene-expression/queries.ts b/screen2.0/src/app/applets/gene-expression/queries.ts index e3f0f303..1237bb9e 100644 --- a/screen2.0/src/app/applets/gene-expression/queries.ts +++ b/screen2.0/src/app/applets/gene-expression/queries.ts @@ -21,7 +21,7 @@ query geneexpression($assembly: String!, $accessions: [String], $gene_id: [Strin } ` export const GENE_QUERY = gql` - query ($assembly: String!, $name: [String!], $limit: Int, $version: Int) { + query geneAutocomplete($assembly: String!, $name: [String!], $limit: Int, $version: Int) { gene(assembly: $assembly, name: $name, limit: $limit, version: $version) { name id diff --git a/screen2.0/src/app/search/_ccredetails/configuregb.tsx b/screen2.0/src/app/search/_ccredetails/configuregb.tsx index cafd6c90..5c70d781 100644 --- a/screen2.0/src/app/search/_ccredetails/configuregb.tsx +++ b/screen2.0/src/app/search/_ccredetails/configuregb.tsx @@ -11,7 +11,7 @@ import BiosampleTables from "../../_biosampleTables/BiosampleTables"; const CREATE_TRACKHUB_QUERY = ` - query ($assembly: String!,$uuid: String!,$celltypes: [CellTypeInput]!) { + query createTrackhub($assembly: String!,$uuid: String!,$celltypes: [CellTypeInput]!) { createTrackhubQuery(uuid: $uuid, celltypes: $celltypes, assembly:$assembly) } ` diff --git a/screen2.0/src/app/search/_ccredetails/linkedccres.tsx b/screen2.0/src/app/search/_ccredetails/linkedccres.tsx index 496700d1..f12b60a9 100644 --- a/screen2.0/src/app/search/_ccredetails/linkedccres.tsx +++ b/screen2.0/src/app/search/_ccredetails/linkedccres.tsx @@ -15,7 +15,12 @@ type orthologRow = { stop: number } -export const Ortholog = ({ accession, assembly }) => { +type OrthologTabProps = { + accession: string, + assembly: "GRCh38" | "mm10" +} + +export const Ortholog = ({ accession, assembly }: OrthologTabProps) => { const { loading, error, data } = useQuery(ORTHOLOG_QUERY, { variables: { assembly: assembly === "GRCh38" ? "grch38" : "mm10", @@ -28,7 +33,7 @@ export const Ortholog = ({ accession, assembly }) => { let ortholog: orthologRow[] = [] if (data) { - for (let ccre of data.orthologQuery.ortholog) { + for (let ccre of data.orthologQuery[0].ortholog) { ortholog.push({ accession: ccre.accession, chrom: ccre.chromosome, diff --git a/screen2.0/src/app/search/_ccredetails/nearbygenomicfeatures.tsx b/screen2.0/src/app/search/_ccredetails/nearbygenomicfeatures.tsx index 92c0234f..8e1fc649 100644 --- a/screen2.0/src/app/search/_ccredetails/nearbygenomicfeatures.tsx +++ b/screen2.0/src/app/search/_ccredetails/nearbygenomicfeatures.tsx @@ -10,6 +10,19 @@ import { LoadingMessage } from "../../../common/lib/utility" import { calcDistRegionToPosition, calcDistRegionToRegion } from "./utils" import { calcDistToTSS } from "./utils" import GeneLink from "../../_utility/GeneLink" +import { NearbyGenomicFeaturesQuery, NearbyGenomicFeaturesNoSnPsQuery } from "../../../graphql/__generated__/graphql" + +type SNP = { + assembly: "mm10" | "GRCh38"; + accession: string; + chrom: string; + cre_start: number; + cre_end: number; + distance: number; + name: string; + snp_start: number; + snp_end: number; +}; export const NearByGenomicFeatures: React.FC<{ assembly: "mm10" | "GRCh38" @@ -18,12 +31,12 @@ export const NearByGenomicFeatures: React.FC<{ handleOpencCRE: (row: any) => void }> = ({ assembly, accession, coordinates, handleOpencCRE }) => { - const { loading, data } = useQuery( - assembly.toLowerCase() === "mm10" ? NEARBY_GENOMIC_FEATURES_NOSNPS_QUERY : NEARBY_GENOMIC_FEATURES_QUERY, + const { loading: loadingHuman, data: dataHuman } = useQuery( + NEARBY_GENOMIC_FEATURES_QUERY, { variables: - assembly.toLowerCase() === "mm10" - ? { + { + a: "hg38", b: assembly.toLowerCase(), c: assembly.toLowerCase(), coordinates: { @@ -34,10 +47,19 @@ export const NearByGenomicFeatures: React.FC<{ chromosome: coordinates.chromosome, start: coordinates.start - 1000000, end: coordinates.end + 1000000, - version: 25 - } - : { - a: "hg38", + version: 40 + }, + skip: assembly !== "GRCh38", + fetchPolicy: "cache-and-network", + nextFetchPolicy: "cache-first", + client, + } + ) + + const { loading: loadingMouse, data: dataMouse } = useQuery( + NEARBY_GENOMIC_FEATURES_NOSNPS_QUERY, + { + variables:{ b: assembly.toLowerCase(), c: assembly.toLowerCase(), coordinates: { @@ -48,14 +70,18 @@ export const NearByGenomicFeatures: React.FC<{ chromosome: coordinates.chromosome, start: coordinates.start - 1000000, end: coordinates.end + 1000000, - version: 40 + version: 25 }, + skip: assembly !== "mm10", fetchPolicy: "cache-and-network", nextFetchPolicy: "cache-first", client, } ) + const data = (assembly === "GRCh38") ? dataHuman : dataMouse + const loading = (assembly === "GRCh38") ? loadingHuman : loadingMouse + let genes = data && data.gene && @@ -66,7 +92,7 @@ export const NearByGenomicFeatures: React.FC<{ chrom: g.coordinates.chromosome, start: g.coordinates.start, stop: g.coordinates.end, - distance: calcDistToTSS({...coordinates, chrom: coordinates.chromosome}, g.transcripts, g.strand) + distance: calcDistToTSS({...coordinates, chrom: coordinates.chromosome}, g.transcripts, g.strand as "+" | "-") } }) let ccres = @@ -81,10 +107,11 @@ export const NearByGenomicFeatures: React.FC<{ end: c.coordinates.end } }) - let snps = - data && - data.snpQuery && - data.snpQuery.map((s) => { + + let snps: SNP[] | undefined; + + if (assembly === "GRCh38" && data && (data as NearbyGenomicFeaturesQuery).snpQuery) { + snps = (data as NearbyGenomicFeaturesQuery).snpQuery.map((s) => { return { assembly, accession: accession, @@ -95,8 +122,10 @@ export const NearByGenomicFeatures: React.FC<{ name: s.id, snp_start: s.coordinates.start, snp_end: s.coordinates.end, - } - }) + }; + }); + } + return (<> {loading || !data ? ( @@ -104,11 +133,17 @@ export const NearByGenomicFeatures: React.FC<{ <> + size={ + assembly === "GRCh38" ? { + xs: 12, + md: 6, + xl: 4 + } : { + xs: 12, + md: 6, + } + } + > { + size={ + assembly === "GRCh38" ? { + xs: 12, + md: 6, + xl: 4 + } : { + xs: 12, + md: 6, + } + } + > { } + {assembly === "GRCh38" && } - + } )} diff --git a/screen2.0/src/app/search/_ccredetails/queries.ts b/screen2.0/src/app/search/_ccredetails/queries.ts index e0f1bbd0..3da8b92f 100644 --- a/screen2.0/src/app/search/_ccredetails/queries.ts +++ b/screen2.0/src/app/search/_ccredetails/queries.ts @@ -1,44 +1,15 @@ -import { TypedDocumentNode, gql } from "@apollo/client" +import { gql } from "../../../graphql/__generated__" -type Data = { - ccREBiosampleQuery: { - biosamples: { - sampleType: string; - displayname: string; - cCREZScores: { - score: number; - assay: string; - experiment_accession: string; - }[]; - name: string; - ontology: string; - }[] - }, - cCREQuery: [{ - accession: string, - group: string, - dnase: number, - h3k4me3: number, - h3k27ac: number, - ctcf: number - }] -} - -type Variables = { - assembly: "mm10" | "grch38", - accession: [string], -} - -export const GET_CCRE_CT_TF = gql` -query q_2($accession: String!, $assembly: String!) { +export const GET_CCRE_CT_TF = gql(` +query cCRETF($accession: String!, $assembly: String!) { getcCRETFQuery(accession: $accession, assembly: $assembly) { celltype tf } } -` -export const TOP_TISSUES: TypedDocumentNode = gql` - query q_3($accession: [String!], $assembly: String!) { +`) +export const TOP_TISSUES = gql(` + query topTissues($accession: [String!], $assembly: String!) { ccREBiosampleQuery(assembly: $assembly) { biosamples { sampleType @@ -62,9 +33,10 @@ export const TOP_TISSUES: TypedDocumentNode = gql` atac: maxZ(assay: "ATAC") } } -` -export const LINKED_GENES = gql` - query( +`) + +export const LINKED_GENES = gql(` + query linkedGenes( $assembly: String! $accessions: [String]! $methods: [String] @@ -96,9 +68,10 @@ export const LINKED_GENES = gql` displayname } } -` -export const MPRA_FUNCTIONAL_DATA_QUERY = gql ` -query ($coordinates: [GenomicRangeInput!]) { +`) + +export const MPRA_FUNCTIONAL_DATA_QUERY = gql(` +query MPRA_FCC($coordinates: [GenomicRangeInput!]) { mpraFccQuery(coordinates: $coordinates) { celltype chromosome @@ -113,9 +86,9 @@ query ($coordinates: [GenomicRangeInput!]) { barcode_location } } -` -export const CAPRA_SOLO_FUNCTIONAL_DATA_QUERY = gql ` -query ($accession: [String]!) { +`) +export const CAPRA_SOLO_FUNCTIONAL_DATA_QUERY = gql(` +query capraFccSoloQuery($accession: [String]!) { capraFccSoloQuery(accession: $accession) { rdhs log2fc @@ -128,9 +101,10 @@ query ($accession: [String]!) { experiment } } -` -export const CAPRA_DOUBLE_FUNCTIONAL_DATA_QUERY = gql ` -query ($accession: [String]!) { +`) + +export const CAPRA_DOUBLE_FUNCTIONAL_DATA_QUERY = gql(` +query capraFccDoubleQuery($accession: [String]!) { capraFccDoubleQuery(accession: $accession) { rdhs_p1 rdhs_p2 @@ -144,17 +118,18 @@ query ($accession: [String]!) { experiment } } -` -export const CCRE_RDHS_QUERY = gql` -query ($rDHS: [String!],$assembly: String!) { +`) + +export const CCRE_RDHS_QUERY = gql(` +query rdhs($rDHS: [String!],$assembly: String!) { cCREQuery(assembly: $assembly, rDHS: $rDHS) { accession } } -` +`) -export const FUNCTIONAL_DATA_QUERY= gql` -query ($coordinates: [GenomicRangeInput!],$assembly: String!) { +export const FUNCTIONAL_DATA_QUERY= gql(` +query functionalCharacterizationQuery($coordinates: [GenomicRangeInput!],$assembly: String!) { functionalCharacterizationQuery(assembly: $assembly, coordinates: $coordinates) { tissues element_id @@ -164,18 +139,19 @@ query ($coordinates: [GenomicRangeInput!],$assembly: String!) { start } } +`) -` -export const GENE_NAME = gql` - query ($assembly: String!, $name_prefix: [String!], $version: Int) { +export const GENE_NAME = gql(` + query geneName($assembly: String!, $name_prefix: [String!], $version: Int) { gene(assembly: $assembly, name_prefix: $name_prefix, version: $version) { name id } } -` -export const ORTHOLOG_QUERY = gql` - query ($assembly: String!, $accession: String!) { +`) + +export const ORTHOLOG_QUERY = gql(` + query orthologTab($assembly: String!, $accession: [String!]) { orthologQuery(accession: $accession, assembly: $assembly) { assembly accession @@ -187,10 +163,10 @@ export const ORTHOLOG_QUERY = gql` } } } -` +`) -export const NEARBY_GENOMIC_FEATURES_QUERY = gql` - query features_1($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) { +export const NEARBY_GENOMIC_FEATURES_QUERY = gql(` + query nearbyGenomicFeatures($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) { gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) { name id @@ -229,10 +205,10 @@ export const NEARBY_GENOMIC_FEATURES_QUERY = gql` } } } -` +`) -export const NEARBY_GENOMIC_FEATURES_NOSNPS_QUERY = gql` - query features_2($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) { +export const NEARBY_GENOMIC_FEATURES_NOSNPS_QUERY = gql(` + query nearbyGenomicFeaturesNoSNPs($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) { gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) { name id @@ -262,8 +238,8 @@ export const NEARBY_GENOMIC_FEATURES_NOSNPS_QUERY = gql` group } } -` -export const CRE_TF_DCC_QUERY = gql` +`) +export const CRE_TF_DCC_QUERY = gql(` query tfpeaks_1($assembly: String, $range: [ChromosomeRangeInput]!, $target: String) { peaks(assembly: $assembly, range: $range, target: $target) { peaks { @@ -281,9 +257,9 @@ export const CRE_TF_DCC_QUERY = gql` } } } -` +`) -export const TF_INTERSECTION_QUERY = gql` +export const TF_INTERSECTION_QUERY = gql(` query tfpeaks_2($assembly: String, $range: [ChromosomeRangeInput]!, $species: String) { peaks(assembly: $assembly, range: $range) { peaks { @@ -308,8 +284,9 @@ export const TF_INTERSECTION_QUERY = gql` } } } -` -export const NEARBY_AND_LINKED_GENES = gql` +`) + +export const NEARBY_AND_LINKED_GENES = gql(` query nearbyAndLinkedGenes( $accessions: [String!]! $assembly: String! @@ -363,14 +340,4 @@ export const NEARBY_AND_LINKED_GENES = gql` displayname } } -` - -const LINKED_GENES_CELLTYPES = gql` - query getlistofLinkedGenesCelltypes { - linkedGenesCelltypes: getLinkedGenesCelltypes { - celltype - displayname - method - } - } -` \ No newline at end of file +`) \ No newline at end of file diff --git a/screen2.0/src/app/search/_ccredetails/rampage.tsx b/screen2.0/src/app/search/_ccredetails/rampage.tsx index 1674ca28..2462306a 100644 --- a/screen2.0/src/app/search/_ccredetails/rampage.tsx +++ b/screen2.0/src/app/search/_ccredetails/rampage.tsx @@ -24,7 +24,7 @@ import { client } from "./client" import ConfigureGBModal from "./configuregbmodal" const GENE_QUERY = gql` -query ($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) { +query geneQuery($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) { gene(assembly: $assembly, name_prefix: $name_prefix, limit: $limit, version: $version) { name id diff --git a/screen2.0/src/app/search/mainresultsfilters.tsx b/screen2.0/src/app/search/mainresultsfilters.tsx index 9c75f3a2..741ec7f2 100644 --- a/screen2.0/src/app/search/mainresultsfilters.tsx +++ b/screen2.0/src/app/search/mainresultsfilters.tsx @@ -87,7 +87,7 @@ const tssMarks = [ ]; const GENE_TRANSCRIPTS_QUERY = gql` - query ($assembly: String!, $name: [String!], $limit: Int, $version: Int) { + query geneTSS($assembly: String!, $name: [String!], $limit: Int, $version: Int) { gene(assembly: $assembly, name: $name, limit: $limit, version: $version) { name id diff --git a/screen2.0/src/graphql/__generated__/gql.ts b/screen2.0/src/graphql/__generated__/gql.ts index 38204708..d9c287c7 100644 --- a/screen2.0/src/graphql/__generated__/gql.ts +++ b/screen2.0/src/graphql/__generated__/gql.ts @@ -19,6 +19,7 @@ const documents = { "\nquery bedIntersectCCRE_1 ($user_ccres: [cCRE]!, $assembly: String!, $max_ouput_length: Int) {\n intersection (\n userCcres: $user_ccres,\n assembly: $assembly,\n maxOutputLength: $max_ouput_length\n )\n}\n": types.BedIntersectCcre_1Document, "\n query getGeneLocation($name: String!, $assembly: String!) {\n gene(name: [$name], assembly: $assembly, version: 40) {\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n": types.GetGeneLocationDocument, "\nquery geneexpression($assembly: String!, $accessions: [String], $gene_id: [String]) {\n gene_dataset(accession: $accessions) {\n biosample\n tissue\n \tcell_compartment\n biosample_type\n \tassay_term_name\n accession \n gene_quantification_files(assembly: $assembly) {\n accession\n biorep\n quantifications(gene_id_prefix: $gene_id) {\n tpm\n file_accession\n fpkm\n }\n }\n }\n}\n ": types.GeneexpressionDocument, + "\n query geneAutocomplete($assembly: String!, $name: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name: $name, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n }\n } ": types.GeneAutocompleteDocument, "\n query geneOrthologQuery($name: [String]!, $assembly: String!) {\n geneOrthologQuery: geneorthologQuery(name: $name, assembly: $assembly) {\n humanGene: external_gene_name\n mouseGene: mmusculus_homolog_associated_gene_name\n }\n }\n": types.GeneOrthologQueryDocument, "\n query getAllGWASStudies {\n getAllGwasStudies {\n study\n totalldblocks \n author\n pubmedid\n studyname\n \n }\n }\n": types.GetAllGwasStudiesDocument, "\n query getSNPsforgivengwasStudy($study: [String!]!){\n getSNPsforGWASStudies(study:$study) {\n snpid\n ldblock\n rsquare\n chromosome\n stop\n start\n ldblocksnpid\n }\n }": types.GetSnPsforgivengwasStudyDocument, @@ -30,15 +31,22 @@ const documents = { "\n query s_3($chromosome: String, $start: Int, $end: Int, $assembly: String!) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $assembly) {\n name\n strand\n transcripts {\n name\n strand\n exons {\n coordinates {\n chromosome\n start\n end\n }\n }\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n }\n": types.S_3Document, "\nquery ENTEXQuery($accession: String!){\n entexQuery(accession: $accession){\n assay\n accession\n hap1_count\n hap2_count\n hap1_allele_ratio\n p_betabinom\n experiment_accession\n tissue\n donor \n imbalance_significance\n }\n}\n": types.EntexQueryDocument, "\nquery entexActiveAnnotationsQuery( $coordinates: GenomicRangeInput! ) {\n entexActiveAnnotationsQuery(coordinates: $coordinates) {\n tissue\n assay_score\n }\n\n}": types.EntexActiveAnnotationsQueryDocument, - "\n query geneLocation ($name: String!, $assembly: String!, $version: Int!){\n gene(name: [$name], assembly: $assembly, version: $version){\n name\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n ": types.GeneLocationDocument, - "\nquery q_2($accession: String!, $assembly: String!) {\ngetcCRETFQuery(accession: $accession, assembly: $assembly) {\n celltype\n tf\n }\n}\n": types.Q_2Document, - "\n query q_3($accession: [String!], $assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n sampleType\n displayname\n cCREZScores(accession: $accession) {\n score\n assay\n experiment_accession\n }\n name\n ontology\n }\n }\n cCREQuery(assembly: $assembly, accession: $accession) {\n accession\n group\n dnase: maxZ(assay: \"DNase\")\n h3k4me3: maxZ(assay: \"H3K4me3\")\n h3k27ac: maxZ(assay: \"H3K27ac\")\n ctcf: maxZ(assay: \"CTCF\")\n atac: maxZ(assay: \"ATAC\")\n }\n }\n": types.Q_3Document, - "\n query features_1($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n\n snpQuery(coordinates: $coordinates, assembly: $a, common: true) {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n": types.Features_1Document, - "\n query features_2($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n }\n": types.Features_2Document, + "\nquery cCRETF($accession: String!, $assembly: String!) {\ngetcCRETFQuery(accession: $accession, assembly: $assembly) {\n celltype\n tf\n }\n}\n": types.CCretfDocument, + "\n query topTissues($accession: [String!], $assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n sampleType\n displayname\n cCREZScores(accession: $accession) {\n score\n assay\n experiment_accession\n }\n name\n ontology\n }\n }\n cCREQuery(assembly: $assembly, accession: $accession) {\n accession\n group\n dnase: maxZ(assay: \"DNase\")\n h3k4me3: maxZ(assay: \"H3K4me3\")\n h3k27ac: maxZ(assay: \"H3K27ac\")\n ctcf: maxZ(assay: \"CTCF\")\n atac: maxZ(assay: \"ATAC\")\n }\n }\n": types.TopTissuesDocument, + "\n query linkedGenes(\n $assembly: String!\n $accessions: [String]!\n $methods: [String]\n $celltypes: [String]\n ) {\n linkedGenes: linkedGenesQuery(\n assembly: $assembly\n accession: $accessions\n method: $methods\n celltype: $celltypes\n ) {\n p_val\n gene\n geneid\n genetype\n method\n accession\n grnaid\n effectsize\n assay\n celltype\n experiment_accession\n tissue\n score\n variantid\n source\n slope\n tissue\n displayname\n }\n }\n": types.LinkedGenesDocument, + "\nquery MPRA_FCC($coordinates: [GenomicRangeInput!]) {\n mpraFccQuery(coordinates: $coordinates) {\n celltype\n chromosome\n stop\n start\n assay_type\n element_location\n series\n strand\n log2fc\n experiment \n barcode_location\n }\n}\n": types.Mpra_FccDocument, + "\nquery capraFccSoloQuery($accession: [String]!) {\n capraFccSoloQuery(accession: $accession) {\n rdhs\n log2fc\n fdr\n dna_rep1\n rna_rep1\n rna_rep2\n rna_rep3\n pvalue\n experiment\n }\n}\n": types.CapraFccSoloQueryDocument, + "\nquery capraFccDoubleQuery($accession: [String]!) {\n capraFccDoubleQuery(accession: $accession) {\n rdhs_p1\n rdhs_p2\n log2fc\n fdr\n dna_rep1\n rna_rep1\n rna_rep2\n rna_rep3\n pvalue\n experiment\n }\n}\n": types.CapraFccDoubleQueryDocument, + "\nquery rdhs($rDHS: [String!],$assembly: String!) {\n cCREQuery(assembly: $assembly, rDHS: $rDHS) {\n accession\n }\n}\n": types.RdhsDocument, + "\nquery functionalCharacterizationQuery($coordinates: [GenomicRangeInput!],$assembly: String!) {\n functionalCharacterizationQuery(assembly: $assembly, coordinates: $coordinates) {\n tissues\n element_id\n assay_result\n chromosome\n stop\n start\n }\n}\n": types.FunctionalCharacterizationQueryDocument, + "\n query geneName($assembly: String!, $name_prefix: [String!], $version: Int) {\n gene(assembly: $assembly, name_prefix: $name_prefix, version: $version) {\n name\n id\n }\n }\n": types.GeneNameDocument, + "\n query orthologTab($assembly: String!, $accession: [String!]) {\n orthologQuery(accession: $accession, assembly: $assembly) {\n assembly\n accession\n ortholog {\n stop\n start\n chromosome\n accession\n }\n }\n }\n": types.OrthologTabDocument, + "\n query nearbyGenomicFeatures($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n\n snpQuery(coordinates: $coordinates, assembly: $a, common: true) {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n": types.NearbyGenomicFeaturesDocument, + "\n query nearbyGenomicFeaturesNoSNPs($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n }\n": types.NearbyGenomicFeaturesNoSnPsDocument, "\n query tfpeaks_1($assembly: String, $range: [ChromosomeRangeInput]!, $target: String) {\n peaks(assembly: $assembly, range: $range, target: $target) {\n peaks {\n chrom\n chrom_start\n chrom_end\n dataset {\n biosample\n accession\n target\n files(types: \"replicated_peaks\") {\n accession\n }\n }\n }\n }\n }\n": types.Tfpeaks_1Document, "\n query tfpeaks_2($assembly: String, $range: [ChromosomeRangeInput]!, $species: String) {\n peaks(assembly: $assembly, range: $range) {\n peaks {\n chrom\n chrom_start\n chrom_end\n dataset {\n biosample\n accession\n target\n }\n }\n }\n peakDataset(species: $species) {\n partitionByTarget {\n target {\n name\n }\n counts {\n total\n }\n }\n }\n }\n": types.Tfpeaks_2Document, "\n query nearbyAndLinkedGenes(\n $accessions: [String!]!\n $assembly: String!\n $geneSearchStart: Int!\n $geneSearchEnd: Int!\n $geneSearchChrom: String!\n $geneVersion: Int!\n ) {\n nearbyGenes: gene(\n chromosome: $geneSearchChrom\n start: $geneSearchStart\n end: $geneSearchEnd\n assembly: $assembly\n version: $geneVersion\n ) {\n name\n id\n gene_type\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n linkedGenes: linkedGenesQuery(assembly: $assembly, accession: $accessions) {\n accession \n p_val\n gene\n geneid\n genetype\n method\n grnaid\n effectsize\n assay\n celltype\n experiment_accession\n tissue\n variantid\n source\n slope\n score\n displayname\n }\n }\n": types.NearbyAndLinkedGenesDocument, - "\n query getlistofLinkedGenesCelltypes {\n linkedGenesCelltypes: getLinkedGenesCelltypes {\n celltype\n displayname\n method\n }\n }\n": types.GetlistofLinkedGenesCelltypesDocument, + "\nquery geneQuery($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name_prefix: $name_prefix, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n }\n} ": types.GeneQueryDocument, "\n query cCRE_1($assembly: String!, $accession: [String!], $experiments: [String!]) {\n cCREQuery(assembly: $assembly, accession: $accession) {\n group\n zScores(experiments: $experiments) {\n experiment\n score\n }\n }\n }\n": types.CCre_1Document, "\n query cCRE_2($assembly: String!, $accession: [String!]) {\n cCREQuery(assembly: $assembly, accession: $accession) {\n group\n dnase: maxZ(assay: \"dnase\")\n h3k4me3: maxZ(assay: \"h3k4me3\")\n h3k27ac: maxZ(assay: \"h3k27ac\")\n ctcf: maxZ(assay: \"ctcf\")\n atac: maxZ(assay: \"atac\")\n }\n }\n": types.CCre_2Document, "\n query cytobands($assembly: String!, $chromosome: String) {\n cytoband(assembly: $assembly, chromosome: $chromosome) {\n stain\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n": types.CytobandsDocument, @@ -47,6 +55,8 @@ const documents = { "\n query BigRequests($bigRequests: [BigRequest!]!) {\n bigRequests(requests: $bigRequests) {\n data\n error {\n errortype\n message\n }\n }\n }\n": types.BigRequestsDocument, "\n query q_1($assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n name\n displayname\n dnase: experimentAccession(assay: \"DNase\")\n h3k4me3: experimentAccession(assay: \"H3K4me3\")\n h3k27ac: experimentAccession(assay: \"H3K27ac\")\n ctcf: experimentAccession(assay: \"CTCF\")\n dnase_signal: fileAccession(assay: \"DNase\")\n h3k4me3_signal: fileAccession(assay: \"H3K4me3\")\n h3k27ac_signal: fileAccession(assay: \"H3K27ac\")\n ctcf_signal: fileAccession(assay: \"CTCF\")\n }\n }\n }\n": types.Q_1Document, "\n query s_1($chromosome: String, $start: Int, $end: Int, $assembly: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $assembly, version: $version) {\n name\n strand\n transcripts {\n name\n strand\n exons {\n coordinates {\n chromosome\n start\n end\n }\n }\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n }\n": types.S_1Document, + "\n query geneTSS($assembly: String!, $name: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name: $name, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n strand\n transcripts {\n name\n coordinates {\n start\n end\n } \n }\n }\n } ": types.GeneTssDocument, + "\n query getlistofLinkedGenesCelltypes {\n linkedGenesCelltypes: getLinkedGenesCelltypes {\n celltype\n displayname\n method\n }\n }\n": types.GetlistofLinkedGenesCelltypesDocument, "\n query ccreSearchQuery_1(\n $accessions: [String!]\n $assembly: String!\n $cellType: String\n $coordinates: [GenomicRangeInput]\n $element_type: String\n $gene_all_start: Int\n $gene_all_end: Int\n $gene_pc_start: Int\n $gene_pc_end: Int\n $rank_ctcf_end: Float\n $rank_ctcf_start: Float\n $rank_dnase_end: Float\n $rank_dnase_start: Float\n $rank_enhancer_end: Float\n $rank_enhancer_start: Float\n $rank_promoter_end: Float\n $rank_promoter_start: Float\n $rank_atac_end: Float\n $rank_atac_start: Float\n $mammals_min: Float\n $mammals_max: Float\n $vertebrates_min: Float\n $vertebrates_max: Float\n $primates_min: Float\n $primates_max: Float\n $uuid: String\n $limit: Int\n $nearbygeneslimit: Int\n $nearbygenesdistancethreshold: Int\n ) {\n cCRESCREENSearch(\n assembly: $assembly\n accessions: $accessions\n cellType: $cellType\n coordinates: $coordinates\n element_type: $element_type\n gene_all_start: $gene_all_start\n gene_all_end: $gene_all_end\n gene_pc_start: $gene_pc_start\n gene_pc_end: $gene_pc_end\n rank_atac_end: $rank_atac_end\n rank_atac_start: $rank_atac_start\n rank_ctcf_end: $rank_ctcf_end\n rank_ctcf_start: $rank_ctcf_start\n rank_dnase_end: $rank_dnase_end\n rank_dnase_start: $rank_dnase_start\n rank_enhancer_end: $rank_enhancer_end\n rank_enhancer_start: $rank_enhancer_start\n rank_promoter_end: $rank_promoter_end\n rank_promoter_start: $rank_promoter_start\n mammals_min: $mammals_min\n mammals_max: $mammals_max\n vertebrates_min: $vertebrates_min\n vertebrates_max: $vertebrates_max\n primates_min: $primates_min\n primates_max: $primates_max\n uuid: $uuid\n limit: $limit\n nearbygeneslimit: $nearbygeneslimit\n nearbygenesdistancethreshold: $nearbygenesdistancethreshold\n ) {\n chrom\n start\n len\n pct\n vertebrates\n mammals\n primates\n ctcf_zscore\n dnase_zscore\n enhancer_zscore\n promoter_zscore\n atac_zscore\n ctspecific {\n ct\n dnase_zscore\n h3k4me3_zscore\n h3k27ac_zscore\n ctcf_zscore\n atac_zscore\n }\n info {\n accession\n isproximal\n concordant\n }\n nearestgenes {\n gene\n distance\n }\n }\n }\n": types.CcreSearchQuery_1Document, "\n query biosamples_3 {\n human: ccREBiosampleQuery(assembly: \"grch38\") {\n biosamples {\n name\n ontology\n lifeStage\n sampleType\n displayname\n dnase: experimentAccession(assay: \"DNase\")\n h3k4me3: experimentAccession(assay: \"H3K4me3\")\n h3k27ac: experimentAccession(assay: \"H3K27ac\")\n ctcf: experimentAccession(assay: \"CTCF\")\n atac: experimentAccession(assay: \"ATAC\")\n dnase_signal: fileAccession(assay: \"DNase\")\n h3k4me3_signal: fileAccession(assay: \"H3K4me3\")\n h3k27ac_signal: fileAccession(assay: \"H3K27ac\")\n ctcf_signal: fileAccession(assay: \"CTCF\")\n atac_signal: fileAccession(assay: \"ATAC\")\n }\n }\n mouse: ccREBiosampleQuery(assembly: \"mm10\") {\n biosamples {\n name\n ontology\n lifeStage\n sampleType\n displayname\n dnase: experimentAccession(assay: \"DNase\")\n h3k4me3: experimentAccession(assay: \"H3K4me3\")\n h3k27ac: experimentAccession(assay: \"H3K27ac\")\n ctcf: experimentAccession(assay: \"CTCF\")\n atac: experimentAccession(assay: \"ATAC\")\n dnase_signal: fileAccession(assay: \"DNase\")\n h3k4me3_signal: fileAccession(assay: \"H3K4me3\")\n h3k27ac_signal: fileAccession(assay: \"H3K27ac\")\n ctcf_signal: fileAccession(assay: \"CTCF\")\n atac_signal: fileAccession(assay: \"ATAC\")\n }\n }\n }\n": types.Biosamples_3Document, }; @@ -89,6 +99,10 @@ export function gql(source: "\n query getGeneLocation($name: String!, $assembly * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function gql(source: "\nquery geneexpression($assembly: String!, $accessions: [String], $gene_id: [String]) {\n gene_dataset(accession: $accessions) {\n biosample\n tissue\n \tcell_compartment\n biosample_type\n \tassay_term_name\n accession \n gene_quantification_files(assembly: $assembly) {\n accession\n biorep\n quantifications(gene_id_prefix: $gene_id) {\n tpm\n file_accession\n fpkm\n }\n }\n }\n}\n "): (typeof documents)["\nquery geneexpression($assembly: String!, $accessions: [String], $gene_id: [String]) {\n gene_dataset(accession: $accessions) {\n biosample\n tissue\n \tcell_compartment\n biosample_type\n \tassay_term_name\n accession \n gene_quantification_files(assembly: $assembly) {\n accession\n biorep\n quantifications(gene_id_prefix: $gene_id) {\n tpm\n file_accession\n fpkm\n }\n }\n }\n}\n "]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query geneAutocomplete($assembly: String!, $name: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name: $name, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n }\n } "): (typeof documents)["\n query geneAutocomplete($assembly: String!, $name: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name: $name, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n }\n } "]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ @@ -136,23 +150,51 @@ export function gql(source: "\nquery entexActiveAnnotationsQuery( $coordinates: /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\n query geneLocation ($name: String!, $assembly: String!, $version: Int!){\n gene(name: [$name], assembly: $assembly, version: $version){\n name\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n "): (typeof documents)["\n query geneLocation ($name: String!, $assembly: String!, $version: Int!){\n gene(name: [$name], assembly: $assembly, version: $version){\n name\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n "]; +export function gql(source: "\nquery cCRETF($accession: String!, $assembly: String!) {\ngetcCRETFQuery(accession: $accession, assembly: $assembly) {\n celltype\n tf\n }\n}\n"): (typeof documents)["\nquery cCRETF($accession: String!, $assembly: String!) {\ngetcCRETFQuery(accession: $accession, assembly: $assembly) {\n celltype\n tf\n }\n}\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query topTissues($accession: [String!], $assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n sampleType\n displayname\n cCREZScores(accession: $accession) {\n score\n assay\n experiment_accession\n }\n name\n ontology\n }\n }\n cCREQuery(assembly: $assembly, accession: $accession) {\n accession\n group\n dnase: maxZ(assay: \"DNase\")\n h3k4me3: maxZ(assay: \"H3K4me3\")\n h3k27ac: maxZ(assay: \"H3K27ac\")\n ctcf: maxZ(assay: \"CTCF\")\n atac: maxZ(assay: \"ATAC\")\n }\n }\n"): (typeof documents)["\n query topTissues($accession: [String!], $assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n sampleType\n displayname\n cCREZScores(accession: $accession) {\n score\n assay\n experiment_accession\n }\n name\n ontology\n }\n }\n cCREQuery(assembly: $assembly, accession: $accession) {\n accession\n group\n dnase: maxZ(assay: \"DNase\")\n h3k4me3: maxZ(assay: \"H3K4me3\")\n h3k27ac: maxZ(assay: \"H3K27ac\")\n ctcf: maxZ(assay: \"CTCF\")\n atac: maxZ(assay: \"ATAC\")\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query linkedGenes(\n $assembly: String!\n $accessions: [String]!\n $methods: [String]\n $celltypes: [String]\n ) {\n linkedGenes: linkedGenesQuery(\n assembly: $assembly\n accession: $accessions\n method: $methods\n celltype: $celltypes\n ) {\n p_val\n gene\n geneid\n genetype\n method\n accession\n grnaid\n effectsize\n assay\n celltype\n experiment_accession\n tissue\n score\n variantid\n source\n slope\n tissue\n displayname\n }\n }\n"): (typeof documents)["\n query linkedGenes(\n $assembly: String!\n $accessions: [String]!\n $methods: [String]\n $celltypes: [String]\n ) {\n linkedGenes: linkedGenesQuery(\n assembly: $assembly\n accession: $accessions\n method: $methods\n celltype: $celltypes\n ) {\n p_val\n gene\n geneid\n genetype\n method\n accession\n grnaid\n effectsize\n assay\n celltype\n experiment_accession\n tissue\n score\n variantid\n source\n slope\n tissue\n displayname\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nquery MPRA_FCC($coordinates: [GenomicRangeInput!]) {\n mpraFccQuery(coordinates: $coordinates) {\n celltype\n chromosome\n stop\n start\n assay_type\n element_location\n series\n strand\n log2fc\n experiment \n barcode_location\n }\n}\n"): (typeof documents)["\nquery MPRA_FCC($coordinates: [GenomicRangeInput!]) {\n mpraFccQuery(coordinates: $coordinates) {\n celltype\n chromosome\n stop\n start\n assay_type\n element_location\n series\n strand\n log2fc\n experiment \n barcode_location\n }\n}\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\nquery capraFccSoloQuery($accession: [String]!) {\n capraFccSoloQuery(accession: $accession) {\n rdhs\n log2fc\n fdr\n dna_rep1\n rna_rep1\n rna_rep2\n rna_rep3\n pvalue\n experiment\n }\n}\n"): (typeof documents)["\nquery capraFccSoloQuery($accession: [String]!) {\n capraFccSoloQuery(accession: $accession) {\n rdhs\n log2fc\n fdr\n dna_rep1\n rna_rep1\n rna_rep2\n rna_rep3\n pvalue\n experiment\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nquery q_2($accession: String!, $assembly: String!) {\ngetcCRETFQuery(accession: $accession, assembly: $assembly) {\n celltype\n tf\n }\n}\n"): (typeof documents)["\nquery q_2($accession: String!, $assembly: String!) {\ngetcCRETFQuery(accession: $accession, assembly: $assembly) {\n celltype\n tf\n }\n}\n"]; +export function gql(source: "\nquery capraFccDoubleQuery($accession: [String]!) {\n capraFccDoubleQuery(accession: $accession) {\n rdhs_p1\n rdhs_p2\n log2fc\n fdr\n dna_rep1\n rna_rep1\n rna_rep2\n rna_rep3\n pvalue\n experiment\n }\n}\n"): (typeof documents)["\nquery capraFccDoubleQuery($accession: [String]!) {\n capraFccDoubleQuery(accession: $accession) {\n rdhs_p1\n rdhs_p2\n log2fc\n fdr\n dna_rep1\n rna_rep1\n rna_rep2\n rna_rep3\n pvalue\n experiment\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\n query q_3($accession: [String!], $assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n sampleType\n displayname\n cCREZScores(accession: $accession) {\n score\n assay\n experiment_accession\n }\n name\n ontology\n }\n }\n cCREQuery(assembly: $assembly, accession: $accession) {\n accession\n group\n dnase: maxZ(assay: \"DNase\")\n h3k4me3: maxZ(assay: \"H3K4me3\")\n h3k27ac: maxZ(assay: \"H3K27ac\")\n ctcf: maxZ(assay: \"CTCF\")\n atac: maxZ(assay: \"ATAC\")\n }\n }\n"): (typeof documents)["\n query q_3($accession: [String!], $assembly: String!) {\n ccREBiosampleQuery(assembly: $assembly) {\n biosamples {\n sampleType\n displayname\n cCREZScores(accession: $accession) {\n score\n assay\n experiment_accession\n }\n name\n ontology\n }\n }\n cCREQuery(assembly: $assembly, accession: $accession) {\n accession\n group\n dnase: maxZ(assay: \"DNase\")\n h3k4me3: maxZ(assay: \"H3K4me3\")\n h3k27ac: maxZ(assay: \"H3K27ac\")\n ctcf: maxZ(assay: \"CTCF\")\n atac: maxZ(assay: \"ATAC\")\n }\n }\n"]; +export function gql(source: "\nquery rdhs($rDHS: [String!],$assembly: String!) {\n cCREQuery(assembly: $assembly, rDHS: $rDHS) {\n accession\n }\n}\n"): (typeof documents)["\nquery rdhs($rDHS: [String!],$assembly: String!) {\n cCREQuery(assembly: $assembly, rDHS: $rDHS) {\n accession\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\n query features_1($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n\n snpQuery(coordinates: $coordinates, assembly: $a, common: true) {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n"): (typeof documents)["\n query features_1($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n\n snpQuery(coordinates: $coordinates, assembly: $a, common: true) {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n"]; +export function gql(source: "\nquery functionalCharacterizationQuery($coordinates: [GenomicRangeInput!],$assembly: String!) {\n functionalCharacterizationQuery(assembly: $assembly, coordinates: $coordinates) {\n tissues\n element_id\n assay_result\n chromosome\n stop\n start\n }\n}\n"): (typeof documents)["\nquery functionalCharacterizationQuery($coordinates: [GenomicRangeInput!],$assembly: String!) {\n functionalCharacterizationQuery(assembly: $assembly, coordinates: $coordinates) {\n tissues\n element_id\n assay_result\n chromosome\n stop\n start\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\n query features_2($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n }\n"): (typeof documents)["\n query features_2($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n }\n"]; +export function gql(source: "\n query geneName($assembly: String!, $name_prefix: [String!], $version: Int) {\n gene(assembly: $assembly, name_prefix: $name_prefix, version: $version) {\n name\n id\n }\n }\n"): (typeof documents)["\n query geneName($assembly: String!, $name_prefix: [String!], $version: Int) {\n gene(assembly: $assembly, name_prefix: $name_prefix, version: $version) {\n name\n id\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query orthologTab($assembly: String!, $accession: [String!]) {\n orthologQuery(accession: $accession, assembly: $assembly) {\n assembly\n accession\n ortholog {\n stop\n start\n chromosome\n accession\n }\n }\n }\n"): (typeof documents)["\n query orthologTab($assembly: String!, $accession: [String!]) {\n orthologQuery(accession: $accession, assembly: $assembly) {\n assembly\n accession\n ortholog {\n stop\n start\n chromosome\n accession\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query nearbyGenomicFeatures($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n\n snpQuery(coordinates: $coordinates, assembly: $a, common: true) {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n"): (typeof documents)["\n query nearbyGenomicFeatures($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $a: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n\n snpQuery(coordinates: $coordinates, assembly: $a, common: true) {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query nearbyGenomicFeaturesNoSNPs($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n }\n"): (typeof documents)["\n query nearbyGenomicFeaturesNoSNPs($coordinates: [GenomicRangeInput!], $chromosome: String, $start: Int, $end: Int, $b: String!, $c: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $b, version: $version) {\n name\n id\n strand\n coordinates {\n chromosome\n start\n end\n }\n transcripts {\n id\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n\n cCREQuery(assembly: $c, coordinates: $coordinates) {\n accession\n coordinates {\n chromosome\n start\n end\n }\n group\n }\n }\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ @@ -168,7 +210,7 @@ export function gql(source: "\n query nearbyAndLinkedGenes(\n $accessions: [ /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\n query getlistofLinkedGenesCelltypes {\n linkedGenesCelltypes: getLinkedGenesCelltypes {\n celltype\n displayname\n method\n }\n }\n"): (typeof documents)["\n query getlistofLinkedGenesCelltypes {\n linkedGenesCelltypes: getLinkedGenesCelltypes {\n celltype\n displayname\n method\n }\n }\n"]; +export function gql(source: "\nquery geneQuery($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name_prefix: $name_prefix, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n }\n} "): (typeof documents)["\nquery geneQuery($assembly: String!, $name_prefix: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name_prefix: $name_prefix, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n }\n} "]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ @@ -201,6 +243,14 @@ export function gql(source: "\n query q_1($assembly: String!) {\n ccREBiosam * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function gql(source: "\n query s_1($chromosome: String, $start: Int, $end: Int, $assembly: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $assembly, version: $version) {\n name\n strand\n transcripts {\n name\n strand\n exons {\n coordinates {\n chromosome\n start\n end\n }\n }\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n }\n"): (typeof documents)["\n query s_1($chromosome: String, $start: Int, $end: Int, $assembly: String!, $version: Int) {\n gene(chromosome: $chromosome, start: $start, end: $end, assembly: $assembly, version: $version) {\n name\n strand\n transcripts {\n name\n strand\n exons {\n coordinates {\n chromosome\n start\n end\n }\n }\n coordinates {\n chromosome\n start\n end\n }\n }\n }\n }\n"]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query geneTSS($assembly: String!, $name: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name: $name, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n strand\n transcripts {\n name\n coordinates {\n start\n end\n } \n }\n }\n } "): (typeof documents)["\n query geneTSS($assembly: String!, $name: [String!], $limit: Int, $version: Int) {\n gene(assembly: $assembly, name: $name, limit: $limit, version: $version) {\n name\n id\n coordinates {\n start\n chromosome\n end\n }\n strand\n transcripts {\n name\n coordinates {\n start\n end\n } \n }\n }\n } "]; +/** + * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function gql(source: "\n query getlistofLinkedGenesCelltypes {\n linkedGenesCelltypes: getLinkedGenesCelltypes {\n celltype\n displayname\n method\n }\n }\n"): (typeof documents)["\n query getlistofLinkedGenesCelltypes {\n linkedGenesCelltypes: getLinkedGenesCelltypes {\n celltype\n displayname\n method\n }\n }\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/screen2.0/src/graphql/__generated__/graphql.ts b/screen2.0/src/graphql/__generated__/graphql.ts index 04620d87..92a9065e 100644 --- a/screen2.0/src/graphql/__generated__/graphql.ts +++ b/screen2.0/src/graphql/__generated__/graphql.ts @@ -1989,7 +1989,7 @@ export type Query = { my_user_collections: Array>; nearby_genes?: Maybe>>; nearestGenes: Array; - orthologQuery: Ortholog; + orthologQuery?: Maybe>>; peakCount?: Maybe; peakDataset: DatasetCollection; peaks: PeaksCollection; @@ -2808,7 +2808,7 @@ export type QueryNearestGenesArgs = { export type QueryOrthologQueryArgs = { - accession?: InputMaybe; + accession?: InputMaybe>>; assembly?: InputMaybe; }; @@ -3941,6 +3941,16 @@ export type GeneexpressionQueryVariables = Exact<{ export type GeneexpressionQuery = { __typename?: 'Query', gene_dataset?: Array<{ __typename?: 'GeneDataset', biosample: string, tissue?: string | null, cell_compartment?: string | null, biosample_type?: string | null, assay_term_name?: string | null, accession: string, gene_quantification_files?: Array<{ __typename?: 'GeneQuantificationFile', accession: string, biorep?: number | null, quantifications?: Array<{ __typename?: 'GeneQuantification', tpm: number, file_accession: string, fpkm: number } | null> | null } | null> | null } | null> | null }; +export type GeneAutocompleteQueryVariables = Exact<{ + assembly: Scalars['String']['input']; + name?: InputMaybe | Scalars['String']['input']>; + limit?: InputMaybe; + version?: InputMaybe; +}>; + + +export type GeneAutocompleteQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, coordinates: { __typename?: 'GenomicRange', start: number, chromosome: string, end: number } } | null> | null }; + export type GeneOrthologQueryQueryVariables = Exact<{ name: Array> | InputMaybe; assembly: Scalars['String']['input']; @@ -4026,32 +4036,87 @@ export type EntexActiveAnnotationsQueryQueryVariables = Exact<{ export type EntexActiveAnnotationsQueryQuery = { __typename?: 'Query', entexActiveAnnotationsQuery?: Array<{ __typename?: 'EntexActiveAnnotations', tissue: string, assay_score: string } | null> | null }; -export type GeneLocationQueryVariables = Exact<{ - name: Scalars['String']['input']; +export type CCretfQueryVariables = Exact<{ + accession: Scalars['String']['input']; assembly: Scalars['String']['input']; - version: Scalars['Int']['input']; }>; -export type GeneLocationQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null }; +export type CCretfQuery = { __typename?: 'Query', getcCRETFQuery?: Array<{ __typename?: 'CelltypeTF', celltype: string, tf: string } | null> | null }; -export type Q_2QueryVariables = Exact<{ - accession: Scalars['String']['input']; +export type TopTissuesQueryVariables = Exact<{ + accession?: InputMaybe | Scalars['String']['input']>; assembly: Scalars['String']['input']; }>; -export type Q_2Query = { __typename?: 'Query', getcCRETFQuery?: Array<{ __typename?: 'CelltypeTF', celltype: string, tf: string } | null> | null }; +export type TopTissuesQuery = { __typename?: 'Query', ccREBiosampleQuery: { __typename?: 'RegistryBiosampleCollection', biosamples?: Array<{ __typename?: 'RegistryBiosample', sampleType: string, displayname: string, name: string, ontology: string, cCREZScores: Array<{ __typename?: 'CCREZScore', score: number, assay: string, experiment_accession: string }> }> | null }, cCREQuery: Array<{ __typename?: 'CCRE', accession: string, group: string, dnase?: number | null, h3k4me3?: number | null, h3k27ac?: number | null, ctcf?: number | null, atac?: number | null }> }; -export type Q_3QueryVariables = Exact<{ - accession?: InputMaybe | Scalars['String']['input']>; +export type LinkedGenesQueryVariables = Exact<{ + assembly: Scalars['String']['input']; + accessions: Array> | InputMaybe; + methods?: InputMaybe> | InputMaybe>; + celltypes?: InputMaybe> | InputMaybe>; +}>; + + +export type LinkedGenesQuery = { __typename?: 'Query', linkedGenes: Array<{ __typename?: 'LinkedGenes', p_val?: number | null, gene: string, geneid: string, genetype: string, method: string, accession: string, grnaid?: string | null, effectsize?: number | null, assay?: string | null, celltype?: string | null, experiment_accession?: string | null, tissue?: string | null, score?: number | null, variantid?: string | null, source?: string | null, slope?: number | null, displayname?: string | null } | null> }; + +export type Mpra_FccQueryVariables = Exact<{ + coordinates?: InputMaybe | GenomicRangeInput>; +}>; + + +export type Mpra_FccQuery = { __typename?: 'Query', mpraFccQuery?: Array<{ __typename?: 'MPRAFCCDATA', celltype: string, chromosome: string, stop: number, start: number, assay_type: string, element_location: string, series: string, strand: string, log2fc: number, experiment: string, barcode_location: string } | null> | null }; + +export type CapraFccSoloQueryQueryVariables = Exact<{ + accession: Array> | InputMaybe; +}>; + + +export type CapraFccSoloQueryQuery = { __typename?: 'Query', capraFccSoloQuery?: Array<{ __typename?: 'CAPRAFCCSOLODATA', rdhs: string, log2fc: number, fdr: number, dna_rep1: number, rna_rep1: number, rna_rep2: number, rna_rep3: number, pvalue: number, experiment: string } | null> | null }; + +export type CapraFccDoubleQueryQueryVariables = Exact<{ + accession: Array> | InputMaybe; +}>; + + +export type CapraFccDoubleQueryQuery = { __typename?: 'Query', capraFccDoubleQuery?: Array<{ __typename?: 'CAPRAFCCDOUBLEDATA', rdhs_p1: string, rdhs_p2: string, log2fc: number, fdr: number, dna_rep1: number, rna_rep1: number, rna_rep2: number, rna_rep3: number, pvalue: number, experiment: string } | null> | null }; + +export type RdhsQueryVariables = Exact<{ + rDHS?: InputMaybe | Scalars['String']['input']>; + assembly: Scalars['String']['input']; +}>; + + +export type RdhsQuery = { __typename?: 'Query', cCREQuery: Array<{ __typename?: 'CCRE', accession: string }> }; + +export type FunctionalCharacterizationQueryQueryVariables = Exact<{ + coordinates?: InputMaybe | GenomicRangeInput>; + assembly: Scalars['String']['input']; +}>; + + +export type FunctionalCharacterizationQueryQuery = { __typename?: 'Query', functionalCharacterizationQuery?: Array<{ __typename?: 'FCDATA', tissues: string, element_id: string, assay_result: string, chromosome: string, stop: number, start: number } | null> | null }; + +export type GeneNameQueryVariables = Exact<{ + assembly: Scalars['String']['input']; + name_prefix?: InputMaybe | Scalars['String']['input']>; + version?: InputMaybe; +}>; + + +export type GeneNameQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string } | null> | null }; + +export type OrthologTabQueryVariables = Exact<{ assembly: Scalars['String']['input']; + accession?: InputMaybe | Scalars['String']['input']>; }>; -export type Q_3Query = { __typename?: 'Query', ccREBiosampleQuery: { __typename?: 'RegistryBiosampleCollection', biosamples?: Array<{ __typename?: 'RegistryBiosample', sampleType: string, displayname: string, name: string, ontology: string, cCREZScores: Array<{ __typename?: 'CCREZScore', score: number, assay: string, experiment_accession: string }> }> | null }, cCREQuery: Array<{ __typename?: 'CCRE', accession: string, group: string, dnase?: number | null, h3k4me3?: number | null, h3k27ac?: number | null, ctcf?: number | null, atac?: number | null }> }; +export type OrthologTabQuery = { __typename?: 'Query', orthologQuery?: Array<{ __typename?: 'Ortholog', assembly: string, accession: string, ortholog: Array<{ __typename?: 'orthologcCRE', stop?: number | null, start?: number | null, chromosome?: string | null, accession: string } | null> } | null> | null }; -export type Features_1QueryVariables = Exact<{ +export type NearbyGenomicFeaturesQueryVariables = Exact<{ coordinates?: InputMaybe | GenomicRangeInput>; chromosome?: InputMaybe; start?: InputMaybe; @@ -4063,9 +4128,9 @@ export type Features_1QueryVariables = Exact<{ }>; -export type Features_1Query = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, strand: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number }, transcripts?: Array<{ __typename?: 'Transcript', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null } | null> | null, cCREQuery: Array<{ __typename?: 'CCRE', accession: string, group: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } }>, snpQuery: Array<{ __typename?: 'SNP', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } }> }; +export type NearbyGenomicFeaturesQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, strand: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number }, transcripts?: Array<{ __typename?: 'Transcript', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null } | null> | null, cCREQuery: Array<{ __typename?: 'CCRE', accession: string, group: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } }>, snpQuery: Array<{ __typename?: 'SNP', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } }> }; -export type Features_2QueryVariables = Exact<{ +export type NearbyGenomicFeaturesNoSnPsQueryVariables = Exact<{ coordinates?: InputMaybe | GenomicRangeInput>; chromosome?: InputMaybe; start?: InputMaybe; @@ -4076,7 +4141,7 @@ export type Features_2QueryVariables = Exact<{ }>; -export type Features_2Query = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, strand: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number }, transcripts?: Array<{ __typename?: 'Transcript', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null } | null> | null, cCREQuery: Array<{ __typename?: 'CCRE', accession: string, group: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } }> }; +export type NearbyGenomicFeaturesNoSnPsQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, strand: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number }, transcripts?: Array<{ __typename?: 'Transcript', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null } | null> | null, cCREQuery: Array<{ __typename?: 'CCRE', accession: string, group: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } }> }; export type Tfpeaks_1QueryVariables = Exact<{ assembly?: InputMaybe; @@ -4108,10 +4173,15 @@ export type NearbyAndLinkedGenesQueryVariables = Exact<{ export type NearbyAndLinkedGenesQuery = { __typename?: 'Query', nearbyGenes?: Array<{ __typename?: 'Gene', name: string, id: string, gene_type: string, strand: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number }, transcripts?: Array<{ __typename?: 'Transcript', id: string, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null } | null> | null, linkedGenes: Array<{ __typename?: 'LinkedGenes', accession: string, p_val?: number | null, gene: string, geneid: string, genetype: string, method: string, grnaid?: string | null, effectsize?: number | null, assay?: string | null, celltype?: string | null, experiment_accession?: string | null, tissue?: string | null, variantid?: string | null, source?: string | null, slope?: number | null, score?: number | null, displayname?: string | null } | null> }; -export type GetlistofLinkedGenesCelltypesQueryVariables = Exact<{ [key: string]: never; }>; +export type GeneQueryQueryVariables = Exact<{ + assembly: Scalars['String']['input']; + name_prefix?: InputMaybe | Scalars['String']['input']>; + limit?: InputMaybe; + version?: InputMaybe; +}>; -export type GetlistofLinkedGenesCelltypesQuery = { __typename?: 'Query', linkedGenesCelltypes?: Array<{ __typename?: 'LinkedGenesCelltypes', celltype?: string | null, displayname?: string | null, method?: string | null } | null> | null }; +export type GeneQueryQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, coordinates: { __typename?: 'GenomicRange', start: number, chromosome: string, end: number } } | null> | null }; export type CCre_1QueryVariables = Exact<{ assembly: Scalars['String']['input']; @@ -4179,6 +4249,21 @@ export type S_1QueryVariables = Exact<{ export type S_1Query = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, strand: string, transcripts?: Array<{ __typename?: 'Transcript', name: string, strand: string, exons?: Array<{ __typename?: 'Exon', coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null, coordinates: { __typename?: 'GenomicRange', chromosome: string, start: number, end: number } } | null> | null } | null> | null }; +export type GeneTssQueryVariables = Exact<{ + assembly: Scalars['String']['input']; + name?: InputMaybe | Scalars['String']['input']>; + limit?: InputMaybe; + version?: InputMaybe; +}>; + + +export type GeneTssQuery = { __typename?: 'Query', gene?: Array<{ __typename?: 'Gene', name: string, id: string, strand: string, coordinates: { __typename?: 'GenomicRange', start: number, chromosome: string, end: number }, transcripts?: Array<{ __typename?: 'Transcript', name: string, coordinates: { __typename?: 'GenomicRange', start: number, end: number } } | null> | null } | null> | null }; + +export type GetlistofLinkedGenesCelltypesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetlistofLinkedGenesCelltypesQuery = { __typename?: 'Query', linkedGenesCelltypes?: Array<{ __typename?: 'LinkedGenesCelltypes', celltype?: string | null, displayname?: string | null, method?: string | null } | null> | null }; + export type CcreSearchQuery_1QueryVariables = Exact<{ accessions?: InputMaybe | Scalars['String']['input']>; assembly: Scalars['String']['input']; @@ -4226,6 +4311,7 @@ export const CCreQueryDocument = {"kind":"Document","definitions":[{"kind":"Oper export const BedIntersectCcre_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"bedIntersectCCRE_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"user_ccres"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"cCRE"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"max_ouput_length"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"intersection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userCcres"},"value":{"kind":"Variable","name":{"kind":"Name","value":"user_ccres"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"maxOutputLength"},"value":{"kind":"Variable","name":{"kind":"Name","value":"max_ouput_length"}}}]}]}}]} as unknown as DocumentNode; export const GetGeneLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getGeneLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"name"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"IntValue","value":"40"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; export const GeneexpressionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneexpression"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"gene_id"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene_dataset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosample"}},{"kind":"Field","name":{"kind":"Name","value":"tissue"}},{"kind":"Field","name":{"kind":"Name","value":"cell_compartment"}},{"kind":"Field","name":{"kind":"Name","value":"biosample_type"}},{"kind":"Field","name":{"kind":"Name","value":"assay_term_name"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"gene_quantification_files"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"biorep"}},{"kind":"Field","name":{"kind":"Name","value":"quantifications"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"gene_id_prefix"},"value":{"kind":"Variable","name":{"kind":"Name","value":"gene_id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tpm"}},{"kind":"Field","name":{"kind":"Name","value":"file_accession"}},{"kind":"Field","name":{"kind":"Name","value":"fpkm"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GeneAutocompleteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneAutocomplete"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; export const GeneOrthologQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneOrthologQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"geneOrthologQuery"},"name":{"kind":"Name","value":"geneorthologQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"humanGene"},"name":{"kind":"Name","value":"external_gene_name"}},{"kind":"Field","alias":{"kind":"Name","value":"mouseGene"},"name":{"kind":"Name","value":"mmusculus_homolog_associated_gene_name"}}]}}]}}]} as unknown as DocumentNode; export const GetAllGwasStudiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getAllGWASStudies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getAllGwasStudies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"study"}},{"kind":"Field","name":{"kind":"Name","value":"totalldblocks"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"pubmedid"}},{"kind":"Field","name":{"kind":"Name","value":"studyname"}}]}}]}}]} as unknown as DocumentNode; export const GetSnPsforgivengwasStudyDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getSNPsforgivengwasStudy"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"study"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getSNPsforGWASStudies"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"study"},"value":{"kind":"Variable","name":{"kind":"Name","value":"study"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"snpid"}},{"kind":"Field","name":{"kind":"Name","value":"ldblock"}},{"kind":"Field","name":{"kind":"Name","value":"rsquare"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"stop"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"ldblocksnpid"}}]}}]}}]} as unknown as DocumentNode; @@ -4237,15 +4323,22 @@ export const Q_4Document = {"kind":"Document","definitions":[{"kind":"OperationD export const S_3Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"s_3"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"exons"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const EntexQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ENTEXQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entexQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assay"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"hap1_count"}},{"kind":"Field","name":{"kind":"Name","value":"hap2_count"}},{"kind":"Field","name":{"kind":"Name","value":"hap1_allele_ratio"}},{"kind":"Field","name":{"kind":"Name","value":"p_betabinom"}},{"kind":"Field","name":{"kind":"Name","value":"experiment_accession"}},{"kind":"Field","name":{"kind":"Name","value":"tissue"}},{"kind":"Field","name":{"kind":"Name","value":"donor"}},{"kind":"Field","name":{"kind":"Name","value":"imbalance_significance"}}]}}]}}]} as unknown as DocumentNode; export const EntexActiveAnnotationsQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"entexActiveAnnotationsQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entexActiveAnnotationsQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tissue"}},{"kind":"Field","name":{"kind":"Name","value":"assay_score"}}]}}]}}]} as unknown as DocumentNode; -export const GeneLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"name"}}]}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; -export const Q_2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"q_2"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getcCRETFQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"tf"}}]}}]}}]} as unknown as DocumentNode; -export const Q_3Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"q_3"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ccREBiosampleQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosamples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sampleType"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","name":{"kind":"Name","value":"cCREZScores"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"score"}},{"kind":"Field","name":{"kind":"Name","value":"assay"}},{"kind":"Field","name":{"kind":"Name","value":"experiment_accession"}}]}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"ontology"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"group"}},{"kind":"Field","alias":{"kind":"Name","value":"dnase"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ATAC","block":false}}]}]}}]}}]} as unknown as DocumentNode; -export const Features_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"features_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"b"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"c"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"a"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"b"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"c"}}},{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"group"}}]}},{"kind":"Field","name":{"kind":"Name","value":"snpQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"a"}}},{"kind":"Argument","name":{"kind":"Name","value":"common"},"value":{"kind":"BooleanValue","value":true}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; -export const Features_2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"features_2"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"b"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"c"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"b"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"c"}}},{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"group"}}]}}]}}]} as unknown as DocumentNode; +export const CCretfDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"cCRETF"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getcCRETFQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"tf"}}]}}]}}]} as unknown as DocumentNode; +export const TopTissuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"topTissues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ccREBiosampleQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosamples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sampleType"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","name":{"kind":"Name","value":"cCREZScores"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"score"}},{"kind":"Field","name":{"kind":"Name","value":"assay"}},{"kind":"Field","name":{"kind":"Name","value":"experiment_accession"}}]}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"ontology"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"group"}},{"kind":"Field","alias":{"kind":"Name","value":"dnase"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ATAC","block":false}}]}]}}]}}]} as unknown as DocumentNode; +export const LinkedGenesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"linkedGenes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"methods"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"celltypes"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"linkedGenes"},"name":{"kind":"Name","value":"linkedGenesQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}}},{"kind":"Argument","name":{"kind":"Name","value":"method"},"value":{"kind":"Variable","name":{"kind":"Name","value":"methods"}}},{"kind":"Argument","name":{"kind":"Name","value":"celltype"},"value":{"kind":"Variable","name":{"kind":"Name","value":"celltypes"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"p_val"}},{"kind":"Field","name":{"kind":"Name","value":"gene"}},{"kind":"Field","name":{"kind":"Name","value":"geneid"}},{"kind":"Field","name":{"kind":"Name","value":"genetype"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"grnaid"}},{"kind":"Field","name":{"kind":"Name","value":"effectsize"}},{"kind":"Field","name":{"kind":"Name","value":"assay"}},{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"experiment_accession"}},{"kind":"Field","name":{"kind":"Name","value":"tissue"}},{"kind":"Field","name":{"kind":"Name","value":"score"}},{"kind":"Field","name":{"kind":"Name","value":"variantid"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"slope"}},{"kind":"Field","name":{"kind":"Name","value":"tissue"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}}]}}]}}]} as unknown as DocumentNode; +export const Mpra_FccDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MPRA_FCC"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mpraFccQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"stop"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"assay_type"}},{"kind":"Field","name":{"kind":"Name","value":"element_location"}},{"kind":"Field","name":{"kind":"Name","value":"series"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"log2fc"}},{"kind":"Field","name":{"kind":"Name","value":"experiment"}},{"kind":"Field","name":{"kind":"Name","value":"barcode_location"}}]}}]}}]} as unknown as DocumentNode; +export const CapraFccSoloQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"capraFccSoloQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"capraFccSoloQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rdhs"}},{"kind":"Field","name":{"kind":"Name","value":"log2fc"}},{"kind":"Field","name":{"kind":"Name","value":"fdr"}},{"kind":"Field","name":{"kind":"Name","value":"dna_rep1"}},{"kind":"Field","name":{"kind":"Name","value":"rna_rep1"}},{"kind":"Field","name":{"kind":"Name","value":"rna_rep2"}},{"kind":"Field","name":{"kind":"Name","value":"rna_rep3"}},{"kind":"Field","name":{"kind":"Name","value":"pvalue"}},{"kind":"Field","name":{"kind":"Name","value":"experiment"}}]}}]}}]} as unknown as DocumentNode; +export const CapraFccDoubleQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"capraFccDoubleQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"capraFccDoubleQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rdhs_p1"}},{"kind":"Field","name":{"kind":"Name","value":"rdhs_p2"}},{"kind":"Field","name":{"kind":"Name","value":"log2fc"}},{"kind":"Field","name":{"kind":"Name","value":"fdr"}},{"kind":"Field","name":{"kind":"Name","value":"dna_rep1"}},{"kind":"Field","name":{"kind":"Name","value":"rna_rep1"}},{"kind":"Field","name":{"kind":"Name","value":"rna_rep2"}},{"kind":"Field","name":{"kind":"Name","value":"rna_rep3"}},{"kind":"Field","name":{"kind":"Name","value":"pvalue"}},{"kind":"Field","name":{"kind":"Name","value":"experiment"}}]}}]}}]} as unknown as DocumentNode; +export const RdhsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"rdhs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rDHS"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"rDHS"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rDHS"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}}]}}]}}]} as unknown as DocumentNode; +export const FunctionalCharacterizationQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"functionalCharacterizationQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"functionalCharacterizationQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tissues"}},{"kind":"Field","name":{"kind":"Name","value":"element_id"}},{"kind":"Field","name":{"kind":"Name","value":"assay_result"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"stop"}},{"kind":"Field","name":{"kind":"Name","value":"start"}}]}}]}}]} as unknown as DocumentNode; +export const GeneNameDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneName"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name_prefix"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"name_prefix"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name_prefix"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const OrthologTabDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"orthologTab"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orthologQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assembly"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"ortholog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stop"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}}]}}]}}]}}]} as unknown as DocumentNode; +export const NearbyGenomicFeaturesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"nearbyGenomicFeatures"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"b"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"c"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"a"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"b"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"c"}}},{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"group"}}]}},{"kind":"Field","name":{"kind":"Name","value":"snpQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"a"}}},{"kind":"Argument","name":{"kind":"Name","value":"common"},"value":{"kind":"BooleanValue","value":true}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; +export const NearbyGenomicFeaturesNoSnPsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"nearbyGenomicFeaturesNoSNPs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"b"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"c"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"b"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"c"}}},{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"group"}}]}}]}}]} as unknown as DocumentNode; export const Tfpeaks_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"tfpeaks_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"range"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ChromosomeRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"target"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"peaks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"range"},"value":{"kind":"Variable","name":{"kind":"Name","value":"range"}}},{"kind":"Argument","name":{"kind":"Name","value":"target"},"value":{"kind":"Variable","name":{"kind":"Name","value":"target"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"peaks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chrom"}},{"kind":"Field","name":{"kind":"Name","value":"chrom_start"}},{"kind":"Field","name":{"kind":"Name","value":"chrom_end"}},{"kind":"Field","name":{"kind":"Name","value":"dataset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosample"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"types"},"value":{"kind":"StringValue","value":"replicated_peaks","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const Tfpeaks_2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"tfpeaks_2"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"range"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ChromosomeRangeInput"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"species"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"peaks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"range"},"value":{"kind":"Variable","name":{"kind":"Name","value":"range"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"peaks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chrom"}},{"kind":"Field","name":{"kind":"Name","value":"chrom_start"}},{"kind":"Field","name":{"kind":"Name","value":"chrom_end"}},{"kind":"Field","name":{"kind":"Name","value":"dataset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosample"}},{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"target"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"peakDataset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"species"},"value":{"kind":"Variable","name":{"kind":"Name","value":"species"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"partitionByTarget"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"target"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"counts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const NearbyAndLinkedGenesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"nearbyAndLinkedGenes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"geneSearchStart"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"geneSearchEnd"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"geneSearchChrom"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"geneVersion"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"nearbyGenes"},"name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"geneSearchChrom"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"geneSearchStart"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"geneSearchEnd"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"geneVersion"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"gene_type"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"linkedGenes"},"name":{"kind":"Name","value":"linkedGenesQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"p_val"}},{"kind":"Field","name":{"kind":"Name","value":"gene"}},{"kind":"Field","name":{"kind":"Name","value":"geneid"}},{"kind":"Field","name":{"kind":"Name","value":"genetype"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"grnaid"}},{"kind":"Field","name":{"kind":"Name","value":"effectsize"}},{"kind":"Field","name":{"kind":"Name","value":"assay"}},{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"experiment_accession"}},{"kind":"Field","name":{"kind":"Name","value":"tissue"}},{"kind":"Field","name":{"kind":"Name","value":"variantid"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"slope"}},{"kind":"Field","name":{"kind":"Name","value":"score"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}}]}}]}}]} as unknown as DocumentNode; -export const GetlistofLinkedGenesCelltypesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getlistofLinkedGenesCelltypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"linkedGenesCelltypes"},"name":{"kind":"Name","value":"getLinkedGenesCelltypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","name":{"kind":"Name","value":"method"}}]}}]}}]} as unknown as DocumentNode; +export const GeneQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name_prefix"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"name_prefix"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name_prefix"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; export const CCre_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"cCRE_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"experiments"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"group"}},{"kind":"Field","name":{"kind":"Name","value":"zScores"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"experiments"},"value":{"kind":"Variable","name":{"kind":"Name","value":"experiments"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"experiment"}},{"kind":"Field","name":{"kind":"Name","value":"score"}}]}}]}}]}}]} as unknown as DocumentNode; export const CCre_2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"cCRE_2"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accession"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cCREQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accession"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accession"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"group"}},{"kind":"Field","alias":{"kind":"Name","value":"dnase"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"dnase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"h3k4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"h3k27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ctcf","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac"},"name":{"kind":"Name","value":"maxZ"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"atac","block":false}}]}]}}]}}]} as unknown as DocumentNode; export const CytobandsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"cytobands"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cytoband"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stain"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode; @@ -4254,5 +4347,7 @@ export const S_2Document = {"kind":"Document","definitions":[{"kind":"OperationD export const BigRequestsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BigRequests"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"bigRequests"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BigRequest"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bigRequests"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"requests"},"value":{"kind":"Variable","name":{"kind":"Name","value":"bigRequests"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"error"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errortype"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode; export const Q_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"q_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ccREBiosampleQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosamples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","alias":{"kind":"Name","value":"dnase"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"dnase_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]}]}}]}}]}}]} as unknown as DocumentNode; export const S_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"s_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chromosome"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chromosome"}}},{"kind":"Argument","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"Argument","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}},{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"exons"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GeneTssDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"geneTSS"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"version"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"version"},"value":{"kind":"Variable","name":{"kind":"Name","value":"version"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"chromosome"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"strand"}},{"kind":"Field","name":{"kind":"Name","value":"transcripts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"coordinates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetlistofLinkedGenesCelltypesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getlistofLinkedGenesCelltypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"linkedGenesCelltypes"},"name":{"kind":"Name","value":"getLinkedGenesCelltypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"celltype"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","name":{"kind":"Name","value":"method"}}]}}]}}]} as unknown as DocumentNode; export const CcreSearchQuery_1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ccreSearchQuery_1"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cellType"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}},"type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GenomicRangeInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"element_type"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"gene_all_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"gene_all_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"gene_pc_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"gene_pc_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_ctcf_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_ctcf_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_dnase_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_dnase_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_enhancer_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_enhancer_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_promoter_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_promoter_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_atac_end"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rank_atac_start"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"mammals_min"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"mammals_max"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"vertebrates_min"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"vertebrates_max"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"primates_min"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"primates_max"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"nearbygeneslimit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"nearbygenesdistancethreshold"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cCRESCREENSearch"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assembly"}}},{"kind":"Argument","name":{"kind":"Name","value":"accessions"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accessions"}}},{"kind":"Argument","name":{"kind":"Name","value":"cellType"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cellType"}}},{"kind":"Argument","name":{"kind":"Name","value":"coordinates"},"value":{"kind":"Variable","name":{"kind":"Name","value":"coordinates"}}},{"kind":"Argument","name":{"kind":"Name","value":"element_type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"element_type"}}},{"kind":"Argument","name":{"kind":"Name","value":"gene_all_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"gene_all_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"gene_all_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"gene_all_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"gene_pc_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"gene_pc_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"gene_pc_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"gene_pc_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_atac_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_atac_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_atac_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_atac_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_ctcf_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_ctcf_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_ctcf_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_ctcf_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_dnase_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_dnase_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_dnase_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_dnase_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_enhancer_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_enhancer_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_enhancer_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_enhancer_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_promoter_end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_promoter_end"}}},{"kind":"Argument","name":{"kind":"Name","value":"rank_promoter_start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rank_promoter_start"}}},{"kind":"Argument","name":{"kind":"Name","value":"mammals_min"},"value":{"kind":"Variable","name":{"kind":"Name","value":"mammals_min"}}},{"kind":"Argument","name":{"kind":"Name","value":"mammals_max"},"value":{"kind":"Variable","name":{"kind":"Name","value":"mammals_max"}}},{"kind":"Argument","name":{"kind":"Name","value":"vertebrates_min"},"value":{"kind":"Variable","name":{"kind":"Name","value":"vertebrates_min"}}},{"kind":"Argument","name":{"kind":"Name","value":"vertebrates_max"},"value":{"kind":"Variable","name":{"kind":"Name","value":"vertebrates_max"}}},{"kind":"Argument","name":{"kind":"Name","value":"primates_min"},"value":{"kind":"Variable","name":{"kind":"Name","value":"primates_min"}}},{"kind":"Argument","name":{"kind":"Name","value":"primates_max"},"value":{"kind":"Variable","name":{"kind":"Name","value":"primates_max"}}},{"kind":"Argument","name":{"kind":"Name","value":"uuid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"nearbygeneslimit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"nearbygeneslimit"}}},{"kind":"Argument","name":{"kind":"Name","value":"nearbygenesdistancethreshold"},"value":{"kind":"Variable","name":{"kind":"Name","value":"nearbygenesdistancethreshold"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chrom"}},{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"len"}},{"kind":"Field","name":{"kind":"Name","value":"pct"}},{"kind":"Field","name":{"kind":"Name","value":"vertebrates"}},{"kind":"Field","name":{"kind":"Name","value":"mammals"}},{"kind":"Field","name":{"kind":"Name","value":"primates"}},{"kind":"Field","name":{"kind":"Name","value":"ctcf_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"dnase_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"enhancer_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"promoter_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"atac_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"ctspecific"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ct"}},{"kind":"Field","name":{"kind":"Name","value":"dnase_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"h3k4me3_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"h3k27ac_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"ctcf_zscore"}},{"kind":"Field","name":{"kind":"Name","value":"atac_zscore"}}]}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accession"}},{"kind":"Field","name":{"kind":"Name","value":"isproximal"}},{"kind":"Field","name":{"kind":"Name","value":"concordant"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nearestgenes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gene"}},{"kind":"Field","name":{"kind":"Name","value":"distance"}}]}}]}}]}}]} as unknown as DocumentNode; export const Biosamples_3Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"biosamples_3"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"human"},"name":{"kind":"Name","value":"ccREBiosampleQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"StringValue","value":"grch38","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosamples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"ontology"}},{"kind":"Field","name":{"kind":"Name","value":"lifeStage"}},{"kind":"Field","name":{"kind":"Name","value":"sampleType"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","alias":{"kind":"Name","value":"dnase"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ATAC","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"dnase_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ATAC","block":false}}]}]}}]}},{"kind":"Field","alias":{"kind":"Name","value":"mouse"},"name":{"kind":"Name","value":"ccREBiosampleQuery"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assembly"},"value":{"kind":"StringValue","value":"mm10","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"biosamples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"ontology"}},{"kind":"Field","name":{"kind":"Name","value":"lifeStage"}},{"kind":"Field","name":{"kind":"Name","value":"sampleType"}},{"kind":"Field","name":{"kind":"Name","value":"displayname"}},{"kind":"Field","alias":{"kind":"Name","value":"dnase"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac"},"name":{"kind":"Name","value":"experimentAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ATAC","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"dnase_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"DNase","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k4me3_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K4me3","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"h3k27ac_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"H3K27ac","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"ctcf_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"CTCF","block":false}}]},{"kind":"Field","alias":{"kind":"Name","value":"atac_signal"},"name":{"kind":"Name","value":"fileAccession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assay"},"value":{"kind":"StringValue","value":"ATAC","block":false}}]}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index fb57ccd1..00000000 --- a/yarn.lock +++ /dev/null @@ -1,4 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - From 8dd4d9b37f660cf672250ad1707cb07383dcb9ef Mon Sep 17 00:00:00 2001 From: jpfisher72 Date: Mon, 21 Oct 2024 14:36:09 -0400 Subject: [PATCH 2/2] Change default search, fix deprecations --- .../app/_mainsearch/celltypeautocomplete.tsx | 6 ++-- .../src/app/_mainsearch/genomicregion.tsx | 34 ++++++++++--------- screen2.0/src/app/downloads/downloadrange.tsx | 6 ++-- screen2.0/src/app/search/searchhelpers.ts | 6 ++-- 4 files changed, 27 insertions(+), 25 deletions(-) diff --git a/screen2.0/src/app/_mainsearch/celltypeautocomplete.tsx b/screen2.0/src/app/_mainsearch/celltypeautocomplete.tsx index 8d1f0b99..e8067936 100644 --- a/screen2.0/src/app/_mainsearch/celltypeautocomplete.tsx +++ b/screen2.0/src/app/_mainsearch/celltypeautocomplete.tsx @@ -43,7 +43,7 @@ export const CelltypeAutocomplete: React.FC<{ assembly: string, header?: boolean setValueRegion("") } } else { - region = { chromosome: 'chr11', start: "5205263", end: "5381894" } + region = { chromosome: 'chr12', start: "53380176", end: "53416446" } return ( `/search?assembly=${props.assembly}&chromosome=${region.chromosome}&start=${Math.max(0, Number(region.start))}&end=${region.end}&BiosampleTissue=${tissue}&BiosampleSummary=${biosample_summary}&Biosample=${biosample}` ) @@ -120,7 +120,7 @@ export const CelltypeAutocomplete: React.FC<{ assembly: string, header?: boolean variant="outlined" InputLabelProps={{ shrink: true, style: props.header ? { color: "white" } : { color: "black" } }} label="Enter a genomic region" - placeholder={`chr11:${(5205263).toLocaleString()}-${(5381894).toLocaleString()}`} + placeholder={`chr12:${(53380176).toLocaleString()}-${(53416446).toLocaleString()}`} value={valueRegion} onChange={(event: { target: { value: SetStateAction } }) => { setValueRegion(event.target.value) @@ -130,7 +130,7 @@ export const CelltypeAutocomplete: React.FC<{ assembly: string, header?: boolean window.open(handleSubmit(), "_self") } if (event.key === "Tab" && !valueRegion) { - const defaultGenomicRegion = `chr11:${(5205263).toLocaleString()}-${(5381894).toLocaleString()}` + const defaultGenomicRegion = `chr12:${(53380176).toLocaleString()}-${(53416446).toLocaleString()}` setValueRegion(defaultGenomicRegion) } }} diff --git a/screen2.0/src/app/_mainsearch/genomicregion.tsx b/screen2.0/src/app/_mainsearch/genomicregion.tsx index 976253cf..77c3a882 100644 --- a/screen2.0/src/app/_mainsearch/genomicregion.tsx +++ b/screen2.0/src/app/_mainsearch/genomicregion.tsx @@ -22,7 +22,7 @@ import { parseGenomicRegion } from "./parsegenomicregion" const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) => { const [value, setValue] = useState("") - const [chromosome, setChromosome] = useState("11") + const [chromosome, setChromosome] = useState("12") const [start, setStart] = useState("") const [end, setEnd] = useState("") const [inputType, setInputType] = useState("UCSC") @@ -172,10 +172,10 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) end: string ): string { if (inputType === "Separated") { - return `/search?assembly=${assembly}&chromosome=${"chr" + chromosome}&start=${start.replace(new RegExp(",", "g"), "") ?? "5205263"}&end=${end.replace(new RegExp(",", "g"), "") ?? "5381894"}` + return `/search?assembly=${assembly}&chromosome=${"chr" + chromosome}&start=${start.replace(new RegExp(",", "g"), "") ?? "53380176"}&end=${end.replace(new RegExp(",", "g"), "") ?? "53416446"}` } else { if (!value) { - return `/search?assembly=${assembly}&chromosome=chr11&start=5205263&end=5381894` + return `/search?assembly=${assembly}&chromosome=chr12&start=53380176&end=53416446` } try { const region = parseGenomicRegion(value) @@ -259,9 +259,9 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) } }) => { setStart(event.target.value) @@ -272,7 +272,7 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) window.open(url, "_self") } if (event.key === "Tab" && !start) { - setStart("5205263") + setStart("53380176") } }} sx={ @@ -296,9 +296,9 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) } }) => { setEnd(event.target.value) @@ -309,7 +309,7 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) window.open(url, "_self") } if (event.key === "Tab" && !end) { - setEnd("5381894") + setEnd("53416446") } }} sx={ @@ -335,14 +335,17 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) //UCSC Input ( { @@ -352,11 +355,10 @@ const GenomicRegion = (props: { assembly: "mm10" | "GRCh38"; header?: boolean }) } } if (event.key === "Tab" && !value) { - const defaultGenomicRegion = `chr11:${(5205263).toLocaleString()}-${(5381894).toLocaleString()}` + const defaultGenomicRegion = `chr12:${(53380176).toLocaleString()}-${(53416446).toLocaleString()}` setValue(defaultGenomicRegion) } }} - InputProps={props.header ? { style: { color: "white" } } : {}} sx={{ mr: "1rem", minWidth: "16rem", diff --git a/screen2.0/src/app/downloads/downloadrange.tsx b/screen2.0/src/app/downloads/downloadrange.tsx index 80de8aac..5fb8aed7 100644 --- a/screen2.0/src/app/downloads/downloadrange.tsx +++ b/screen2.0/src/app/downloads/downloadrange.tsx @@ -44,7 +44,7 @@ function CircularProgressWithLabel( */ export const DownloadRange: React.FC = () => { const [assembly, setAssembly] = useState<"GRCh38" | "mm10">("GRCh38") - const [inputValue, setInputValue] = useState('chr11:5205263-5381894') + const [inputValue, setInputValue] = useState('chr12:53380176-53416446') const [selectedBiosample, setSelectedBiosample] = useState(null) const [bedLoadingPercent, setBedLoadingPercent] = useState(null) //Used to disable assay checkboxes @@ -141,9 +141,9 @@ export const DownloadRange: React.FC = () => {