← Files NVIDIA BioNeMo Agent ToolkitARCHIVED FILE
skills/parabricks/references/pbrun-starfusion.md
10.1 KB · Sep 30, 2026 · 23:14 UTC
# Parabricks starfusion Use this reference for NVIDIA Parabricks `pbrun starfusion` — RNA fusion detection using STAR-Fusion-compatible inputs and resources. ## First Steps 1. Confirm the Parabricks version or container tag. 2. Confirm the user has STAR `Chimeric.out.junction` input. If the user only has raw RNA FASTQs, route to `pbrun-rna_fq2bam.md` or ask how they will produce STAR-Fusion-compatible chimeric junction input. 3. Collect required inputs: - Chimeric junction input path. - STAR-Fusion genome resource library directory. - Output directory. 4. Ask about optional version-specific filters, logs, and runtime settings only when relevant. 5. For runtime readiness, see `runtime-environment.md`. ## Command Shape Fusion detection from chimeric junction input: ```bash docker run --rm --gpus all \ --volume /host/input:/workdir \ --volume /host/output:/outputdir \ --workdir /workdir \ nvcr.io/nvidia/clara/clara-parabricks:<version> \ pbrun starfusion \ --chimeric-junction /workdir/<chimeric_junction.out> \ --genome-lib-dir /workdir/<genome_resource_library>/ \ --output-dir /outputdir/<starfusion_output>/ ``` Verify exact input, genome resource, output, filter, and log flags against the selected version. ## STAR-Fusion Option Mapping Use this mapping when translating an upstream `STAR-Fusion` command to `pbrun starfusion`. Parabricks v4.7.0 exposes a focused subset of the STAR-Fusion CLI: the chimeric junction input, CTAT genome resource library, output directory, output prefix, and worker thread count. Many upstream STAR-Fusion filtering, STAR-alignment, FusionInspector, shared-memory, and single-cell options are not exposed by `pbrun starfusion`; if the selected Parabricks version does not document a flag, do not pass it through. | STAR-Fusion option | `pbrun starfusion` equivalent | Notes | | --- | --- | --- | | `--chimeric_junction`, `-J` | `--chimeric-junction` | Required path to `Chimeric.out.junction` from STAR. | | `--genome_lib_dir` | `--genome-lib-dir` | Required CTAT/STAR-Fusion genome resource library directory. | | `--output_dir`, `-O` | `--output-dir` | Required output directory. | | `--out_prefix` | `--out-prefix` | Same output-prefix role. | | `--CPU` | `--num-threads` | Same worker-thread role; Parabricks default is version-specific. | | `--tmpdir` | `--tmp-dir` | Same temporary-directory role, but Parabricks treats it as a wrapper/runtime path. | | `--version` | `--version` | Same version-reporting role. | | `--verbose_level` | `--verbose` | Partial equivalent only: Parabricks exposes a boolean verbose flag, not STAR-Fusion's numeric verbosity level. | | `--left_fq` | No direct equivalent | `pbrun starfusion` starts from a STAR chimeric junction file, not raw FASTQ. Use `pbrun-rna_fq2bam.md` or STAR first to produce compatible junction input. | | `--right_fq` | No direct equivalent | No raw paired FASTQ mode in current Parabricks `starfusion` docs. | | `--samples_file` | No direct equivalent | No upstream SmartSeq2/multi-sample file mode is documented for `pbrun starfusion`. | | `--min_junction_reads` | No direct equivalent | Upstream fusion filtering option not exposed by current Parabricks docs. | | `--min_sum_frags` | No direct equivalent | Upstream fusion filtering option not exposed by current Parabricks docs. | | `--max_promiscuity` | No direct equivalent | Upstream fusion filtering option not exposed by current Parabricks docs. | | `--min_pct_dom_promiscuity` | No direct equivalent | Upstream promiscuity-filter option not exposed by current Parabricks docs. | | `--min_spanning_frags_only` | No direct equivalent | Upstream fusion-support filter not exposed by current Parabricks docs. | | `--min_pct_MM_nonspecific`, `-M` | No direct equivalent | Upstream multimapping specificity filter not exposed by current Parabricks docs. | | `--require_LDAS` | No direct equivalent | Upstream long double-anchor support filter not exposed by current Parabricks docs. | | `--min_novel_junction_support` | No direct equivalent | Upstream novel-junction support filter not exposed by current Parabricks docs. | | `--min_alt_pct_junction` | No direct equivalent | Upstream alternate-junction support filter not exposed by current Parabricks docs. | | `--aggregate_novel_junction_dist` | No direct equivalent | Upstream novel-junction aggregation option not exposed by current Parabricks docs. | | `--min_FFPM` | No direct equivalent | Upstream FFPM threshold not exposed by current Parabricks docs. | | `--no_filter` | No direct equivalent | Upstream all-filter bypass not exposed by current Parabricks docs. | | `--no_annotation_filter` | No direct equivalent | Upstream annotation-filter bypass not exposed by current Parabricks docs. | | `--no_RT_artifact_filter` | No direct equivalent | Upstream RT-artifact filter bypass not exposed by current Parabricks docs. | | `--no_single_fusion_per_breakpoint` | No direct equivalent | Upstream breakpoint-filter bypass not exposed by current Parabricks docs. | | `--max_sensitivity` | No direct equivalent | Upstream preset that changes multiple filters; not exposed by current Parabricks docs. | | `--full_Monty` | No direct equivalent | Upstream high-sensitivity/filter-relaxing preset not exposed by current Parabricks docs. | | `--skip_EM` | No direct equivalent | Upstream EM assignment skip option not exposed by current Parabricks docs. | | `--skip_FFPM` | No direct equivalent | Upstream FFPM skip option not exposed by current Parabricks docs. | | `--examine_coding_effect` | No direct equivalent | Upstream downstream coding-effect analysis not exposed by current Parabricks docs. | | `--extract_fusion_reads` | No direct equivalent | Upstream extraction of supporting fusion reads not exposed by current Parabricks docs. | | `--FusionInspector` | No direct equivalent | Upstream FusionInspector integration not exposed by current Parabricks docs. | | `--denovo_reconstruct` | No direct equivalent | Upstream Trinity reconstruction mode not exposed by current Parabricks docs. | | `--misc_FI_opts` | No direct equivalent | Upstream FusionInspector pass-through option not exposed by current Parabricks docs. | | `--run_STAR_only` | No direct equivalent | `pbrun starfusion` does not run STAR alignment; it consumes STAR chimeric junction output. | | `--STAR_PATH` | No direct equivalent | Parabricks does not expose a STAR executable path for `pbrun starfusion`. | | `--STAR_twopass` | No direct equivalent | STAR-alignment option not exposed because this Parabricks command consumes existing junctions. | | `--STAR_max_mate_dist` | No direct equivalent | STAR-alignment option not exposed by `pbrun starfusion`. | | `--STAR_SJDBoverhangMin` | No direct equivalent | STAR-alignment option not exposed by `pbrun starfusion`. | | `--STAR_SortedByCoordinate` | No direct equivalent | STAR-alignment output option not exposed by `pbrun starfusion`. | | `--STAR_limitBAMsortRAM` | No direct equivalent | STAR sorting option not exposed by `pbrun starfusion`. | | `--STAR_peOverlapNbasesMin` | No direct equivalent | STAR paired-end overlap option not exposed by `pbrun starfusion`. | | `--STAR_peOverlapMMp` | No direct equivalent | STAR paired-end overlap option not exposed by `pbrun starfusion`. | | `--STAR_chimMultimapScoreRange` | No direct equivalent | STAR chimeric-multimap option not exposed by `pbrun starfusion`. | | `--STAR_chimMultimapNmax` | No direct equivalent | STAR chimeric-multimap option not exposed by `pbrun starfusion`. | | `--STAR_chimNonchimScoreDropMin` | No direct equivalent | STAR chimeric scoring option not exposed by `pbrun starfusion`. | | `--STAR_outSAMattrRGline` | No direct equivalent | STAR read-group pass-through not exposed by `pbrun starfusion`. | | `--STAR_use_shared_memory` | No direct equivalent | Upstream STAR shared-memory mode not exposed by `pbrun starfusion`. | | `--STAR_LoadAndExit` | No direct equivalent | Upstream STAR shared-memory load mode not exposed by `pbrun starfusion`. | | `--STAR_Remove` | No direct equivalent | Upstream STAR shared-memory cleanup mode not exposed by `pbrun starfusion`. | | `--outTmpDir` | No direct equivalent | Upstream STAR temporary directory pass-through, distinct from Parabricks `--tmp-dir`. | | `--DEVEL_STAR` | No direct equivalent | Upstream development option not exposed by `pbrun starfusion`. | | `--show_full_usage_info` | No direct equivalent | Upstream help/usage option not exposed by `pbrun starfusion`. | | `--help`, `-h` | No direct equivalent | Use `pbrun starfusion --help` or the selected Parabricks tool reference instead. | If a STAR-Fusion option is not listed above, assume there is no direct `pbrun starfusion` flag until the selected Parabricks version's tool reference says otherwise. ## starfusion Options Without STAR-Fusion Equivalents These options are Parabricks runtime, container, logging, or filesystem wrapper options and are not STAR-Fusion CLI options already covered in the mapping above. | `pbrun starfusion` option | Why it has no STAR-Fusion equivalent | | --- | --- | | `--logfile` | Parabricks wrapper log file path; upstream STAR-Fusion writes to standard output/error and its output directory. | | `--x3` | Parabricks option to show full command-line arguments. | | `--with-petagene-dir` | Parabricks/PetaGene integration. | | `--keep-tmp` | Parabricks temporary-file retention. Upstream STAR-Fusion has `--tmpdir`, but not this wrapper cleanup flag. | | `--no-seccomp-override` | Parabricks Docker/seccomp behavior. | | `--preserve-file-symlinks` | Parabricks path handling behavior. | ## Validation - Chimeric junction input and genome resource library paths resolve inside the container. - Input format is compatible with STAR-Fusion expectations. - Output directory contains expected STAR-Fusion result files. - Logs do not show missing genome resource library, malformed junction input, mount, CUDA, or memory errors. ## Guardrails - Do not treat `starfusion` as a raw FASTQ aligner. - Do not invent genome resource library paths or compatibility. - Do not over-interpret fusion calls without project-specific filtering and validation criteria. ## Key References - <https://docs.nvidia.com/clara/parabricks/latest/documentation/tooldocs/man_starfusion.html> - <https://raw.githubusercontent.com/STAR-Fusion/STAR-Fusion/master/STAR-Fusion>
SHA-256: f29ee25a064e8c19cf390924110f783007f27329a694f002bb29395e10878d50