Home

Bioinformatics

This page lists the safe and destructive patterns in the Sequence Tools shell guard pack. See Shell Tool for how these patterns are evaluated.

Sequence Tools

Pack ID: bioinformatics.sequence_tools

Guards against destructive bioinformatics sequence analysis operations

Safe patterns

Rule IDPattern
bioinformatics.sequence_tools.samtools_view^samtools\s+view\b[^|><]*$
bioinformatics.sequence_tools.samtools_flagstat^samtools\s+flagstat\b[^|><]*$
bioinformatics.sequence_tools.samtools_stats^samtools\s+stats\b[^|><]*$
bioinformatics.sequence_tools.samtools_idxstats^samtools\s+idxstats\b[^|><]*$
bioinformatics.sequence_tools.samtools_depth^samtools\s+depth\b[^|><]*$
bioinformatics.sequence_tools.bcftools_view^bcftools\s+view\b[^|><]*$
bioinformatics.sequence_tools.bcftools_query^bcftools\s+query\b[^|><]*$
bioinformatics.sequence_tools.bcftools_stats^bcftools\s+stats\b[^|><]*$
bioinformatics.sequence_tools.bedtools_intersect^bedtools\s+intersect\b[^|><]*$
bioinformatics.sequence_tools.bedtools_coverage^bedtools\s+coverage\b[^|><]*$
bioinformatics.sequence_tools.fastqc^fastqc\b[^|><]*$
bioinformatics.sequence_tools.multiqc^multiqc\b[^|><]*$
bioinformatics.sequence_tools.blastn^blastn\b[^|><]*$
bioinformatics.sequence_tools.blastp^blastp\b[^|><]*$
bioinformatics.sequence_tools.blastx^blastx\b[^|><]*$
bioinformatics.sequence_tools.feature_counts^featureCounts\b[^|><]*$
bioinformatics.sequence_tools.htseq_count^htseq-count\b[^|><]*$

Destructive patterns

Rule IDReasonSuggestionConfidence
bioinformatics.sequence_tools.samtools_reheaderReplaces BAM/CRAM header in-place, potentially corrupting alignment metadataBackup the file first; verify the new header with samtools view -HMedium
bioinformatics.sequence_tools.bcftools_annotate_removeRemoves annotations from VCF/BCF files, which may discard important variant metadataBackup the VCF file first; review annotations with bcftools queryMedium
bioinformatics.sequence_tools.bgzip_forceForce-compresses files, overwriting existing .gz outputs without confirmationRemove the -f flag; rename or backup existing compressed files firstMedium
bioinformatics.sequence_tools.tabix_forceForce-rebuilds index files, overwriting existing indicesBackup existing index files firstMedium

This documentation was generated from rust/agents/src/tool_guard/shell/packs/bioinformatics.rs.

© 2026 Stencila