Modal

ls_sequence_alignment

Run sequence alignment. Use this tool when the user wants to align biological sequences directly. The Python service validates the request shape and forwards the payload to the downstream Java MCP resource. Args: sequence_type: str, sequence type, supports "NUCLEOTIDE" and "PROTEIN" alignment_type: str, alignment type, supports "PSA" for pairwise sequence alignment and "MSA" for multiple sequence alignment sequences: List[str], target sequences for PSA, or all sequences to align for MSA. MSA requires at least 2 sequences. query_sequence: str, required for PSA pairwise sequence alignment Returns: Dict[str, Any]: Response body: { "msa_hits": [ { "hit_start": 1, "hit_end": 12, "alignment_text": "MSTNPKPQRKTK", "sequence_name": "Seq_1" } ], "psa_hits": [ { "query_start": 1, "query_end": 12, "target_start": 1, "target_end": 12, "alignment_text": "..." } ] } - msa_hits: multiple sequence alignment rows for MSA requests. - psa_hits: pairwise alignment rows for PSA requests. - the response contains one of the two fields depending on alignment_type.

Remote openpatsnap/patsnap-biology-modality

Remote (network-hosted)

Other tools also called ls_sequence_alignment? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "sequences": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Sequences",
      "minItems": 1,
      "description": "Target sequences for PSA, or all sequences to align for MSA."
    },
    "sequence_type": {
      "type": "string",
      "title": "Sequence Type",
      "description": "Sequence type. Supported values: NUCLEOTIDE, PROTEIN."
    },
    "alignment_type": {
      "type": "string",
      "title": "Alignment Type",
      "description": "Alignment type. Supported values: PSA, MSA."
    },
    "query_sequence": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query Sequence",
      "description": "Query sequence. Required for PSA pairwise sequence alignment."
    }
  }
}
          

Provider

Modal →