local-sequence-availability-assessment
License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution.
Summary
Identify and catalog sequence files in a repository's local genbanks directory that are not publicly available in NCBI's GenBank/RefSeq databases. This skill is essential for understanding the scope of non-redundant sequences maintained by secondary metabolite repositories and for tracking curation inventory.
When to use
Apply this skill when you need to determine which sequence files in a repository like MIBiG are unique to that resource and not mirrored in NCBI public databases. Use it to audit local-only holdings, prioritize curation efforts, or document the added value of a repository's sequence collection beyond public archives.
When NOT to use
- Input is a single, already-identified sequence: this skill is designed for bulk directory assessment, not validation of individual entries.
- NCBI database access is unavailable or severely rate-limited: the skill requires reliable cross-reference queries; offline or restricted environments will produce incomplete results.
- The goal is to retrieve sequences themselves rather than audit availability: this skill catalogs status, not downloads or extracts the actual sequence data.
Inputs
- genbanks directory (local repository file tree)
- sequence file metadata (filename, entry identifiers, accession numbers if present)
- NCBI GenBank/RefSeq database (via API or local copy)
Outputs
- structured manifest (CSV or JSON) with columns: file path, sequence identifier, GenBank accession, local-only status flag
- inventory of non-NCBI sequences with identifiers and metadata
How to apply
Scan the local genbanks directory to enumerate all sequence files and extract their identifiers and metadata. Cross-reference each file's accession identifier (if present) against NCBI GenBank/RefSeq using NCBI E-utilities API queries or local BLAST searches to test for public availability. For files without explicit accessions, attempt sequence similarity matching via BLAST to infer whether the sequence exists in public databases under a different identifier. Compile results into a structured manifest (CSV or JSON) recording the file path, sequence identifier, GenBank accession status, and a binary local-only flag. Evaluate correctness by confirming that files flagged as local-only return no hits in NCBI queries and that accession cross-references are current.
Related tools
- NCBI E-utilities (Query NCBI GenBank/RefSeq accession databases to determine public availability of sequence identifiers)
- BLAST (Perform sequence similarity searches to infer public availability status for sequences without explicit accessions)
Evaluation signals
- Manifest completeness: all files in the genbanks directory are listed with non-null file path, sequence identifier, and local-only flag.
- Accession validation: files flagged with a GenBank accession number are confirmed to resolve in NCBI E-utilities queries; files without accessions show zero BLAST hits in public databases.
- No false negatives: spot-check a sample of files flagged as local-only by independent NCBI search to confirm they are genuinely absent from public archives.
- Schema consistency: output CSV/JSON conforms to declared column structure with proper data types (e.g., boolean for local-only flag).
- Reproducibility: re-running the workflow on the same genbanks directory snapshot produces identical manifest output.
Limitations
- Accession-based queries assume file metadata includes valid NCBI identifiers; poorly annotated or legacy entries may lack accessions, requiring fallback to BLAST and increasing runtime.
- BLAST sequence similarity matching is probabilistic and may miss distant homologs or sequences that have been heavily edited since deposition in NCBI; results are only as sensitive as the search parameters (e.g., e-value threshold).
- NCBI databases are dynamic: accessions may be deprecated, merged, or withdrawn; a sequence flagged as local-only at time T1 may later appear in NCBI, requiring periodic re-assessment.
- The README indicates 'a handful' of local-only sequences in MIBiG; this skill is most useful for larger or rapidly evolving repositories where manual audit is infeasible.
Evidence
- [readme] The
genbanks directory contains a handful of sequence files that are not available from NCBI's GenBank/RefSeq databases.: "The genbanks directory contains a handful of sequence files that are not available from NCBI's GenBank/RefSeq databases."
- [other] Cross-reference each file against NCBI GenBank/RefSeq accession identifiers (using NCBI E-utilities or local BLAST) to determine availability status.: "Cross-reference each file against NCBI GenBank/RefSeq accession identifiers (using NCBI E-utilities or local BLAST) to determine availability status."
- [other] Compile results into a structured manifest recording filename, entry identifier, accession (if present), and local-only status flag.: "Compile results into a structured manifest recording filename, entry identifier, accession (if present), and local-only status flag."
- [other] Output the manifest as a CSV or JSON file with columns for file path, sequence identifier, GenBank accession, and availability (local-only or public).: "Output the manifest as a CSV or JSON file with columns for file path, sequence identifier, GenBank accession, and availability (local-only or public)."
- [readme] entry status is now tracked via the
cluster.status field: "entry status is now tracked via the cluster.status field"
1---2name: local-sequence-availability-assessment3description: Use when you need to determine which sequence files in a repository like MIBiG are unique to that resource and not mirrored in NCBI public databases.4license: CC-BY-4.05---67# local-sequence-availability-assessment89> **License: restricted** — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->10## Summary1112Identify and catalog sequence files in a repository's local genbanks directory that are not publicly available in NCBI's GenBank/RefSeq databases. This skill is essential for understanding the scope of non-redundant sequences maintained by secondary metabolite repositories and for tracking curation inventory.1314## When to use1516Apply this skill when you need to determine which sequence files in a repository like MIBiG are unique to that resource and not mirrored in NCBI public databases. Use it to audit local-only holdings, prioritize curation efforts, or document the added value of a repository's sequence collection beyond public archives.1718## When NOT to use1920- Input is a single, already-identified sequence: this skill is designed for bulk directory assessment, not validation of individual entries.21- NCBI database access is unavailable or severely rate-limited: the skill requires reliable cross-reference queries; offline or restricted environments will produce incomplete results.22- The goal is to retrieve sequences themselves rather than audit availability: this skill catalogs status, not downloads or extracts the actual sequence data.2324## Inputs2526- genbanks directory (local repository file tree)27- sequence file metadata (filename, entry identifiers, accession numbers if present)28- NCBI GenBank/RefSeq database (via API or local copy)2930## Outputs3132- structured manifest (CSV or JSON) with columns: file path, sequence identifier, GenBank accession, local-only status flag33- inventory of non-NCBI sequences with identifiers and metadata3435## How to apply3637Scan the local genbanks directory to enumerate all sequence files and extract their identifiers and metadata. Cross-reference each file's accession identifier (if present) against NCBI GenBank/RefSeq using NCBI E-utilities API queries or local BLAST searches to test for public availability. For files without explicit accessions, attempt sequence similarity matching via BLAST to infer whether the sequence exists in public databases under a different identifier. Compile results into a structured manifest (CSV or JSON) recording the file path, sequence identifier, GenBank accession status, and a binary local-only flag. Evaluate correctness by confirming that files flagged as local-only return no hits in NCBI queries and that accession cross-references are current.3839## Related tools4041- **NCBI E-utilities** (Query NCBI GenBank/RefSeq accession databases to determine public availability of sequence identifiers)42- **BLAST** (Perform sequence similarity searches to infer public availability status for sequences without explicit accessions)4344## Evaluation signals4546- Manifest completeness: all files in the genbanks directory are listed with non-null file path, sequence identifier, and local-only flag.47- Accession validation: files flagged with a GenBank accession number are confirmed to resolve in NCBI E-utilities queries; files without accessions show zero BLAST hits in public databases.48- No false negatives: spot-check a sample of files flagged as local-only by independent NCBI search to confirm they are genuinely absent from public archives.49- Schema consistency: output CSV/JSON conforms to declared column structure with proper data types (e.g., boolean for local-only flag).50- Reproducibility: re-running the workflow on the same genbanks directory snapshot produces identical manifest output.5152## Limitations5354- Accession-based queries assume file metadata includes valid NCBI identifiers; poorly annotated or legacy entries may lack accessions, requiring fallback to BLAST and increasing runtime.55- BLAST sequence similarity matching is probabilistic and may miss distant homologs or sequences that have been heavily edited since deposition in NCBI; results are only as sensitive as the search parameters (e.g., e-value threshold).56- NCBI databases are dynamic: accessions may be deprecated, merged, or withdrawn; a sequence flagged as local-only at time T1 may later appear in NCBI, requiring periodic re-assessment.57- The README indicates 'a handful' of local-only sequences in MIBiG; this skill is most useful for larger or rapidly evolving repositories where manual audit is infeasible.5859## Evidence6061- [readme] The `genbanks` directory contains a handful of sequence files that are not available from NCBI's GenBank/RefSeq databases.: "The `genbanks` directory contains a handful of sequence files that are not available from NCBI's GenBank/RefSeq databases."62- [other] Cross-reference each file against NCBI GenBank/RefSeq accession identifiers (using NCBI E-utilities or local BLAST) to determine availability status.: "Cross-reference each file against NCBI GenBank/RefSeq accession identifiers (using NCBI E-utilities or local BLAST) to determine availability status."63- [other] Compile results into a structured manifest recording filename, entry identifier, accession (if present), and local-only status flag.: "Compile results into a structured manifest recording filename, entry identifier, accession (if present), and local-only status flag."64- [other] Output the manifest as a CSV or JSON file with columns for file path, sequence identifier, GenBank accession, and availability (local-only or public).: "Output the manifest as a CSV or JSON file with columns for file path, sequence identifier, GenBank accession, and availability (local-only or public)."65- [readme] entry status is now tracked via the `cluster.status` field: "entry status is now tracked via the `cluster.status` field"