pacsomatic
Pass
Audited by Gen Agent Trust Hub on Jun 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The main helper script
scripts/run_pacsomatic.pyexecutes various system commands to manage the execution environment and pipeline run. - It uses
subprocessto check the version ofjavaand to managecondaormambaenvironments. - It optionally clones the pipeline repository using
gitif a local checkout is not provided. - It invokes Nextflow to execute the bioinformatics pipeline.
- [COMMAND_EXECUTION]: The skill facilitates interaction with HPC job schedulers.
- It generates and submits launch scripts using scheduler-specific commands such as
bsub(LSF),sbatch(Slurm), andqsub(PBS/SGE). - The commands are constructed using
shlex.quoteto prevent command injection from file paths. - [EXTERNAL_DOWNLOADS]: The skill is designed to download the
nf-core/pacsomaticpipeline code and associated test datasets from the official nf-core GitHub repository. - [REMOTE_CODE_EXECUTION]: By design, the skill executes Nextflow pipelines, which are remote-origin scripts. This is the primary and intended functionality of the skill for performing genomic analysis.
Audit Metadata