agentsclimarketplace

Juicer cli tool execution

Skill HolobiomicsLab/asb-skill-collections/collections/epigenomics/v1/skills/juicer-cli-tool-execution

Use when you have a pre-generated .hic contact map file (from Juicer pipeline or external source) and need to systematically call chromatin loops, detect topologically associating domains, or annotate other structural features without re-running the full alignment and contact matrix construction.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill juicer-cli-tool-execution

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

7.6 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

juicer-cli-tool-execution

Summary

Execute Juicer command-line tools to annotate structural features (loops, domains) on pre-generated .hic contact maps. This skill bridges the gap between raw Hi-C map generation and downstream feature discovery by applying Juicer's post-processing CLI suite to identify and output genomic loop coordinates and topologically associating domain (TAD) boundaries.

When to use

You have a pre-generated .hic contact map file (from Juicer pipeline or external source) and need to systematically call chromatin loops, detect topologically associating domains, or annotate other structural features without re-running the full alignment and contact matrix construction pipeline. This skill is appropriate when Hi-C data has already been processed to the contact map stage and feature annotation is the isolated requirement.

When NOT to use

  • Input is raw FASTQ sequence data—use the Juicer pipeline generation step first to create the .hic file.
  • Contact map already includes feature annotations—re-annotation risks overwriting or conflicting with existing calls.
  • Analysis requires real-time interaction with the map visualization—use Juicebox (the GUI) instead of CLI tools for exploratory work.

Inputs

  • .hic contact map file (pre-generated from Juicer pipeline or compatible source)
  • genome identifier or reference file (e.g., 'hg19', 'mm10', or custom chrom.sizes)
  • tool-specific parameters (e.g., resolution, p-value thresholds, GPU availability for HiCCUPS)

Outputs

  • annotated feature file in bedpe format (for loop coordinates: chr1, start1, end1, chr2, start2, end2, feature_id, score)
  • annotated feature file in bed format (for domain boundaries: chr, start, end, domain_id, score)
  • optional: feature statistics or confidence scores

How to apply

Load the .hic file into Juicer command-line tools (which require Java >= 1.8 installed). Select the appropriate post-processing tool from the CLI suite—common tools include HiCCUPS for loop calling or Arrowhead for domain detection. Execute the chosen annotation tool with the .hic file as primary input, specifying kilobase resolution and any tool-specific parameters (e.g., peak-calling thresholds for HiCCUPS). The tool will scan the contact matrix for statistically significant peaks or domain boundaries and output results in a standardized coordinate format (typically bedpe for loops or bed for domains). Validate output by checking coordinate consistency with input map dimensions and confirming feature counts align with biological expectations for the organism and resolution.

Related tools

Examples

java -jar juicer_tools.jar hiccups -m 500 -r 10000 -k KR input.hic output_loops.bedpe

Evaluation signals

  • Output file format conforms to expected schema (bedpe for loops: 7+ tab-separated columns with valid genomic coordinates; bed for domains: 6+ columns with monotonic intervals)
  • Coordinate ranges fall within the bounds of the input .hic map (e.g., all loop anchors map to chromosomes present in the reference and within chromosome length limits)
  • Feature counts are consistent with biological expectations (e.g., mammalian genomes typically yield 5,000–10,000 loops and ~2,000–4,000 TADs at 40 kb resolution)
  • Confidence scores or p-values in output show expected distributions (e.g., loop strength scores correlate with visual prominence in contact maps; domain boundaries coincide with regions of elevated intra-domain vs. inter-domain contact)
  • Tool completes without Java exceptions or memory errors, and stderr logs indicate successful feature detection passes

Limitations

  • CLI tools require Java >= 1.8; older or beta Java versions may cause runtime failures or numerical instability.
  • HiCCUPS loop calling requires a GPU (NVIDIA CUDA 7.0 or 7.5) for optimal performance; CPU fallback exists but is significantly slower.
  • Juicer 2 is under active development and may introduce breaking changes; Juicer 1.6 is the stable release for production use.
  • Output feature calls are resolution-dependent; features detected at 40 kb resolution will not directly translate to 5 kb or 10 kb resolutions.
  • No changelog is available in the main repository, making it difficult to track CLI tool API changes between versions.

Evidence

  • [intro] command line tools for feature annotation on the Hi-C maps: "In this distribution, we include the pipeline for generating Hi-C maps from fastq raw data files and command line tools for feature annotation on the Hi-C maps"
  • [readme] Juicer includes tools designed for feature annotation with output in standardized formats: "Juicer is a platform for analyzing kilobase resolution Hi-C data. In this distribution, we include the pipeline for generating Hi-C maps from fastq raw data files and command line tools for feature"
  • [readme] Java is the minimum software requirement for running Juicer tools: "The minimum software requirement to run Juicer is a working Java installation (version >= 1.8) on Windows, Linux, and Mac OSX."
  • [readme] Version 1.6 is the last stable release; Juicer 2 is under active development: "To access Juicer 1.6 (last stable release), please see the Github Release. If you clone the Juicer repo directly from Github, it will clone"
  • [readme] CUDA is required for HiCCUPS peak calling with GPU acceleration: "You must have an NVIDIA GPU to install CUDA... The native libraries included with Juicer are compiled for CUDA 7 or CUDA 7.5."

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.