@rcsb/rcsb-statistics 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.html +1 -1
- package/build/static/js/451.8ecffe73.chunk.js +294 -0
- package/build/static/js/637.96fc0ca0.chunk.js +1 -0
- package/build/static/js/768.dd5da0ff.chunk.js +2 -0
- package/build/static/js/{310.2e091756.chunk.js.LICENSE.txt → 768.dd5da0ff.chunk.js.LICENSE.txt} +1 -1
- package/build/static/js/main.a8849d73.js +334 -0
- package/build/static/js/{main.f39b64be.js.LICENSE.txt → main.a8849d73.js.LICENSE.txt} +3 -3
- package/package.json +1 -1
- package/build/static/js/310.2e091756.chunk.js +0 -2
- package/build/static/js/637.2a795f71.chunk.js +0 -1
- package/build/static/js/849.d1b56840.chunk.js +0 -102
- package/build/static/js/main.f39b64be.js +0 -334
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[637],{637:(e,t,r)=>{r.d(t,{F3:()=>u,Tb:()=>c,_1:()=>l});var a=r(8422),i=r(8132),n=r(7231),o=r(3444);const s=[{key:"overall-structures",title:"Overall",description:"Overall Growth of Released Structures Per Year",stats_notes:"This chart shows the growth in the number of structures released annually in the PDB over time.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:1}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:1},returnType:n.ReturnType.Entry}},{key:"overall-small-molecules",title:"by Small Molecules Only",description:"Small Molecule-only Structures Released Per Year",stats_notes:"This chart tracks the growth of structures that exclusively contain small molecules released annually in the PDB.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.selected_polymer_entity_types",operator:"exact_match",value:"Small Molecule (only)"}}]},facets:[{name:"rcsb_accession_info.initial_release_date",aggregation_type:"date_histogram",attribute:"rcsb_accession_info.initial_release_date",interval:"year"}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbChemCompInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:1},returnType:n.ReturnType.MolDefinition}},{key:"experimental-method",title:"Growth",description:"Overall Growth By Experimental Method",stats_notes:"This chart visualizes the growth in PDB entries categorized by different experimental methods over time.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.experimental_method",operator:"exact_match"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:"date_histogram",attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:1,facets:[{name:`FACET/${i.e.Exptl.Method.path}`,aggregation_type:n.AggregationType.Terms,attribute:"rcsb_entry_info.experimental_method",min_interval_population:1}]}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:1},secondDim:{name:`FACET/${i.e.Exptl.Method.path}`,aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbEntryInfo.ExperimentalMethod.path,min_interval_population:1},returnType:n.ReturnType.Entry}},{key:"molecular-composition",title:"by Molecular Composition",description:"PDB Data Growth by Molecular Composition",stats_notes:"This chart highlights the growth of PDB entries based on their molecular composition.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.selected_polymer_entity_types",operator:"terms"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0,facets:[{name:`FACET/${i.e.Exptl.Method.path}`,aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbEntryInfo.SelectedPolymerEntityTypes.path}]}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${i.e.Exptl.Method.path}`,aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbEntryInfo.SelectedPolymerEntityTypes.path},returnType:n.ReturnType.Entry}},{key:"assembly-symmetry",title:"by Assembly Symmetry",description:"PDB Data Growth by Assembly Symmetry",stats_notes:"This chart shows the growth of PDB entries based on their global assembly symmetry classifications.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_struct_symmetry.type",operator:"terms"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0,facets:[{name:`FACET/${i.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}`,aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbStructSymmetry.Type.path}]}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${i.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}`,aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbStructSymmetry.Type.path},returnType:n.ReturnType.Entry}},{key:"number-of-domains",title:"by Number of Domains",description:"PDB Data Growth by Number of Unique Domains",stats_notes:"This chart visualizes the growth of structures by the number of unique domains.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_polymer_entity_group_membership.aggregation_method",operator:"exact_match",value:"matching_uniprot_accession"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0,facets:[{name:"Unique UniProtKB Entries",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_polymer_entity_group_membership.group_id"}]}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0},secondDim:{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:n.Operator.ExactMatch,value:i.e.RcsbPolymerEntityGroupMembership.AggregationMethod.enum.sequence_identity}},facets:[{name:"Similarity Cutoff",aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbPolymerEntityGroupMembership.SimilarityCutoff.path,min_interval_population:1,facets:[{name:"Unique Protein Sequences",aggregation_type:n.AggregationType.Cardinality,attribute:i.e.RcsbPolymerEntityGroupMembership.GroupId.path}]}]},returnType:n.ReturnType.Entry}},{key:"unique-protein-sequences",title:"by Unique Protein Sequences",description:"PDB Data Growth by Unique Protein Sequences",stats_notes:"This chart illustrates the growth of PDB structures based on the number of unique protein sequences.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_polymer_entity_group_membership.aggregation_method",operator:"exact_match",value:"matching_uniprot_accession"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0,facets:[{name:"Unique UniProtKB Entries",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_polymer_entity_group_membership.group_id"}]}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0},secondDim:{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:n.Operator.ExactMatch,value:n.AggregationMethod.MatchingUniprotAccession}},facets:[{name:"Unique UniProtKB Entries",aggregation_type:n.AggregationType.Cardinality,attribute:i.e.RcsbPolymerEntityGroupMembership.GroupId.path}]},returnType:n.ReturnType.Entry}},{key:"matching-uniprot",title:"by UniProtKB Entries with Known 3D Structure",description:"PDB Data Growth by UniProtKB Entries with Known 3D Structure",stats_notes:"This chart shows the total number of unique UniProtKB entries in PDB structures released within each year. <br /> Note: The number of unique UniProtKB entries in the statistics table is linked to the group search result page. There is a default precision threshold in calculating the numbers for performance balance. So the statistics count may have a slight discrepancy compared to the actual non-redundant group search result when the result count approaches or goes above 10,000. The group search result page provides an accurate count. The statistics page provides the trend.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_accession_info.initial_release_date",operator:"range"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_polymer_entity_group_membership.aggregation_method",operator:"exact_match",value:"matching_uniprot_accession"}}]},facets:[{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0,facets:[{name:"Unique UniProtKB Entries",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_polymer_entity_group_membership.group_id"}]}],query:{firstDim:{name:`FACET/${i.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:n.AggregationType.DateHistogram,attribute:i.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:n.Interval.Year,min_interval_population:0},secondDim:{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:n.Operator.ExactMatch,value:n.AggregationMethod.MatchingUniprotAccession}},facets:[{name:"Unique UniProtKB Entries",aggregation_type:n.AggregationType.Cardinality,attribute:i.e.RcsbPolymerEntityGroupMembership.GroupId.path}]},returnType:n.ReturnType.Entry}},{key:"distribution-resolution",title:"by Resolution",description:"PDB Data Distribution by Resolution",header_label:"Resolution (Å)",stats_notes:"Distribution by structure resolution. Data shown include structures solved by X-ray crystallography or electron microscopy.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.resolution_combined",operator:"range"}}]},facets:[],query:{firstDim:{name:"Resolution Combined",aggregation_type:n.AggregationType.Range,attribute:i.e.RcsbEntryInfo.ResolutionCombined.path,ranges:(0,a.Y$)(1,.2,4.6)},returnType:n.ReturnType.Entry}},{key:"distribution-r-free",title:"by R-free",description:"PDB Data Distribution by R-free",header_label:"R-free (%)",stats_notes:"Distribution of PDB structures by R-free. Data shown include structures solved by X-ray crystallography or electron microscopy.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"refine.ls_R_factor_R_free",operator:"range"}}]},facets:[],query:{firstDim:{name:"R-free",aggregation_type:n.AggregationType.Range,attribute:i.e.Refine.LsRFactorRFree.path,ranges:(0,a.Y$)(.14,.01,.32)},returnType:n.ReturnType.Entry}},{key:"distribution-molecular-weight-structure",title:"by Molecular Weight (Structure)",description:"PDB Data Distribution by Molecular Weight (Structure)",header_label:"Molecular Weight (Daltons)",stats_notes:"All macromolecules, small molecules, and ions are included, except for water molecules. Molecular weight is calculated for all atoms.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.molecular_weight",operator:"range"}}]},facets:[],query:{firstDim:{name:"Molecular Weight",aggregation_type:n.AggregationType.Range,attribute:i.e.RcsbEntryInfo.MolecularWeight.path,ranges:(0,a.Y$)(20,20,380)},returnType:n.ReturnType.Entry}},{key:"distribution-molecular-weight-entity",title:"by Molecular Weight (Structure)",description:"PDB Data Distribution by Molecular Weight (Entity)",header_label:"Molecular Weight (Daltons)",stats_notes:"All macromolecules, small molecules, and ions are included, except for water molecules. Molecular weight is calculated for all atoms.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.molecular_weight",operator:"range"}}]},facets:[],query:{firstDim:{name:"Molecular Weight",aggregation_type:n.AggregationType.Range,attribute:i.e.RcsbEntryInfo.MolecularWeight.path,ranges:(0,a.Y$)(20,20,380)},returnType:n.ReturnType.Entry}},{key:"distribution-atom-count",title:"by Atom Count",description:"PDB Data Distribution by Atom Count",header_label:"Atom Count Range",stats_notes:"Distribution of released structures by the number of observed atoms excluding atoms in water molecules.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.deposited_atom_count",operator:"range"}}]},facets:[],query:{firstDim:{name:"Atom Count",aggregation_type:n.AggregationType.Range,attribute:i.e.RcsbEntryInfo.DepositedAtomCount.path,ranges:(0,a.Y$)(1e3,1e3,19e3)},returnType:n.ReturnType.Entry}},{key:"distribution-residue-count",title:"by Residue Count",description:"PDB Data Distribution by Residue Count",header_label:"Residue Count Range",stats_notes:"Distribution of released structures by the number of residues in macromolecules.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entry_info.deposited_polymer_monomer_count",operator:"range"}}]},facets:[],query:{firstDim:{name:"Residue Count",aggregation_type:n.AggregationType.Range,attribute:i.e.RcsbEntryInfo.DepositedPolymerMonomerCount.path,ranges:(0,a.Y$)(100,100,1900)},returnType:n.ReturnType.Entry}},{key:"distribution-source-organism",title:"by Natural Source Organism",description:"PDB Data Distribution by Natural Source Organism",header_label:"Natural Source Organism",stats_notes:"Source organism for these structures is from a natural, non-modified source.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.ncbi_scientific_name",operator:"exact_match"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}}]},facets:[{name:"rcsb_entity_source_organism.ncbi_scientific_name",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_entity_source_organism.ncbi_scientific_name",filter:{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}},min_interval_population:1}],query:{firstDim:{name:"Source Type",aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbEntitySourceOrganism.SourceType.path,min_interval_population:1,facets:[{name:"Source Organism",aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbEntitySourceOrganism.NcbiScientificName.path,min_interval_population:1,max_num_intervals:20}]},returnType:n.ReturnType.Entry}},{key:"taxonomy",title:"by Taxonomy",description:"PDB Data Distribution by Taxonomy",header_label:"Taxonomy",stats_notes:"Taxonomy classification.",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.ncbi_scientific_name",operator:"exact_match"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}}]},facets:[{name:"rcsb_entity_source_organism.ncbi_scientific_name",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_entity_source_organism.ncbi_scientific_name",filter:{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}},min_interval_population:1}],query:{firstDim:{name:"Taxonomy",aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbEntitySourceOrganism.NcbiParentScientificName.path,min_interval_population:1,max_num_intervals:20},returnType:n.ReturnType.PolymerEntity}},{key:"enzyme-classification-name",title:"by Enzyme Classification",description:"PDB Data Distribution by Enzyme Classification",header_label:"Enzyme Classification",stats_notes:"Enzyme Classification",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.ncbi_scientific_name",operator:"exact_match"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}}]},facets:[{name:"rcsb_entity_source_organism.ncbi_scientific_name",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_entity_source_organism.ncbi_scientific_name",filter:{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}},min_interval_population:1}],query:{firstDim:{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbPolymerEntity.RcsbEcLineage.Depth.path,operator:n.Operator.Equals,value:1}},facets:[{name:"Enzyme Classification",aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbPolymerEntity.RcsbEcLineage.Name.path,min_interval_population:1,max_num_intervals:20}]},returnType:n.ReturnType.PolymerEntity}},{key:"assembly-symmetry-dist",title:"by Assembly Symmetry",description:"PDB Data Distribution by Assembly Symmetry",header_label:"Assembly Symmetry",stats_notes:"Assembly Symmetry",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.ncbi_scientific_name",operator:"exact_match"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}}]},facets:[{name:"rcsb_entity_source_organism.ncbi_scientific_name",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_entity_source_organism.ncbi_scientific_name",filter:{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}},min_interval_population:1}],query:{firstDim:{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbStructSymmetry.Kind.path,operator:n.Operator.ExactMatch,value:i.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}},facets:[{name:i.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"],aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbStructSymmetry.Type.path,min_interval_population:1}]},returnType:n.ReturnType.Assembly}},{key:"scop-classification",title:"by SCOP Classification",description:"PDB Data Distribution by SCOP Classification",header_label:"SCOP Classification",stats_notes:"SCOP Classification",ref_url:{type:"group",logical_operator:"and",nodes:[{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.ncbi_scientific_name",operator:"exact_match"}},{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}}]},facets:[{name:"rcsb_entity_source_organism.ncbi_scientific_name",aggregation_type:n.AggregationType.Terms,attribute:"rcsb_entity_source_organism.ncbi_scientific_name",filter:{type:"terminal",service:"text",parameters:{attribute:"rcsb_entity_source_organism.source_type",operator:"exact_match",value:"natural"}},min_interval_population:1}],query:{firstDim:{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbPolymerInstanceAnnotation.Type.path,operator:n.Operator.ExactMatch,value:"SCOP"}},facets:[{filter:{type:n.Type.Terminal,service:n.Service.Text,parameters:{attribute:i.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Depth.path,operator:n.Operator.Equals,value:1}},facets:[{name:"SCOP Classification",aggregation_type:n.AggregationType.Terms,attribute:i.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Name.path,min_interval_population:1,max_num_intervals:20}]}]},returnType:n.ReturnType.PolymerEntity}}],c={getStatisticsChartObject:e=>(0,a.lq)("key",e,s)?.[0]},l=[{text:"Growth by Overall Structures",link:o.A.PDB_DATA_GROWTH("overall-structures")},{text:"Growth by Overall Small Molecules",link:o.A.PDB_DATA_GROWTH("overall-small-molecules")},{text:"Growth by Experimental Method",link:o.A.PDB_DATA_GROWTH("experimental-method")},{text:"Growth by Molecular Composition",link:o.A.PDB_DATA_GROWTH("molecular-composition")},{text:"Growth by Assembly Symmetry",link:o.A.PDB_DATA_GROWTH("assembly-symmetry")},{text:"Growth by Number of Domains",link:o.A.PDB_DATA_GROWTH("number-of-domains")},{text:"Growth by Unique Protein Sequences",link:o.A.PDB_DATA_GROWTH("unique-protein-sequences")},{text:"Growth by UniProtKB Entries",link:o.A.PDB_DATA_GROWTH("matching-uniprot")},{text:"Distribution by Resolution",link:o.A.PDB_DATA_DISTRIBUTION("distribution-resolution")},{text:"Distribution by R-free",link:o.A.PDB_DATA_DISTRIBUTION("distribution-r-free")},{text:"Distribution by Molecular Weight (Structure)",link:o.A.PDB_DATA_DISTRIBUTION("distribution-molecular-weight-structure")},{text:"Distribution by Molecular Weight (Entity)",link:o.A.PDB_DATA_DISTRIBUTION("distribution-molecular-weight-entity")},{text:"Distribution by Atom Count",link:o.A.PDB_DATA_DISTRIBUTION("distribution-atom-count")},{text:"Distribution by Residue Count",link:o.A.PDB_DATA_DISTRIBUTION("distribution-residue-count")},{text:"Distribution by Source Organism",link:o.A.PDB_DATA_DISTRIBUTION("distribution-source-organism")},{text:"Distribution by Taxonomy",link:o.A.PDB_DATA_DISTRIBUTION("taxonomy")},{text:"Distribution by Processing Software",link:o.A.PDB_DATA_DISTRIBUTION("distribution-software")},{text:"Distribution by Space Groups",link:o.A.PDB_DATA_DISTRIBUTION("distribution-space-group")},{text:"Distribution by Publication Journal",link:o.A.PDB_DATA_DISTRIBUTION("distribution-journal")},{text:"Distribution by Structural Genomics Centers",link:o.A.PDB_DATA_DISTRIBUTION("distribution-structural-genomics-centers")},{text:"Distribution by Enzyme Classification",link:o.A.PDB_DATA_DISTRIBUTION("enzyme-classification-name")},{text:"Distribution by Assembly Symmetry",link:o.A.PDB_DATA_DISTRIBUTION("assembly-symmetry-dist")},{text:"Distribution by SCOP Classification",link:o.A.PDB_DATA_DISTRIBUTION("scop-classification")}];function u(e,t,r){if(!e)return"";const a={from:`${t}-01-01T00:00:00Z`,to:`${t}-12-31T23:59:59Z`,include_lower:!0,include_upper:!0};if(e.parameters)e.parameters.value=a;else{if(!e.nodes||!e.nodes[0]?.parameters)throw new Error("Invalid object structure for query");e.nodes[0].parameters.value=a}const i={query:e,request_info:{src:"ui",query_id:"growth_stats"},return_type:r},n=JSON.stringify(i);return`/search?request=${encodeURIComponent(n)}`}},8422:(e,t,r)=>{r.d(t,{$Z:()=>l,Y$:()=>p,bl:()=>c,h5:()=>s,lq:()=>o,pF:()=>u});var a=r(3503),i=r.n(a);const n=e=>{const{query:t,return_type:r}=e;return i()(JSON.stringify(t)+r)},o=(e,t,r)=>{let a={request_info:{src:"ui"},return_type:"entry",query:{type:"terminal",node_id:0,service:"text"},request_options:{paginate:{start:0,rows:0},results_content_type:["experimental"]}};return r.filter((i=>"summary"===i[e]&&i[e]===t?(i.request_options&&(a.request_options=i.request_options),a.request_info.query_id=n(a),delete a.query,i.requestQuery=a,r):"distribution-molecular-weight-entity"===i[e]&&i[e]===t?(i.parameters?a.query.parameters=i.parameters:delete a.query,i.facets&&(a.request_options.facets=i.facets,a.return_type="polymer_entity"),a.request_info.query_id=n(a),i.requestQuery=a,r):"distribution-chem-comp-molecular-weight"===i[e]&&i[e]===t||"growth-released-chem-comp"===i[e]&&i[e]===t?(i.parameters?a.query.parameters=i.parameters:delete a.query,i.facets&&(a.request_options.facets=i.facets,a.return_type="mol_definition"),a.request_info.query_id=n(a),i.requestQuery=a,r):i[e]===t?(i.parameters?a.query.parameters=i.parameters:delete a.query,i.facets&&(a.request_options.facets=i.facets),a.request_info.query_id=n(a),i.requestQuery=a,r):void 0))},s=(e,t)=>{const r=`${t.config.searchApiUrl}/query-editor.html?json=`;return e?.searchRequest?`${r}${encodeURIComponent(JSON.stringify(e.searchRequest))}`:r},c=e=>e.map(((t,r)=>{const a=String(t.label),[i,n]=a.split("-");let o="";return o=0===r&&n?`< ${n.replace(".0","")}k`:r===e.length-1&&i?`>= ${i.replace(".0","")}k`:`${i.replace(".0","")+"k"}-${n?n.replace(".0","")+"k":""}`,{...t,label:o}})),l=e=>e.map(((t,r)=>{const a=String(t.label),[i,n]=a.split("-");let o="";return o=0===r&&n?`< ${n.replace(".0","")}`:r===e.length-1&&i?`>= ${i.replace(".0","")}`:`${i}-${n}`,{...t,label:o}})),u=e=>e.map(((t,r)=>{const a=String(t.label),[i,n]=a.split("-");let o="";return o=0===r&&n?`< ${n.replace(".0","")}`:r===e.length-1&&i?`>= ${i.replace(".0","")}`:`${i.replace(".0","")}-${n?n.replace(".0",""):""}`,{...t,label:o}})),p=(e,t,r)=>{const a=[];a.push({to:parseFloat(e.toFixed(2))});let i=e;for(;i<r;){const e=i+t;a.push({from:parseFloat(i.toFixed(2)),to:parseFloat(e.toFixed(2))}),i=e}return a.push({from:parseFloat(r.toFixed(2))}),a}}}]);
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[849],{849:(e,t,i)=>{i.r(t),i.d(t,{default:()=>ee});var a=i(6540),o=i(7767),r=i(4731),n=i(6118),l=i(3839),s=i(1105),c=i(1376),d=i(4479),p=i(3048),u=i(8027),b=i(6973),g=i(2756),m=i(7638),y=i(7581);const f=y.i7`
|
|
2
|
-
from {
|
|
3
|
-
opacity: .5;
|
|
4
|
-
transform: translateZ(0) scale(0.999);
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
opacity: 1;
|
|
8
|
-
transform: translateZ(0) scale(1);
|
|
9
|
-
}
|
|
10
|
-
`,h=y.Ay.div`
|
|
11
|
-
animation: ${f} .5s ease-in;
|
|
12
|
-
will-change: opacity, transform;
|
|
13
|
-
`,x=y.Ay.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: flex-end;
|
|
16
|
-
margin-top: -10px;
|
|
17
|
-
`,v=y.Ay.button`
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
border: 1px solid #e7e7e7;
|
|
22
|
-
border-radius: 3px;
|
|
23
|
-
padding: 3px 5px;
|
|
24
|
-
|
|
25
|
-
& svg {
|
|
26
|
-
margin-right: 5px;
|
|
27
|
-
}
|
|
28
|
-
`,z=y.Ay.div`
|
|
29
|
-
padding-left: 7px;
|
|
30
|
-
margin-top: 40px;
|
|
31
|
-
`,w=(0,y.Ay)(s.A)`
|
|
32
|
-
margin-top: 40px;
|
|
33
|
-
`,k=y.Ay.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
gap: 5px;
|
|
39
|
-
`,A=y.Ay.div`
|
|
40
|
-
background-color: #f0f0f0;
|
|
41
|
-
border: ${e=>{let{selected:t}=e;return t?"1px solid black":"1px solid #fff"}};
|
|
42
|
-
padding: 5px;
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
color: ${e=>{let{disabled:t}=e;return t?"#fafafa":"#707070"}};
|
|
47
|
-
pointer-events: ${e=>{let{disabled:t}=e;return t?"none":"auto"}};
|
|
48
|
-
|
|
49
|
-
${e=>{let{disabled:t}=e;return!t&&"\n &:hover {\n background-color: #e0e0e0;\n border: 1px solid #808080;\n cursor: pointer;\n }\n "}}
|
|
50
|
-
`,R=y.Ay.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
margin-bottom: 5px;
|
|
54
|
-
`,C=y.Ay.input`
|
|
55
|
-
margin-right: 20px;
|
|
56
|
-
`,E=y.Ay.label`
|
|
57
|
-
font-size: 12px;
|
|
58
|
-
margin-left: 5px;
|
|
59
|
-
font-weight: normal;
|
|
60
|
-
margin-bottom: 0 !important;
|
|
61
|
-
`,S=y.Ay.div`
|
|
62
|
-
font-weight: bold;
|
|
63
|
-
font-size: 1.2em;
|
|
64
|
-
margin-bottom: 15px;
|
|
65
|
-
`,T=y.Ay.div`
|
|
66
|
-
width: auto;
|
|
67
|
-
height: 550px;
|
|
68
|
-
`,$=y.Ay.div`
|
|
69
|
-
margin-top: 20px;
|
|
70
|
-
min-width: 170px;
|
|
71
|
-
label {
|
|
72
|
-
font-size: 12px;
|
|
73
|
-
font-weight: normal;
|
|
74
|
-
margin-left: 5px;
|
|
75
|
-
margin-bottom: 0 !important;
|
|
76
|
-
margin-top: 4px !important;
|
|
77
|
-
}
|
|
78
|
-
.form-check {
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
}
|
|
82
|
-
`,D=y.Ay.div`
|
|
83
|
-
margin-bottom: 35px;
|
|
84
|
-
`,_=y.Ay.div`
|
|
85
|
-
font-weight: bold;
|
|
86
|
-
margin-bottom: 5px;
|
|
87
|
-
`,P=y.Ay.div`
|
|
88
|
-
width: 100%;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.col-md-10{
|
|
92
|
-
width: 90% !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.col-md-10 > div:first-child {
|
|
96
|
-
height: 80vh !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.col-md-2{
|
|
100
|
-
width: 0 !important;
|
|
101
|
-
}
|
|
102
|
-
`;n.t1.register(n.PP,n.kc,n.E8,n.No,n.Bs,n.FN,n.hE,n.m_,n.s$,l.Ay);const N=e=>{const t=e.datasets.map((e=>{const t=[];let i=0;return e.data.forEach((e=>{i+=e,t.push(i)})),{...e,data:t}}));return{...e,datasets:t}},F=e=>{let{data:t,options:i,isOverallPlot:n,plotName:l,isDistPlot:y,setFullscreenContent:f}=e;const h=(0,a.useRef)(null),x=(0,o.zy)(),v=(0,o.Zp)(),{handleOpenModal:F,handleCloseModal:I}=(0,g.h)(),{settings:W}=(0,m.t)(),H=W.colorScheme,[B,O]=(0,a.useState)((()=>{const e=new URLSearchParams(x.search);return t.datasets.map((t=>{const i=t.label||"";return{label:i,visible:"false"!==e.get(i)}}))})),[q,M]=(0,a.useState)((()=>{const e=new URLSearchParams(x.search);return y?"Annual":e.get("view")||"Cumulative"})),[j,G]=(0,a.useState)((()=>{const e=new URLSearchParams(x.search);return y?"natural":e.get("organismview")||"natural"})),[Z,Y]=(0,a.useState)("bar"),[Q,U]=(0,a.useState)((()=>"Cumulative"===(y?"Annual":q)?N(t):t));(0,a.useEffect)((()=>{const e=new URLSearchParams(x.search);B.forEach((t=>{e.set(t.label,String(t.visible))})),e.set("view",q),v(`${x.pathname}?${e.toString()}`,{replace:!0})}),[B,q,x.pathname,v]),(0,a.useEffect)((()=>{n&&O((e=>e.map((e=>"Cumulative"===e.label?{...e,visible:!1}:e))))}),[n]),(0,a.useEffect)((()=>{if("Cumulative"===q){const e=N(t);U({labels:t.labels,datasets:e.datasets.map((e=>({...e,hidden:!B.find((t=>t.label===e.label))?.visible})))})}else U({labels:t.labels,datasets:t.datasets.map((e=>({...e,hidden:!B.find((t=>t.label===e.label))?.visible})))})}),[q,t,B]),(0,a.useEffect)((()=>{if("distribution-source-organism"===l){const e=[],i=[],a=[];if(t?.datasets?.[0]?.objectConfig&&Array.isArray(t.labels)){t.datasets[0].objectConfig.forEach(((o,r)=>{if(o.label===j){const n=t.labels?.[r],l=t.datasets[0].data?.[r];n&&void 0!==l&&(e.push(n),i.push(l),a.push(o))}}));const o={...t.datasets[0],data:i,objectConfig:a};U({labels:e,datasets:[o]})}}}),[j,t,l]);const K=e=>{O((t=>t.map((t=>t.label===e?{...t,visible:!t.visible}:t))))},L=e=>{M(e)},J=e=>{G(e)},V=e=>{if(h.current){const t=(0,r.CK)(h.current,e);if(t.length>0){const{index:e}=t[0];let i="";for(const t of h.current.data.datasets){const a=t;if(a.objectConfig&&a.objectConfig[e]){i=a.objectConfig[e].url;break}}i&&(window.location.href=i)}}},X={...i,plugins:{...i.plugins,legend:{...i.plugins?.legend,onClick:(e,t,i)=>((e,t)=>{const i=t.datasetIndex,a=e.data.datasets[i].label;a&&K(a)})(i.chart,t)}}},ee=()=>{f(a.createElement(P,null,re(!0))),F("fullscreen")},te=()=>{I()},ie=e=>{Y(e)},ae=(e,t)=>{const i=e.datasets[0],a=e.labels.map(((e,i)=>t[i%t.length]));return{labels:e.labels,datasets:[{data:i.data,backgroundColor:a,borderColor:a,borderWidth:1}]}},oe=e=>{const{title:t,legend:i,tooltips:a,responsive:o,plugins:r,...n}=e;return{responsive:o??!0,maintainAspectRatio:!1,plugins:{...r,legend:{...i,display:!0,position:"bottom"},tooltip:{...a,callbacks:{label:e=>{const t=e.dataset,i=t.data[e.dataIndex],a=(i/t.data.reduce(((e,t)=>e+t),0)*100).toFixed(2);return`${e.label}: ${i} - ${a}% (of total) `}}}},animation:{animateScale:!0,animateRotate:!0},elements:{arc:{hoverBorderWidth:3,hoverOffset:20,hoverBorderColor:"white"}}}},re=e=>{const t={...X,maintainAspectRatio:!1,plugins:{legend:{display:!1}}},i={bar:a.createElement(r.yP,{ref:h,data:Q,options:e?t:X,onClick:V}),line:a.createElement(r.N1,{ref:h,data:Q,options:e?t:X}),pie:a.createElement(r.Fq,{ref:h,data:ae(Q,H),options:oe(e?t:X)}),table:a.createElement("div",null,"Table View (to be implemented)")};return a.createElement(d.A,null,a.createElement(s.A,{md:10},a.createElement(T,null,i[Z])),a.createElement(s.A,{md:2},a.createElement(d.A,null,a.createElement(w,{md:2},a.createElement(k,null,a.createElement(A,{onClick:e?te:ee},e?a.createElement(b.$qe,{size:15}):a.createElement(b.vqg,{size:15})),!e&&a.createElement(a.Fragment,null,a.createElement(A,{onClick:()=>F("settings")},a.createElement(u.Pcn,{size:15})),a.createElement(A,{selected:"bar"===Z,onClick:()=>ie("bar")},a.createElement(u.v$b,{size:15})),a.createElement(A,{selected:"line"===Z,onClick:()=>ie("line"),disabled:y},a.createElement(u.YYR,{size:15})),a.createElement(A,{selected:"pie"===Z,onClick:()=>ie("pie"),disabled:!y},a.createElement(u.qvi,{size:15})),a.createElement(A,{disabled:!0,selected:"table"===Z,onClick:()=>ie("table")},a.createElement(u.ist,{size:15})),a.createElement(A,{disabled:!0},a.createElement(u.$TP,{size:15})),a.createElement(A,{disabled:!0},a.createElement(u.DIg,{size:15}))))),!e&&a.createElement(s.A,{md:10},a.createElement(z,null,a.createElement(S,null,"Data Options"),y?"distribution-source-organism"===l&&a.createElement($,null,a.createElement(_,null,"Data Set"),a.createElement(c.A.Check,{type:"radio",id:"view-natural",label:"Natural",name:"source-organism-view-switch",value:"natural",checked:"natural"===j,onChange:()=>J("natural")}),a.createElement(c.A.Check,{type:"radio",id:"view-genetically engineered",label:"Genetically Engineered",name:"source-organism-view-switch",value:"genetically engineered",checked:"genetically engineered"===j,onChange:()=>J("genetically engineered")}),a.createElement(c.A.Check,{type:"radio",id:"view-synthetic",label:"Synthetic",name:"source-organism-view-switch",value:"synthetic",checked:"synthetic"===j,onChange:()=>J("synthetic")})):a.createElement(a.Fragment,null,!n&&a.createElement(D,null,a.createElement(_,null,"Data Shown"),B.map((e=>a.createElement(R,{key:e.label},a.createElement(C,{type:"checkbox",id:e.label,checked:e.visible,onChange:()=>K(e.label)}),a.createElement(E,{htmlFor:e.label},e.label))))),a.createElement($,null,a.createElement(_,null,"Data Set"),a.createElement(c.A.Check,{type:"radio",id:"view-annual",label:"Annual",name:"view-switch",value:"Annual",checked:"Annual"===q,onChange:()=>L("Annual")}),a.createElement(c.A.Check,{type:"radio",id:"view-cumulative",label:"Cumulative",name:"view-switch",value:"Cumulative",checked:"Cumulative"===q,onChange:()=>L("Cumulative")}))))))))};return a.createElement(p.A,null,re(!1))};var I=i(3076),W=i(8533),H=i(176),B=i(8132),O=i(7231),q=i(7704),M=i(8154),j=i(2543),G=i(6061),Z=i(637),Y=i(8422);const Q={"overall-structures":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:1},returnType:O.ReturnType.Entry}},"overall-small-molecules":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbChemCompInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:1},returnType:O.ReturnType.MolDefinition}},"experimental-method":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:1},secondDim:{name:`FACET/${B.e.Exptl.Method.path}`,aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbEntryInfo.ExperimentalMethod.path,min_interval_population:1},returnType:O.ReturnType.Entry}},"molecular-composition":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${B.e.Exptl.Method.path}`,aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbEntryInfo.SelectedPolymerEntityTypes.path},returnType:O.ReturnType.Entry}},"assembly-symmetry":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${B.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}`,aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbStructSymmetry.Type.path},returnType:O.ReturnType.Entry}},"number-of-domains":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:0},secondDim:{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbPolymerInstanceAnnotation.rcsb_nested_indexing_context[0].category_path,operator:O.Operator.In,value:["SCOP","SCOP2","ECOD","CATH"]}},facets:[{name:"Domain Classification",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbPolymerInstanceAnnotation.rcsb_nested_indexing_context[0].category_path,min_interval_population:1,facets:[{name:"Unique Domains Count",aggregation_type:O.AggregationType.Cardinality,attribute:B.e.RcsbPolymerInstanceAnnotation.AnnotationId.path}]}]},returnType:O.ReturnType.Entry}},"unique-protein-sequences":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:0},secondDim:{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:O.Operator.ExactMatch,value:"sequence_identity"}},facets:[{name:"Similarity Cutoff",aggregation_type:"terms",attribute:B.e.RcsbPolymerEntityGroupMembership.SimilarityCutoff.path,min_interval_population:1,facets:[{name:"Unique Protein Sequences",aggregation_type:O.AggregationType.Cardinality,attribute:B.e.RcsbPolymerEntityGroupMembership.GroupId.path}]}]},returnType:O.ReturnType.Entry}},"matching-uniprot":{query:{firstDim:{name:`FACET/${B.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:O.AggregationType.DateHistogram,attribute:B.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:O.Interval.Year,min_interval_population:0},secondDim:{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:O.Operator.ExactMatch,value:"matching_uniprot_accession"}},facets:[{name:"Unique UniProtKB Entries",aggregation_type:O.AggregationType.Cardinality,attribute:B.e.RcsbPolymerEntityGroupMembership.GroupId.path}]},returnType:O.ReturnType.Entry}},"distribution-resolution":{query:{firstDim:{name:"Resolution Combined",aggregation_type:O.AggregationType.Range,attribute:B.e.RcsbEntryInfo.ResolutionCombined.path,ranges:(0,Y.Y$)(1,.2,4.6)},returnType:O.ReturnType.Entry}},"distribution-r-free":{query:{firstDim:{name:"R-free",aggregation_type:O.AggregationType.Range,attribute:B.e.Refine.LsRFactorRFree.path,ranges:(0,Y.Y$)(.14,.01,.32)},returnType:O.ReturnType.Entry}},"distribution-molecular-weight-structure":{query:{firstDim:{name:"Molecular Weight",aggregation_type:O.AggregationType.Range,attribute:B.e.RcsbEntryInfo.MolecularWeight.path,ranges:(0,Y.Y$)(20,20,380)},returnType:O.ReturnType.Entry}},"distribution-molecular-weight-entity":{query:{firstDim:{name:"Molecular Weight",aggregation_type:O.AggregationType.Range,attribute:B.e.RcsbPolymerEntity.FormulaWeight.path,ranges:(0,Y.Y$)(5,5,75)},returnType:O.ReturnType.Entry}},"distribution-atom-count":{query:{firstDim:{name:"Atom Count",aggregation_type:O.AggregationType.Range,attribute:B.e.RcsbEntryInfo.DepositedAtomCount.path,ranges:(0,Y.Y$)(1e3,1e3,19e3)},returnType:O.ReturnType.Entry}},"distribution-residue-count":{query:{firstDim:{name:"Residue Count",aggregation_type:O.AggregationType.Range,attribute:B.e.RcsbEntryInfo.DepositedPolymerMonomerCount.path,ranges:(0,Y.Y$)(100,100,1900)},returnType:O.ReturnType.Entry}},"distribution-source-organism":{query:{firstDim:{name:"Source Type",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbEntitySourceOrganism.SourceType.path,min_interval_population:1,facets:[{name:"Source Organism",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbEntitySourceOrganism.NcbiScientificName.path,min_interval_population:1,max_num_intervals:20}]},returnType:O.ReturnType.PolymerEntity}},taxonomy:{query:{firstDim:{name:"Taxonomy",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbEntitySourceOrganism.NcbiParentScientificName.path,min_interval_population:1,max_num_intervals:20},returnType:O.ReturnType.PolymerEntity}},"distribution-software":{query:{firstDim:{name:"Processing Software",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbEntryInfo.SoftwareProgramsCombined.path,min_interval_population:1,max_num_intervals:30},returnType:O.ReturnType.Entry}},"distribution-space-group":{query:{firstDim:{name:"Space Groups",aggregation_type:O.AggregationType.Terms,attribute:B.e.Symmetry.SpaceGroupNameHM.path,min_interval_population:1,max_num_intervals:20},returnType:O.ReturnType.Entry}},"distribution-journal":{query:{firstDim:{name:"Publication Journal",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbPrimaryCitation.RcsbJournalAbbrev.path,min_interval_population:1,max_num_intervals:25},returnType:O.ReturnType.Entry}},"distribution-structural-genomics-centers":{query:{firstDim:{name:"Structural Genomics Centers",aggregation_type:O.AggregationType.Terms,attribute:B.e.PdbxSgProject.FullNameOfCenter.path,min_interval_population:1,max_num_intervals:25},returnType:O.ReturnType.Entry}},"enzyme-classification-name":{query:{firstDim:{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbPolymerEntity.RcsbEcLineage.Depth.path,operator:O.Operator.Equals,value:1}},facets:[{name:"Enzyme Classification",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbPolymerEntity.RcsbEcLineage.Name.path,min_interval_population:1,max_num_intervals:20}]},returnType:O.ReturnType.PolymerEntity}},"assembly-symmetry-dist":{query:{firstDim:{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbStructSymmetry.Kind.path,operator:O.Operator.ExactMatch,value:B.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}},facets:[{name:B.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"],aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbStructSymmetry.Type.path,min_interval_population:1}]},returnType:O.ReturnType.Assembly}},"scop-classification":{query:{firstDim:{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbPolymerInstanceAnnotation.Type.path,operator:O.Operator.ExactMatch,value:"SCOP"}},facets:[{filter:{type:O.Type.Terminal,service:O.Service.Text,parameters:{attribute:B.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Depth.path,operator:O.Operator.Equals,value:1}},facets:[{name:"SCOP Classification",aggregation_type:O.AggregationType.Terms,attribute:B.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Name.path,min_interval_population:1,max_num_intervals:20}]}]},returnType:O.ReturnType.PolymerEntity}}},U=e=>{const t=Z.Tb.getStatisticsChartObject(e),i=t?.ref_url,a=t?.stats_notes;return{ref_url:i,stats_notes:a}},K=(e,t,i)=>{const a=new Set,o=[],r=new Map;e.forEach((e=>{o.push(e.labelPath[0]),e.data.forEach((t=>{a.add(t.label.toString()),r.has(e.labelPath[0])||r.set(e.labelPath[0],new Map),r.get(e.labelPath[0])?.set(t.label.toString(),t.population)}))}));const n=Array.from(a),l=[];return n.forEach(((e,a)=>{const n=[];o.forEach((o=>{if(void 0!==r.get(o)?.get(e)){const l=(0,Z.F3)(i,e,"Entry");n.push({label:o,population:r.get(o)?.get(e)??0,objectConfig:{objectId:[o,e,r.get(o)?.get(e)??0],color:t[a%t.length],url:l}})}})),l.push(n)})),l},L=e=>{if("name"in e)return e.name;if(!e.facets||1!==e.facets.length)throw new Error("Multiple facets are not allowed");return L(e.facets[0])},J=(e,t)=>{const{settings:i}=(0,m.t)(),{setProperty:a}=(0,G.R)(),o=i.colorScheme.join("");return(0,H.I)({queryKey:[e,t,o],queryFn:()=>(async(e,t,i,a)=>{const o=Q[e];if(!o)throw new Error(`Unknown chart key: ${e}`);const{query:r}=o,{ref_url:n}=U(e),{stats_notes:l}=U(e);return async function(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,n=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0;i.searchQuery??(0,M.XY)({attribute:B.e.RcsbEntryInfo.StructureDeterminationMethodology.path,value:B.e.RcsbEntryInfo.StructureDeterminationMethodology.enum.experimental,operator:B.e.RcsbEntryInfo.StructureDeterminationMethodology.operator.ExactMatch,service:O.Service.Text});const s=(0,j.cloneDeep)(i.firstDim);i.secondDim&&(0,M.vw)(i.secondDim,s);const c={return_type:i.returnType,request_options:{paginate:{rows:0},facets:[s]}};n("searchRequest",c),n("stats_notes",r);const d=await(async(e,t)=>{const i=`${t.searchApiUrl}/rcsbsearch/v2/query`;return fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>{if(!e.ok)throw new Error(e.statusText);return e.json()})).catch((e=>{throw console.error("Error:",e),e}))})(c,l);if(!d)return[[]];const p=(0,q.z)(d);let u=p[0].data;const b={"distribution-resolution":Y.$Z,"distribution-r-free":Y.$Z,"distribution-molecular-weight-structure":Y.bl,"distribution-molecular-weight-entity":Y.bl,"distribution-atom-count":Y.pF,"distribution-residue-count":Y.pF},g=b[e]?b[e](u):u;if(b[e]&&(u=g),"distribution-source-organism"===e)return[p.filter((e=>"Source Organism"===e.name)).flatMap((e=>e.data.map((t=>({...t,labelPath:e.labelPath,objectConfig:{...t.objectConfig||{}}}))))).map(((e,a)=>{const r=(0,Z.F3)(o,e.label,i.returnType);return{...e,objectConfig:{...e.objectConfig,color:t[a%t.length],label:e.labelPath.join(", "),url:r}}}))];if(a&&u.length>0){let e=0;return[u.map((e=>{const a=(0,Z.F3)(o,e.label,i.returnType);return{...e,objectConfig:{...e.objectConfig,color:t[0%t.length],label:"Annual",url:a}}})),u.map((a=>{e+=a.population;const r=(0,Z.F3)(o,a.label,i.returnType);return{...a,population:e,objectConfig:{objectId:[a.label,e],color:t[1%t.length],label:"Cumulative",url:r}}}))]}return i.secondDim?K(p.filter((e=>e.name===L(i.secondDim))),t,o):[u.map((e=>{const a=(0,Z.F3)(o,e.label,i.returnType);return{...e,objectConfig:{objectId:[e.label,e.population],color:t[0%t.length],url:a}}}))]}(e,t,r,!1,n,l,i,a)})(e,i.colorScheme,a,i.config),enabled:!!e})},V={responsive:!0,maintainAspectRatio:!0,plugins:{title:{display:!0,font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!0,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!0,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:1e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},X={"overall-structures":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Overall Growth of Released Structures"},legend:{display:!1},tooltip:{...V.plugins?.tooltip,callbacks:{label:function(e){const t=e.datasetIndex;return 0===t?`Total Number of Structures: ${e.raw}`:1===t?`Entries Available: ${e.raw}`:`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e4,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Released Structures",font:{size:14,weight:"normal"},color:"#333"}}}},"overall-small-molecules":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth of Released Small Molecules"},legend:{display:!1},tooltip:{...V.plugins?.tooltip,callbacks:{label:function(e){const t=e.datasetIndex;return 0===t?`Total Number of Small Molecules: ${e.raw}`:1===t?`Small Molecules Available: ${e.raw}`:`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Small Molecules",font:{size:14,weight:"normal"},color:"#333"}}}},"experimental-method":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth by Experimental Method"},tooltip:{...V.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:1e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}}},"molecular-composition":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth by Molecular Composition"},tooltip:{...V.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}}},"assembly-symmetry":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth by Assembly Symmetry"},tooltip:{...V.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}}},"number-of-domains":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth by Number of Domains"},tooltip:{...V.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e4,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Domains",font:{size:14,weight:"normal"},color:"#333"}}}},"unique-protein-sequences":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth by Unique Protein Sequences"},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},legend:{display:!1}}},"matching-uniprot":{...V,plugins:{...V.plugins,title:{...V.plugins?.title,text:"Growth by UniProtKB Entries with Known 3D Structure"},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},legend:{display:!1}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e4,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"UniProtKB Entries with Known 3D Structure",font:{size:14,weight:"normal"},color:"#333"}}}},"distribution-resolution":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by Resolution",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Resolution (Angstrom)",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-r-free":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by R-free",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"R-free (%)",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-molecular-weight-structure":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by Molecular Weight (Structure)",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Molecular Weight (Daltons)",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-molecular-weight-entity":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by Molecular Weight (Entity)",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entities",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Molecular Weight (Daltons)",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-atom-count":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by Atom Count",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Atom count Range",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-residue-count":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by Residue Count",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Residue Count Range",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-source-organism":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Source Organism",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entities",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Source Organism",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},taxonomy:{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Taxonomy",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Taxonomy",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-software":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Processing Software",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:1e4,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!1,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Software Used",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-space-group":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Data Distribution by Space Group",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Space Group",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-journal":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Journal",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Journal",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-structural-genomics-centers":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Structural Genomics Centers",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Structural Genomics Center",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"enzyme-classification-name":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Enzyme Classification Name",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Enzyme Classification",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"assembly-symmetry-dist":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by Assembly Symmetry Type",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Assembly Symmetry Type",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"scop-classification":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Data Distribution by SCOP Classification",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"SCOP Classification",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}}},ee=e=>{let{setFullscreenContent:t}=e;const i=(0,o.g)().plotname||"",r=i||"",n="overall-structures"===i||"overall-small-molecules"===i,l=["distribution-space-group","distribution-resolution","distribution-r-free","distribution-molecular-weight-structure","distribution-molecular-weight-entity","distribution-atom-count","distribution-residue-count","distribution-source-organism","distribution-software","distribution-journal","distribution-structural-genomics-centers","assembly-symmetry-dist","taxonomy","enzyme-classification-name","scop-classification"].includes(i),{data:s,isLoading:c,error:d}=J(r),p=(0,G.R)(),{settings:b}=(0,m.t)();if(c)return a.createElement(h,null,a.createElement(I.A,null));if(d)return a.createElement(h,null,a.createElement(W.A,{error:d}));const g=s&&s.length>0?{labels:s[0].map((e=>e.label)),datasets:s.map(((e,t)=>{const i={};return e.forEach((e=>{i[e.label]=e.population})),{label:n?0===t?"Annual":"Cumulative":e[0]?.objectConfig?.objectId?.[1]??`Dataset ${t+1}`,data:s[0].map((e=>i[e.label]||0)),backgroundColor:e[0]?.objectConfig?.color||"rgba(0, 0, 0, 0.1)",borderColor:e[0]?.objectConfig?.color||"rgba(0, 0, 0, 0.1)",borderWidth:1,objectConfig:e.map((e=>e.objectConfig))}}))}:null,y=i&&X[i];return a.createElement(h,{key:i},g&&y?a.createElement(a.Fragment,null,a.createElement(x,null,a.createElement(v,{onClick:()=>{const e=(0,Y.h5)(p,b);e&&window.open(e,"_blank")}},a.createElement(u.Pcn,null)," Search API")),a.createElement(F,{data:g,options:y,isOverallPlot:n,isDistPlot:l,plotName:i,setFullscreenContent:t})):a.createElement(h,null,a.createElement(W.A,{error:new Error("No data available")})))}}}]);
|