{
  "title": "Sequence reverse complement",
  "human_url": "https://happytails.ai/en/developer-tools/sequence-reverse-complement/",
  "agent_url": "https://happytails.ai/agents/en/developer-tools/sequence-reverse-complement/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/developer-tools/sequence-reverse-complement.md",
  "content": "Sequence reverse complement\nReverse-complement DNA or RNA FASTA sequences using every IUPAC ambiguity symbol, with original case and headers retained.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Sequence reverse complement\nPaste FASTA and choose DNA or RNA.\nEnable literal gaps only for aligned input.\nReview sequence lengths and download the reverse-complemented FASTA and report.\nUseful next steps\nFASTA validator\nFASTA sequence extractor\nSequence motif finder\nAmbiguity codes are complemented\nR and Y exchange, M and K exchange, B and V exchange, and D and H exchange. S, W and N remain themselves. DNA pairs A with T; RNA pairs A with U.\nAnnotations are not transformed\nHeaders retain their original text. Biological feature coordinates in those headers are not updated, and no biological strand is inferred.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "FASTA validator",
      "url": "https://happytails.ai/en/developer-tools/fasta-validator/"
    },
    {
      "name": "FASTA sequence extractor",
      "url": "https://happytails.ai/en/developer-tools/fasta-sequence-extractor/"
    },
    {
      "name": "Sequence motif finder",
      "url": "https://happytails.ai/en/developer-tools/sequence-motif-finder/"
    }
  ],
  "tool": {
    "id": "sequence-reverse-complement",
    "category": "developer-tools",
    "built": true,
    "requirements": "Reverse-complements every FASTA record using the complete IUPAC DNA or RNA ambiguity alphabet. DNA uses A/T and RNA uses A/U. Case and optional - gaps are preserved; gaps reverse with the sequence. Original identifiers and full headers are retained. Header annotations and biological feature coordinates are not rewritten. This does not translate proteins or infer the biological strand. Runs locally without uploads or database lookup. Limit: 500000 combined input characters, 2000 records, 2000 validation issues, a 1000-symbol motif, 20000 matches and 10000000 symbol comparisons. Exceeding a limit rejects the complete report. Each export is limited to 3000000 characters; typed CSV allows 200000 values. Preview shows 200 rows. Processing stops after 10 seconds.",
    "implementation": {
      "fields": [
        {
          "key": "alphabet",
          "label": "Sequence alphabet",
          "value": "dna",
          "type": "select",
          "values": [
            "dna",
            "rna"
          ]
        },
        {
          "key": "allowGaps",
          "label": "Allow alignment gaps (-)",
          "value": "false",
          "type": "select",
          "values": [
            "false",
            "true"
          ]
        }
      ],
      "registrationFamily": "sequence-tools",
      "presentation": "metrics",
      "note": "Reverse-complements every FASTA record using the complete IUPAC DNA or RNA ambiguity alphabet. DNA uses A/T and RNA uses A/U. Case and optional - gaps are preserved; gaps reverse with the sequence. Original identifiers and full headers are retained. Header annotations and biological feature coordinates are not rewritten. This does not translate proteins or infer the biological strand. Runs locally without uploads or database lookup. Limit: 500000 combined input characters, 2000 records, 2000 validation issues, a 1000-symbol motif, 20000 matches and 10000000 symbol comparisons. Exceeding a limit rejects the complete report. Each export is limited to 3000000 characters; typed CSV allows 200000 values. Preview shows 200 rows. Processing stops after 10 seconds.",
      "inputMaxLength": 500000,
      "inputErrorCode": "SEQUENCE_INPUT",
      "example": {
        "input": ">sample unchanged description\nACGTrynACGT\n",
        "options": {
          "alphabet": "dna",
          "allowGaps": "false"
        }
      },
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 500000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Up to 500,000 characters. Review the settings before running.",
        "action": null
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Sequence reverse complement\n\n- Human page: https://happytails.ai/en/developer-tools/sequence-reverse-complement/\n- Markdown: https://happytails.ai/en/developer-tools/sequence-reverse-complement.md\n- Structured JSON: https://happytails.ai/agents/en/developer-tools/sequence-reverse-complement/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `sequence-reverse-complement` |\n| Category | developer-tools |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nReverse-complements every FASTA record using the complete IUPAC DNA or RNA ambiguity alphabet. DNA uses A/T and RNA uses A/U. Case and optional - gaps are preserved; gaps reverse with the sequence. Original identifiers and full headers are retained. Header annotations and biological feature coordinates are not rewritten. This does not translate proteins or infer the biological strand. Runs locally without uploads or database lookup. Limit: 500000 combined input characters, 2000 records, 2000 validation issues, a 1000-symbol motif, 20000 matches and 10000000 symbol comparisons. Exceeding a limit rejects the complete report. Each export is limited to 3000000 characters; typed CSV allows 200000 values. Preview shows 200 rows. Processing stops after 10 seconds.\n\n### Inputs and settings\n\nText input: Your text.\n\nExample or placeholder shown in the interface (not a validated fixture):\n\n```text\nType or paste your input…\n```\n\nUp to 500,000 characters. Review the settings before running.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `alphabet` | Sequence alphabet | select | \"dna\" | Allowed: dna, rna |\n| `allowGaps` | Allow alignment gaps (-) | select | \"false\" | Allowed: false, true |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nReverse-complements every FASTA record using the complete IUPAC DNA or RNA ambiguity alphabet. DNA uses A/T and RNA uses A/U. Case and optional - gaps are preserved; gaps reverse with the sequence. Original identifiers and full headers are retained. Header annotations and biological feature coordinates are not rewritten. This does not translate proteins or infer the biological strand. Runs locally without uploads or database lookup. Limit: 500000 combined input characters, 2000 records, 2000 validation issues, a 1000-symbol motif, 20000 matches and 10000000 symbol comparisons. Exceeding a limit rejects the complete report. Each export is limited to 3000000 characters; typed CSV allows 200000 values. Preview shows 200 rows. Processing stops after 10 seconds.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"sequence-reverse-complement\",\n  \"category\": \"developer-tools\",\n  \"built\": true,\n  \"requirements\": \"Reverse-complements every FASTA record using the complete IUPAC DNA or RNA ambiguity alphabet. DNA uses A/T and RNA uses A/U. Case and optional - gaps are preserved; gaps reverse with the sequence. Original identifiers and full headers are retained. Header annotations and biological feature coordinates are not rewritten. This does not translate proteins or infer the biological strand. Runs locally without uploads or database lookup. Limit: 500000 combined input characters, 2000 records, 2000 validation issues, a 1000-symbol motif, 20000 matches and 10000000 symbol comparisons. Exceeding a limit rejects the complete report. Each export is limited to 3000000 characters; typed CSV allows 200000 values. Preview shows 200 rows. Processing stops after 10 seconds.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"alphabet\",\n        \"label\": \"Sequence alphabet\",\n        \"value\": \"dna\",\n        \"type\": \"select\",\n        \"values\": [\n          \"dna\",\n          \"rna\"\n        ]\n      },\n      {\n        \"key\": \"allowGaps\",\n        \"label\": \"Allow alignment gaps (-)\",\n        \"value\": \"false\",\n        \"type\": \"select\",\n        \"values\": [\n          \"false\",\n          \"true\"\n        ]\n      }\n    ],\n    \"registrationFamily\": \"sequence-tools\",\n    \"presentation\": \"metrics\",\n    \"note\": \"Reverse-complements every FASTA record using the complete IUPAC DNA or RNA ambiguity alphabet. DNA uses A/T and RNA uses A/U. Case and optional - gaps are preserved; gaps reverse with the sequence. Original identifiers and full headers are retained. Header annotations and biological feature coordinates are not rewritten. This does not translate proteins or infer the biological strand. Runs locally without uploads or database lookup. Limit: 500000 combined input characters, 2000 records, 2000 validation issues, a 1000-symbol motif, 20000 matches and 10000000 symbol comparisons. Exceeding a limit rejects the complete report. Each export is limited to 3000000 characters; typed CSV allows 200000 values. Preview shows 200 rows. Processing stops after 10 seconds.\",\n    \"inputMaxLength\": 500000,\n    \"inputErrorCode\": \"SEQUENCE_INPUT\",\n    \"example\": {\n      \"input\": \">sample unchanged description\\nACGTrynACGT\\n\",\n      \"options\": {\n        \"alphabet\": \"dna\",\n        \"allowGaps\": \"false\"\n      }\n    },\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 500000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Up to 500,000 characters. Review the settings before running.\",\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nReverse-complement DNA or RNA FASTA sequences using every IUPAC ambiguity symbol, with original case and headers retained.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Sequence reverse complement\n\n1. Paste FASTA and choose DNA or RNA.\n2. Enable literal gaps only for aligned input.\n3. Review sequence lengths and download the reverse-complemented FASTA and report.\n\n## Useful next steps\n\n- [FASTA validator](https://happytails.ai/en/developer-tools/fasta-validator/) ([Markdown](https://happytails.ai/en/developer-tools/fasta-validator.md))\n\n- [FASTA sequence extractor](https://happytails.ai/en/developer-tools/fasta-sequence-extractor/) ([Markdown](https://happytails.ai/en/developer-tools/fasta-sequence-extractor.md))\n\n- [Sequence motif finder](https://happytails.ai/en/developer-tools/sequence-motif-finder/) ([Markdown](https://happytails.ai/en/developer-tools/sequence-motif-finder.md))\n\n## Ambiguity codes are complemented\n\nR and Y exchange, M and K exchange, B and V exchange, and D and H exchange. S, W and N remain themselves. DNA pairs A with T; RNA pairs A with U.\n\n### Annotations are not transformed\n\nHeaders retain their original text. Biological feature coordinates in those headers are not updated, and no biological strand is inferred.\n"
}