{"uid":"cap_1diVAsbQp7iJX6135Slk-","slug":"phage-sequence-spacer-hamming-distance-matcher-bc6f2b78","name":"Phage Sequence Spacer Hamming Distance Matcher","description":"Slides each caller-supplied spacer over a bounded phage sequence in both orientations, records its minimum Hamming distance and reports matches within a caller-selected mismatch threshold. It does not account for PAMs, phage taxonomy, infection biology, escape, host range or therapeutic suitability.","url":"https://bio.halowerk.com/v1/phage-matching","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"spacers":{"type":"array","items":{"type":"object","required":["id","sequence"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"sequence":{"type":"string","pattern":"^[ACGT]+$","maxLength":60,"minLength":15}},"additionalProperties":false},"maxItems":50,"minItems":1},"max_mismatches":{"type":"integer","maximum":5,"minimum":0},"phage_sequence":{"type":"string","pattern":"^[ACGT]+$","maxLength":10000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gUE4MpSX6LLwJziuXLfYL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Slides each caller-supplied CRISPR spacer over a phage sequence in both orientations and reports minimum Hamming distances within a caller-selected mismatch threshold","exampleAgentPrompt":"Scan these 3 spacer sequences — ACGTACGTACGTACGT (id: sp1), TTGCAACGTTAGCCAT (id: sp2), GCATGCATGCATGCAT (id: sp3) — against this phage genome sequence and report any hits within 2 mismatches: ACGTACGTACGTACGTTTGCAACGTTAGCCATGCATGCATGCATGCAT.","exampleUseCases":[{"title":"CRISPR guide screening against phage","prompt":"I have 10 candidate CRISPR spacers and a 5000-bp phage genome sequence — can you slide each spacer across both strands and tell me which ones match within 3 mismatches, along with their minimum Hamming distances?"},{"title":"Phage escape variant detection","prompt":"Check whether these spacers (id: ctrl1, sequence: ACGTACGTACGTACGT and id: ctrl2, sequence: TTGCAACGTTAGCCAT) still match this updated phage sequence ACGTACGGACGTACGTTTGCAACGTTAGCCAT at up to 1 mismatch — I want to know if the phage has drifted away from our targeting sites."},{"title":"Batch spacer specificity check","prompt":"I need to verify that none of my 5 therapeutic spacers hit this off-target phage genome: sp1=ACGTACGTACGTACGT, sp2=GCATGCATGCATGCAT, sp3=TTGCAACGTTAGCCAT, sp4=AAAAGGGGCCCCTTTT, sp5=CCCCAAAATTTTGGGG — flag anything with 0 mismatches against this sequence: ACGTACGTACGTACGTTTTTCCCCAAAATTTTGGGG."}],"resultDescription":"For each supplied spacer, the endpoint returns its ID, the minimum Hamming distance found anywhere across the phage sequence (in both forward and reverse-complement orientations), and all match positions where the distance falls at or below the requested mismatch threshold.","failureModes":["Spacer sequence contains non-ACGT characters — rejected with validation error","Spacer sequence shorter than 15 or longer than 60 nucleotides — rejected","Phage sequence longer than 10,000 bp — rejected","More than 50 spacers submitted in a single call — rejected","max_mismatches outside 0–5 range — rejected","No matches found within threshold — returns empty match list (not an error)","Payment failure — 402 response requiring x402 payment header"],"whenToPreferThis":"Choose this endpoint when you need a fast, strand-aware Hamming distance scan of one or more CRISPR spacers against a single phage DNA sequence with a tunable mismatch cutoff. It is not a substitute for full CRISPR off-target tools that account for PAM sites, seed regions, or bulges, and it does not provide any biological interpretation of matches (taxonomy, pathogenicity, therapeutic suitability). Best for rapid computational triage of spacer candidates before more expensive wet-lab or full-genome analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:57.876Z","isFirstParty":false}