CtrlK
BlogDocsLog inGet started
Tessl Logo

sequence-alignment

Trigger when user needs to align DNA/protein sequences, compare biological sequences, search for similar sequences in databases, or perform BLAST-based similarity analysis. Use for bioinformatics sequence comparison tasks.

Install with Tessl CLI

npx tessl i github:aipoch/medical-research-skills --skill sequence-alignment
What are skills?

84

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Sequence Alignment

A skill for performing sequence alignment using NCBI BLAST API. Supports nucleotide and protein sequence comparison against major biological databases.

Features

  • BLAST API Integration: Query NCBI BLAST service for sequence similarity search
  • Multiple BLAST Programs: blastn, blastp, blastx, tblastn, tblastx
  • Alignment Visualization: Display results in human-readable format
  • Database Support: nr, nt, swissprot, refseq, pdb, and more

Usage

python scripts/main.py --sequence "ATGCGTACGTAGCTAGCTAG" --program blastn --database nt --output results.txt

Parameters

ParameterDescriptionRequired
--sequenceQuery sequence (DNA/Protein)Yes
--programBLAST program: blastn, blastp, blastx, tblastn, tblastxYes
--databaseTarget database: nr, nt, swissprot, pdb, refseq_proteinYes
--outputOutput file pathNo
--formatOutput format: text, json, csvNo (default: text)
--max_hitsMaximum number of hits to returnNo (default: 10)
--evalueE-value thresholdNo (default: 10)

Technical Difficulty

Medium - Requires understanding of BLAST algorithm, API handling with retry logic, and biological sequence formats.

BLAST Programs Reference

ProgramQuery TypeDatabase TypeUse Case
blastnNucleotideNucleotideDNA vs DNA
blastpProteinProteinProtein vs Protein
blastxNucleotide (translated)ProteinDNA vs Protein
tblastnProteinNucleotide (translated)Protein vs DNA
tblastxNucleotide (translated)Nucleotide (translated)Translated DNA vs DNA

Example Workflows

DNA Sequence Similarity Search

python scripts/main.py --sequence "ATGGCCCTGTGGATGCGCTTCTTAGTCG" --program blastn --database nt --max_hits 5

Protein Sequence Alignment

python scripts/main.py --sequence "MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQAPILSRVGDGT" --program blastp --database swissprot --evalue 0.001

Output Format

Results include:

  • Query sequence info
  • Hit definitions and accession numbers
  • Alignment scores (bit score, e-value)
  • Percent identity and similarity
  • Alignment visualization with match/mismatch highlighting

References

  • BLAST Documentation
  • NCBI BLAST API Guide

Risk Assessment

Risk IndicatorAssessmentLevel
Code ExecutionPython scripts with toolsHigh
Network AccessExternal API callsHigh
File System AccessRead/write dataMedium
Instruction TamperingStandard prompt guidelinesLow
Data ExposureData handled securelyMedium

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information
  • Prompt injection protections in place
  • API requests use HTTPS only
  • Input validated against allowed patterns
  • API timeout and retry mechanisms implemented
  • Output directory restricted to workspace
  • Script execution in sandboxed environment
  • Error messages sanitized (no internal paths exposed)
  • Dependencies audited
  • No exposure of internal service architecture

Prerequisites

No additional Python packages required.

Evaluation Criteria

Success Metrics

  • Successfully executes main functionality
  • Output meets quality standards
  • Handles edge cases gracefully
  • Performance is acceptable

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:
    • Performance optimization
    • Additional feature support
Repository
aipoch/medical-research-skills
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.