@rcsb/rcsb-statistics 0.3.4 → 0.3.6
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/310.2e091756.chunk.js +2 -0
- package/build/static/js/637.2a795f71.chunk.js +1 -0
- package/build/static/js/849.d1b56840.chunk.js +102 -0
- package/build/static/js/{main.db64444e.js → main.f39b64be.js} +27 -17
- package/package.json +1 -1
- package/build/static/js/368.e7694997.chunk.js +0 -2
- package/build/static/js/5.e991c0d2.chunk.js +0 -1
- package/build/static/js/637.bc8389cb.chunk.js +0 -1
- package/build/static/js/87.b70c937d.chunk.js +0 -1
- package/build/static/js/944.85a29646.chunk.js +0 -86
- /package/build/static/js/{368.e7694997.chunk.js.LICENSE.txt → 310.2e091756.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{main.db64444e.js.LICENSE.txt → main.f39b64be.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[5],{5:(t,e,r)=>{r.r(e),r.d(e,{default:()=>f});var n=r(6540),o=r(7767),a=r(1559),i=r(3513),l=r(2390),s=r(8533),c=r(6073),u=r(2137),b=r(8027),d=r(6061),m=r(7638),g=r(8422);const f=()=>{const t=(0,o.g)().plotname||"",e=t||"defaultKey",r=["distribution-space-group","distribution-resolution","distribution-r-free","distribution-molecular-weight-structure","distribution-atom-count","distribution-residue-count","distribution-source-organism-natural","distribution-software","distribution-journal","distribution-structural-genomics-centers","assembly-symmetry-dist","taxonomy","enzyme-classification-name","scop-classification"].includes(t),{data:f,isLoading:p,error:E}=(0,c.A)(e),C=(0,d.R)(),{settings:h}=(0,m.t)();if(p)return n.createElement(l.tt,null,n.createElement(i.A,null));if(E)return n.createElement(l.tt,null,n.createElement(s.A,{error:E}));const k=f&&f.length>0?{labels:f[0].map((t=>t.label)),datasets:f.map(((t,e)=>{const r={};return t.forEach((t=>{r[t.label]=t.population})),{label:t[0]?.objectConfig?.objectId?.[1]??`Dataset ${e+1}`,data:f[0].map((t=>r[t.label]||0)),backgroundColor:t[0]?.objectConfig?.color||"rgba(0, 0, 0, 0.1)",borderColor:t[0]?.objectConfig?.color||"rgba(0, 0, 0, 0.1)",borderWidth:1,objectConfig:t.map((t=>t.objectConfig))}}))}:null,j=t&&u.A[t];return n.createElement(l.tt,{key:t},k&&j?n.createElement(n.Fragment,null,n.createElement(l.Kb,null,n.createElement(l.OV,{onClick:()=>{const t=(0,g.h5)(C,h);t&&window.open(t,"_blank")}},n.createElement(b.Pcn,null)," Search API")),n.createElement(a.A,{data:k,options:j,isOverallPlot:!1,isDistPlot:r})):n.createElement(l.tt,null,n.createElement(s.A,{error:new Error("No data available.")})))}}}]);
|
|
@@ -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:()=>p,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:"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:u("rcsb_entry_info.resolution_combined",1,4.6,.2,!0),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:u("refine.ls_R_factor_R_free",.14,.32,.01,!0),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:u("rcsb_entry_info.molecular_weight",20,380,20,!1),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:u("rcsb_entry_info.deposited_atom_count",1e3,19e3,1e3,!1),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:u("rcsb_entry_info.deposited_polymer_monomer_count",100,1900,100,!1),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-natural",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:"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 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-natural")},{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,a,i){const n=[];let o=t;for(;o<r;){const e=i?parseFloat((o+a).toFixed(2)):o+a;n.push({key:`${o}-${e}`,value:{gte:o,lt:e}}),o=e}return n.push({key:`>=${r}`,value:{gte:r}}),[{name:e,aggregation_type:"range",attribute:e,facets:n.map((t=>({name:`${t.key}`,aggregation_type:"range",attribute:e,filter:{type:"range",service:"text",parameters:{attribute:e,operator:"range",value:`${t.value.gte}-${t.value.lt}`}}})))}]}function p(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 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[87],{2087:(e,t,l)=>{l.r(t),l.d(t,{default:()=>g});var a=l(6540),r=l(7767),n=l(1559),o=l(3513),c=l(2390),s=l(8533),u=l(6073),b=l(2137),i=l(8027),m=l(6061),d=l(7638),E=l(8422);const g=()=>{const{plotname:e}=(0,r.g)(),t=e||"defaultKey",l="overall-structures"===e||"overall-small-molecules"===e,{data:g,isLoading:f,error:p}=(0,u.A)(t),C=(0,m.R)(),{settings:h}=(0,d.t)();if(f)return a.createElement(c.tt,null,a.createElement(o.A,null));if(p)return a.createElement(c.tt,null,a.createElement(s.A,{error:p}));const k=g&&g.length>0?{labels:g[0].map((e=>e.label)),datasets:g.map(((e,t)=>{const a={};return e.forEach((e=>{a[e.label]=e.population})),{label:l?0===t?"Annual":"Cumulative":e[0]?.objectConfig?.objectId?.[1]??`Dataset ${t+1}`,data:g[0].map((e=>a[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,A=e&&b.A[e];return a.createElement(c.tt,{key:e},k&&A?a.createElement(a.Fragment,null,a.createElement(c.Kb,null,a.createElement(c.OV,{onClick:()=>{const e=(0,E.h5)(C,h);e&&window.open(e,"_blank")}},a.createElement(i.Pcn,null)," Search API")),a.createElement(n.A,{data:k,options:A,isOverallPlot:l,isDistPlot:!1})):a.createElement(c.tt,null,a.createElement(s.A,{error:new Error("No data available")})))}}}]);
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[944],{1559:(e,t,i)=>{i.d(t,{A:()=>T});var a=i(6540),o=i(4731),r=i(6118),n=i(3839),l=i(7581),s=i(1105),c=i(3048),d=i(4479),p=i(1376),u=i(7767),g=i(8027),b=i(2756);r.t1.register(r.PP,r.kc,r.E8,r.hE,r.m_,r.s$,n.Ay);const m=l.Ay.div`
|
|
2
|
-
padding-left: 7px;
|
|
3
|
-
margin-top: 40px;
|
|
4
|
-
`,y=(0,l.Ay)(s.A)`
|
|
5
|
-
margin-top: 40px;
|
|
6
|
-
`,f=l.Ay.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
gap: 5px;
|
|
12
|
-
`,h=l.Ay.div`
|
|
13
|
-
background-color: #f0f0f0;
|
|
14
|
-
border: 1px solid #fff;
|
|
15
|
-
padding: 5px;
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
color: ${e=>{let{disabled:t}=e;return t?"#e0e0e0":"#a0a0a0"}};
|
|
20
|
-
pointer-events: ${e=>{let{disabled:t}=e;return t?"none":"auto"}};
|
|
21
|
-
|
|
22
|
-
${e=>{let{disabled:t}=e;return!t&&"\n &:hover {\n background-color: #fff;\n border: 1px solid #c0c0c0;\n cursor: pointer;\n }\n "}}
|
|
23
|
-
`,x=l.Ay.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
margin-bottom: 5px;
|
|
27
|
-
`,v=l.Ay.input`
|
|
28
|
-
margin-right: 20px;
|
|
29
|
-
`,z=l.Ay.label`
|
|
30
|
-
font-size: 12px;
|
|
31
|
-
margin-left: 5px;
|
|
32
|
-
font-weight: normal;
|
|
33
|
-
margin-bottom: 0 !important;
|
|
34
|
-
`,A=l.Ay.div`
|
|
35
|
-
font-weight: bold;
|
|
36
|
-
font-size: 1.2em;
|
|
37
|
-
margin-bottom: 15px;
|
|
38
|
-
`,k=l.Ay.div`
|
|
39
|
-
width: auto;
|
|
40
|
-
height: 550px;
|
|
41
|
-
`,w=l.Ay.div`
|
|
42
|
-
margin-top: 20px;
|
|
43
|
-
label {
|
|
44
|
-
font-size: 12px;
|
|
45
|
-
font-weight: normal;
|
|
46
|
-
margin-left: 5px;
|
|
47
|
-
margin-bottom: 0 !important;
|
|
48
|
-
margin-top: 4px !important;
|
|
49
|
-
}
|
|
50
|
-
.form-check {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
}
|
|
54
|
-
`,R=l.Ay.div`
|
|
55
|
-
margin-bottom: 35px;
|
|
56
|
-
`,S=l.Ay.div`
|
|
57
|
-
font-weight: bold;
|
|
58
|
-
margin-bottom: 5px;
|
|
59
|
-
`,C=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}},T=e=>{let{data:t,options:i,isOverallPlot:r,isDistPlot:n}=e;const l=(0,a.useRef)(null),T=(0,u.zy)(),E=(0,u.Zp)(),{handleOpenModal:D}=(0,b.h)(),[$,_]=(0,a.useState)((()=>{const e=new URLSearchParams(T.search);return t.datasets.map((t=>{const i=t.label||"";return{label:i,visible:"false"!==e.get(i)}}))})),[P,N]=(0,a.useState)((()=>{const e=new URLSearchParams(T.search);return n?"Annual":e.get("view")||"Cumulative"})),[I,F]=(0,a.useState)((()=>{const e=new URLSearchParams(T.search);return"Cumulative"===(n?"Annual":e.get("view")||"Cumulative")?C(t):t}));(0,a.useEffect)((()=>{const e=new URLSearchParams(T.search);$.forEach((t=>{e.set(t.label,String(t.visible))})),e.set("view",P),E(`${T.pathname}?${e.toString()}`,{replace:!0})}),[$,P,T.pathname,E]),(0,a.useEffect)((()=>{r&&_((e=>e.map((e=>"Cumulative"===e.label?{...e,visible:!1}:e))))}),[r]),(0,a.useEffect)((()=>{if("Cumulative"===P){const e=C(t);F({labels:t.labels,datasets:e.datasets.map((e=>({...e,hidden:!$.find((t=>t.label===e.label))?.visible})))})}else F({labels:t.labels,datasets:t.datasets.map((e=>({...e,hidden:!$.find((t=>t.label===e.label))?.visible})))})}),[P,t,$]);const H=e=>{_((t=>t.map((t=>t.label===e?{...t,visible:!t.visible}:t))))},W=e=>{N(e)},B={...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&&H(a)})(i.chart,t)}}};return a.createElement(c.A,null,a.createElement(d.A,null,a.createElement(s.A,{md:10},a.createElement(k,null,a.createElement(o.yP,{ref:l,data:I,options:B,onClick:e=>{if(l.current){const t=(0,o.CK)(l.current,e);if(t.length>0){const{index:e}=t[0];let i="";for(const t of l.current.data.datasets){const a=t;if(a.objectConfig&&a.objectConfig[e]){i=a.objectConfig[e].url;break}}i&&(window.location.href=i)}}}}))),a.createElement(s.A,{md:2},a.createElement(d.A,null,a.createElement(y,{md:2},a.createElement(f,null,a.createElement(h,{onClick:()=>D("settings")},a.createElement(g.Pcn,{size:15})),a.createElement(h,{disabled:!1,onClick:()=>D("information")},a.createElement(g.__w,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.kxO,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.ist,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.YYR,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.$TP,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.DIg,{size:15})))),a.createElement(s.A,{md:10},a.createElement(m,null,n?a.createElement(R,null,a.createElement(S,null)):a.createElement(a.Fragment,null,a.createElement(A,null,"Data Options"),!r&&a.createElement(R,null,a.createElement(S,null,"Data Shown"),$.map((e=>a.createElement(x,{key:e.label},a.createElement(v,{type:"checkbox",id:e.label,checked:e.visible,onChange:()=>H(e.label)}),a.createElement(z,{htmlFor:e.label},e.label))))),a.createElement(w,null,a.createElement(S,null,"Data Set"),a.createElement(p.A.Check,{type:"radio",id:"view-annual",label:"Annual",name:"view-switch",value:"Annual",checked:"Annual"===P,onChange:()=>W("Annual")}),a.createElement(p.A.Check,{type:"radio",id:"view-cumulative",label:"Cumulative",name:"view-switch",value:"Cumulative",checked:"Cumulative"===P,onChange:()=>W("Cumulative")})))))))))}},2137:(e,t,i)=>{i.d(t,{A:()=>o});const a={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:11,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}}},o={"overall-structures":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth of Overall Structures"},legend:{display:!1},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){const t=e.datasetIndex;return 0===t?`Structures Released Annually: ${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 Entries",font:{size:14,weight:"normal"},color:"#333"}}}},"overall-small-molecules":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth of Released Small Small Molecules"},legend:{display:!1},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){const t=e.datasetIndex;return 0===t?`Small Molecules Released Annually: ${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 Entries",font:{size:14,weight:"normal"},color:"#333"}}}},"experimental-method":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Experimental Method"},tooltip:{...a.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":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Molecular Composition"},tooltip:{...a.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":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Assembly Symmetry"},tooltip:{...a.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":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Number of Domains"},tooltip:{...a.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)}`:""}}}}},"unique-protein-sequences":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: 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}}},"distribution-resolution":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: 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 Statistics: 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 Statistics: 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}},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-atom-count":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: 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:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},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 Statistics: 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:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},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-natural":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Natural 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 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:"Natural 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 Statistics: 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 Statistics: 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 Statistics: 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:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},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 Statistics: 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 Statistics: 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 Statistics: 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 Statistics: 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 Statistics: 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}}}}},6073:(e,t,i)=>{i.d(t,{A:()=>f});var a=i(176),o=i(8132),r=i(7231),n=i(7704),l=i(8154),s=i(2543),c=i(7638),d=i(6061),p=i(637),u=i(8422);const g={"overall-structures":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:1},returnType:r.ReturnType.Entry}},"overall-small-molecules":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbChemCompInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:1},returnType:r.ReturnType.MolDefinition}},"experimental-method":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:1},secondDim:{name:`FACET/${o.e.Exptl.Method.path}`,aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntryInfo.ExperimentalMethod.path,min_interval_population:1},returnType:r.ReturnType.Entry}},"molecular-composition":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${o.e.Exptl.Method.path}`,aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntryInfo.SelectedPolymerEntityTypes.path},returnType:r.ReturnType.Entry}},"assembly-symmetry":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${o.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}`,aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbStructSymmetry.Type.path},returnType:r.ReturnType.Entry}},"number-of-domains":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:r.Operator.ExactMatch,value:o.e.RcsbPolymerEntityGroupMembership.AggregationMethod.enum.sequence_identity}},facets:[{name:"Similarity Cutoff",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPolymerEntityGroupMembership.SimilarityCutoff.path,min_interval_population:1,facets:[{name:"Unique Protein Sequences",aggregation_type:r.AggregationType.Cardinality,attribute:o.e.RcsbPolymerEntityGroupMembership.GroupId.path}]}]},returnType:r.ReturnType.Entry}},"unique-protein-sequences":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:r.Operator.ExactMatch,value:r.AggregationMethod.MatchingUniprotAccession}},facets:[{name:"Unique UniProtKB Entries",aggregation_type:r.AggregationType.Cardinality,attribute:o.e.RcsbPolymerEntityGroupMembership.GroupId.path}]},returnType:r.ReturnType.Entry}},"distribution-resolution":{query:{firstDim:{name:"Resolution Combined",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.ResolutionCombined.path,ranges:(0,u.Y$)(1,.2,4.6)},returnType:r.ReturnType.Entry}},"distribution-r-free":{query:{firstDim:{name:"R-free",aggregation_type:r.AggregationType.Range,attribute:o.e.Refine.LsRFactorRFree.path,ranges:(0,u.Y$)(.14,.01,.32)},returnType:r.ReturnType.Entry}},"distribution-molecular-weight-structure":{query:{firstDim:{name:"Molecular Weight",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.MolecularWeight.path,ranges:(0,u.Y$)(20,20,380)},returnType:r.ReturnType.Entry}},"distribution-atom-count":{query:{firstDim:{name:"Atom Count",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.DepositedAtomCount.path,ranges:(0,u.Y$)(1e3,1e3,19e3)},returnType:r.ReturnType.Entry}},"distribution-residue-count":{query:{firstDim:{name:"Residue Count",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.DepositedPolymerMonomerCount.path,ranges:(0,u.Y$)(100,100,1900)},returnType:r.ReturnType.Entry}},"distribution-source-organism-natural":{query:{firstDim:{name:"Source Type",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntitySourceOrganism.SourceType.path,min_interval_population:1,facets:[{name:"Source Organism",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntitySourceOrganism.NcbiScientificName.path,min_interval_population:1,max_num_intervals:20}]},returnType:r.ReturnType.Entry}},taxonomy:{query:{firstDim:{name:"Taxonomy",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntitySourceOrganism.NcbiParentScientificName.path,min_interval_population:1,max_num_intervals:20},returnType:r.ReturnType.PolymerEntity}},"distribution-software":{query:{firstDim:{name:"Processing Software",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntryInfo.SoftwareProgramsCombined.path,min_interval_population:1,max_num_intervals:30},returnType:r.ReturnType.Entry}},"distribution-space-group":{query:{firstDim:{name:"Space Groups",aggregation_type:r.AggregationType.Terms,attribute:o.e.Symmetry.SpaceGroupNameHM.path,min_interval_population:1,max_num_intervals:20},returnType:r.ReturnType.Entry}},"distribution-journal":{query:{firstDim:{name:"Publication Journal",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPrimaryCitation.RcsbJournalAbbrev.path,min_interval_population:1,max_num_intervals:25},returnType:r.ReturnType.Entry}},"distribution-structural-genomics-centers":{query:{firstDim:{name:"Structural Genomics Centers",aggregation_type:r.AggregationType.Terms,attribute:o.e.PdbxSgProject.FullNameOfCenter.path,min_interval_population:1,max_num_intervals:25},returnType:r.ReturnType.Entry}},"enzyme-classification-name":{query:{firstDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerEntity.RcsbEcLineage.Depth.path,operator:r.Operator.Equals,value:1}},facets:[{name:"Enzyme Classification",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPolymerEntity.RcsbEcLineage.Name.path,min_interval_population:1,max_num_intervals:20}]},returnType:r.ReturnType.PolymerEntity}},"assembly-symmetry-dist":{query:{firstDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbStructSymmetry.Kind.path,operator:r.Operator.ExactMatch,value:o.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}},facets:[{name:o.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"],aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbStructSymmetry.Type.path,min_interval_population:1}]},returnType:r.ReturnType.Assembly}},"scop-classification":{query:{firstDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerInstanceAnnotation.Type.path,operator:r.Operator.ExactMatch,value:"SCOP"}},facets:[{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Depth.path,operator:r.Operator.Equals,value:1}},facets:[{name:"SCOP Classification",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Name.path,min_interval_population:1,max_num_intervals:20}]}]},returnType:r.ReturnType.PolymerEntity}}},b=e=>{const t=p.Tb.getStatisticsChartObject(e),i=t?.ref_url,a=t?.stats_notes;return{ref_url:i,stats_notes:a}},m=(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,p.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},y=e=>{if("name"in e)return e.name;if(!e.facets||1!==e.facets.length)throw new Error("Multiple facets are not allowed");return y(e.facets[0])},f=(e,t)=>{const{settings:i}=(0,c.t)(),{setProperty:f}=(0,d.R)(),h=i.colorScheme.join("");return(0,a.I)({queryKey:[e,t,h],queryFn:()=>(async(e,t,i,a)=>{const c=g[e];if(!c)throw new Error(`Unknown chart key: ${e}`);const{query:d}=c,{ref_url:f}=b(e),{stats_notes:h}=b(e);return async function(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4?arguments[4]:void 0,d=arguments.length>5?arguments[5]:void 0,g=arguments.length>6?arguments[6]:void 0,b=arguments.length>7?arguments[7]:void 0;const f=i.searchQuery??(0,l.XY)({attribute:o.e.RcsbEntryInfo.StructureDeterminationMethodology.path,value:o.e.RcsbEntryInfo.StructureDeterminationMethodology.enum.experimental,operator:o.e.RcsbEntryInfo.StructureDeterminationMethodology.operator.ExactMatch,service:r.Service.Text}),h=(0,s.cloneDeep)(i.firstDim);i.secondDim&&(0,l.vw)(i.secondDim,h);const x=(0,l.G2)(f,i.returnType,{facets:[h]});g("searchRequest",x),g("stats_notes",d);const v=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}))})(x,b);if(!v)return[[]];const z=(0,n.z)(v);let A=z[0].data;const k={"distribution-resolution":u.$Z,"distribution-r-free":u.$Z,"distribution-molecular-weight-structure":u.bl,"distribution-atom-count":u.pF,"distribution-residue-count":u.pF},w=k[e]?k[e](A):A;if(k[e]&&(A=w),a&&A.length>0){let e=0;return[A.map((e=>{const a=(0,p.F3)(c,e.label,i.returnType);return{...e,objectConfig:{...e.objectConfig,color:t[0%t.length],label:"Annual",url:a}}})),A.map((a=>{e+=a.population;const o=(0,p.F3)(c,a.label,i.returnType);return{...a,population:e,objectConfig:{objectId:[a.label,e],color:t[1%t.length],label:"Cumulative",url:o}}}))]}return i.secondDim?m(z.filter((e=>e.name===y(i.secondDim))),t,c):[A.map((e=>{const a=(0,p.F3)(c,e.label,i.returnType);return{...e,objectConfig:{objectId:[e.label,e.population],color:t[0%t.length],url:a}}}))]}(e,t,d,!1,f,h,i,a)})(e,i.colorScheme,f,i.config),enabled:!!e})}},2390:(e,t,i)=>{i.d(t,{Kb:()=>n,OV:()=>l,tt:()=>r});var a=i(7581);const o=a.i7`
|
|
60
|
-
from {
|
|
61
|
-
opacity: .5;
|
|
62
|
-
transform: translateZ(0) scale(0.999);
|
|
63
|
-
}
|
|
64
|
-
to {
|
|
65
|
-
opacity: 1;
|
|
66
|
-
transform: translateZ(0) scale(1);
|
|
67
|
-
}
|
|
68
|
-
`,r=a.Ay.div`
|
|
69
|
-
animation: ${o} .5s ease-in;
|
|
70
|
-
will-change: opacity, transform;
|
|
71
|
-
`,n=a.Ay.div`
|
|
72
|
-
display: flex;
|
|
73
|
-
justify-content: flex-end;
|
|
74
|
-
margin-top: -10px;
|
|
75
|
-
`,l=a.Ay.button`
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
justify-content: center;
|
|
79
|
-
border: 1px solid #e7e7e7;
|
|
80
|
-
border-radius: 3px;
|
|
81
|
-
padding: 3px 5px;
|
|
82
|
-
|
|
83
|
-
& svg {
|
|
84
|
-
margin-right: 5px;
|
|
85
|
-
}
|
|
86
|
-
`}}]);
|
/package/build/static/js/{368.e7694997.chunk.js.LICENSE.txt → 310.2e091756.chunk.js.LICENSE.txt}
RENAMED
|
File without changes
|
|
File without changes
|