agentsclimarketplace

Bgc cluster export

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/bgc-cluster-export

Use when you have completed a BiG-SLiCE v2 clustering analysis and need to convert the internal SQLite3 database results into human-readable, tabular TSV files for import into spreadsheet applications, statistical tools, or custom analysis pipelines that do not support SQLite3 directly.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill bgc-cluster-export

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

5.1 KB, 879 tokens by cl100k_base, as published. Nobody here has run it

Export Pre-Calculated BGC and GCF Tables to TSV

Summary

Export pre-calculated Biosynthetic Gene Cluster (BGC) and Gene Cluster Family (GCF) tables from a completed BiG-SLiCE v2 run into tab-separated values (TSV) format for downstream analysis and data sharing. This enables tabular access to clustering results without requiring programmatic database queries.

When to use

Use this skill when you have completed a BiG-SLiCE v2 clustering analysis and need to convert the internal SQLite3 database results into human-readable, tabular TSV files for import into spreadsheet applications, statistical tools, or custom analysis pipelines that do not support SQLite3 directly.

When NOT to use

  • The clustering run has not completed successfully or the output directory does not contain a valid SQLite3 database.
  • You need real-time query access or programmatic filtering of clustering results (use SQL queries on the database directly instead).
  • The output will be consumed downstream by a tool that natively reads SQLite3 (TSV export is redundant).

Inputs

  • BiG-SLiCE v2 output directory (containing completed clustering run with SQLite3 database)

Outputs

  • Tab-separated values (TSV) files containing BGC cluster table
  • Tab-separated values (TSV) files containing GCF cluster table

How to apply

After BiG-SLiCE v2 has completed a clustering run (producing an output folder with an SQLite3 database), invoke the bigslice command with the --export-csv parameter pointing to that output folder. The parameter triggers BiG-SLiCE to reconstruct the pre-calculated BGC and GCF cluster tables from the internal database and serialize them as TSV files. The exported TSVs will be written to the output directory alongside the original database. No intermediate processing or reformatting is required; the export operation handles schema reconstruction automatically.

Related tools

Examples

bigslice --export-csv <output_folder>

Evaluation signals

  • TSV files are present in the output directory after running --export-csv.
  • TSV files contain expected column headers corresponding to BGC and GCF metadata (e.g., cluster ID, family ID, gene count, domain composition).
  • Row counts in exported TSVs match the number of BGCs and GCFs recorded in the internal database (can be verified by SQLite3 SELECT COUNT queries).
  • TSV files are parseable by standard tabular data tools (e.g., cut, awk, pandas, R read.delim()) without format errors.
  • No data loss or truncation between database records and TSV output (spot-check representative rows for completeness).

Limitations

  • Export produces read-only snapshots of the database at export time; subsequent database updates are not reflected in already-exported TSVs.
  • Large clustering runs (1.2M+ BGCs) may produce very large TSV files that are memory-intensive to load in spreadsheet applications.
  • TSV format loses relational schema and integrity constraints present in the SQLite3 database; joining or filtering across tables requires manual logic in downstream tools.

Evidence

  • [intro] Ability to export pre-calculated BGCs and GCFs table into TSVs: "Ability to export pre-calculated BGCs and GCFs table into TSVs (use --export-csv parameter)"
  • [other] TSV file retrieval workflow: "Invoke BiG-SLiCE with the --export-csv parameter on a completed run directory to export the pre-calculated BGC and GCF cluster tables. Retrieve the exported TSV files from the output directory."
  • [readme] Internal data storage format: "BiG-SLiCE's output folder contains both the processed input data (in the form of an SQLite3 database file)"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.