技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-parsers【数据与研究】Routes pyCirclize matrix, table, BED, stacked-bar, radar, from-to, chord, and radar-chart data preparation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task is to turn tabular data into pyCirclize sectors,
links, stacked bars, or radar series, or to build a chord/radar chart from a
file, pandas.DataFrame, or parser object.
Matrix for a matrix and
Matrix.parse_fromto_table for three-column from-to data, then call
Circos.chord_diagram. Use to_sectors() for Circos(...) and to_links()
for explicit circos.link workflows.RadarTable or let Circos.radar_chart wrap a path,
DataFrame, or table. Confirm numeric values and vmin < vmax before plotting;
use the radar workflow for colors, labels, tooltips, and export.StackedBarTable for row/column names,
heights, bottoms, row totals, and label positions. Hand drawing and track
coordinate details belong to plot-primitives.Bed for local tab-delimited BED records
and route genomic feature semantics, GenBank/GFF, and trees to
genomics-and-trees.Read the linked references before choosing a parser. They contain the verified signatures, positional column assumptions, conversion semantics, and recovery steps that are intentionally not duplicated here. Run the bundled deterministic check when a small parser-plus-export smoke test is useful:
python scripts/validate_matrix_and_radar.py
The helper creates only temporary local fixtures and PNGs; it makes no network requests and does not modify the checkout or a user-specified data file.
Matrix, StackedBarTable, or RadarTable
plotting. Parser constructors are intentionally lightweight and do not
normalize arbitrary DataFrames for you.vmin and vmax so every plotted value is in range and
ensure vmin < vmax; invalid range errors may be raised while the factory
builds the series.Do not use this route for low-level Track/Sector drawing, annotations, or
coordinate debugging; use plot-primitives. Do not use it for GenBank/GFF
feature extraction or Newick/tree styling; use genomics-and-trees.