@chromospace/chromospace@0.0.10
Library for visualization of 3D genomic data.
Utility function to add a chunk to scene
Utility function to add a model to scene
Basic implementation of a 3d chromatin renderer. Essentially just wraps THREE.WebGLRenderer but provides semantics for building chromatin visualization.
A simple list of bin positions.Used in two scenarios:a) an "anonymous" chunk of chromatin data, andb) properly annotated part of a larger model (e.g., in whole-genome model, chromosomes will be different chunks).
ChromatinScene carries the structures to show, plus a configuration mostly describing the layout of the scene (WIP)
Starts rendering of a scene. Returns a renderer object and a canvas.
Embedding a visualization specified in a declarative manner into a web page.
Query for model parts on specified genomic coordinates
Fetching specific bin index range.
Simple initializer for the ChromatinScene structure.
Utility function for parsing the 3DG format (e.g., the Tan et al. 2018 whole genome model)
Utility for parsing a raw array of bytes uploaded through the chromospyce widget as a numpy array.
Utility function for parsing the Protein Data Bank (PDB) format, which is often used for 3D chromatin.
Utility for parsing the 3D coordinates in a tab separated values file format.
Specific utility function for parsing TSV outputted by MiniMDS software.
Utility function for parsing an XYZ file, mostly follows the de-facto specification: https://en.wikipedia.org/wiki/XYZ_file_format