Skill: rpsblast-assistant
Use When
- A user wants to install or prepare standalone
rpsblast,rpstblastn, orrpsbproc. - A user wants the agent to download and unpack the CDD databases or
rpsbprocannotation files. - A user wants to run CDD/RPS-BLAST locally from natural language instead of hand-writing commands.
- A user needs help understanding which files are required, how to structure the project folder, or what output formats are produced.
- A user wants the post-processed tabular annotations from
rpsbproc, not just raw BLAST output.
Inputs
- Required:
- query FASTA path, sequence text, or a request to prepare the environment only
- Optional:
- query type:
proteinornucleotide - database prefix, usually
db/Cdd - output prefix
- E-value threshold
- whether to run
rpsbproc - location of local binaries or downloaded archives
- query type:
Workflow
- If the request is about installation or setup, read rpsblast-reference.md.
- Prefer the canonical local pipeline:
scripts/run.sh sourcesto print acquisition URLs.scripts/run.sh download --db-dir db --data-dir datato fetch and unpack the CDD database and annotation files.scripts/run.sh check --db-prefix <prefix> --data-dir <dir>to verify a local setup.scripts/run.sh run --query <fasta> --db-prefix <prefix> --out-prefix <prefix>to execute the pipeline.
- Translate natural language into explicit parameters:
- default to
proteinunless the user clearly asks for nucleotide queries - use
rpsblastfor proteins andrpstblastnfor nucleotide input - default E-value to
0.01for the paper's standard local workflow unless the user requests another threshold - default to post-processing with
rpsbproc - for database download requests, default to
--db-set minimalunless the user asks for the full external-source collection
- default to
- If
rpsbprocwill be used, forcerpsblast/rpstblastnoutput to ASN.1 archive format with-outfmt 11and save it as<prefix>.asn. - Run
rpsbprocon the ASN.1 file to produce<prefix>.out. - Report:
- exact command(s) run
- generated file paths
- whether the final result is raw ASN.1 archive output or post-processed tab-delimited annotations
- for
rpsbprocoutput, mention that the file begins with comment/template lines starting with#and then a structured data section - a brief interpretation of the result file
- If the environment is incomplete, stop and tell the user exactly which binary, database, or data file is missing.
Output Contract
- Setup guidance that names the source URLs for:
- BLAST+ executables containing
rpsblast/rpstblastn rpsbproc- CDD
little_endiandatabases - CDD annotation/data files
- BLAST+ executables containing
- A runnable command line or a completed execution using
scripts/run.sh - For download flows, a populated
db/and optionallydata/directory, plus the original archives under a download cache directory - Generated files, typically:
<prefix>.asn: ASN.1 archive output fromrpsblast/rpstblastn<prefix>.out: tab-delimited flat file fromrpsbproc, with a comment/template header and a data section delimited byDATAandENDDATA
- A short natural-language summary of what the output means
Limits
- This skill does not bundle NCBI binaries or CDD databases.
- The download helper fetches official public files but still depends on local network access and the NCBI FTP/HTTPS endpoints being reachable.
rpsbprocrequires rawrpsblast/rpstblastnoutput in ASN.1 archive format; plain text or tabular BLAST output is not sufficient for post-processing.rpsbprocoutput is not just a plain spreadsheet dump; parsers should ignore leading#comment/template lines and read the structured data section.- The paper notes that standalone
rpsblastis time-consuming for large batches; use expectations accordingly. - Common failure cases:
- downloading only databases but forgetting the annotation files needed by
rpsbproc - using the wrong executable for query type
- pointing
-dbat the directory instead of the database prefix - forgetting the CDD annotation files required by
rpsbproc - emitting the wrong
-outfmtwhenrpsbprocis needed - assuming the final
.outfile is BLAST pairwise text rather than tab-delimited annotations
- downloading only databases but forgetting the annotation files needed by
微信扫一扫