dna-rna-sequence-analysis

Analyze DNA and RNA sequences including molecular weight calculation, reverse complement generation, and oligonucleotide properties.

157 stars

Best use case

dna-rna-sequence-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Analyze DNA and RNA sequences including molecular weight calculation, reverse complement generation, and oligonucleotide properties.

Teams using dna-rna-sequence-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/dna-rna-sequence-analysis/SKILL.md --create-dirs "https://raw.githubusercontent.com/InternScience/DrClaw/main/drclaw/agent_hub/templates/biochemistry/skills/dna-rna-sequence-analysis/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/dna-rna-sequence-analysis/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How dna-rna-sequence-analysis Compares

Feature / Agentdna-rna-sequence-analysisStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Analyze DNA and RNA sequences including molecular weight calculation, reverse complement generation, and oligonucleotide properties.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# DNA/RNA Sequence Analysis

## Usage

### 1. MCP Server Definition

Use the same `BiologyToolsClient` class as defined in the protein-properties-calculation skill.

### 2. DNA/RNA Sequence Analysis Workflow

This workflow analyzes DNA and RNA sequences, calculating molecular weight, GC content, melting temperature, and generating reverse complements.

**Workflow Steps:**

1. **Calculate DNA Molecular Weight** - Compute molecular weight for DNA sequences
2. **Calculate Oligonucleotide Properties** - Compute GC content, Tm, extinction coefficient for RNA
3. **Generate Reverse Complement** - Create reverse complement sequence

**Implementation:**

```python
## Initialize client
HEADERS = {"SCP-HUB-API-KEY": "<your-api-key>"}

client = BiologyToolsClient(
    "https://scp.intern-ai.org.cn/api/v1/mcp/29/SciToolAgent-Bio",
    HEADERS
)

if not await client.connect():
    print("connection failed")
    exit()

print("=== DNA/RNA Sequence Analysis ===\n")

## Step 1: Calculate DNA molecular weight
print("Step 1: DNA Molecular Weight")
dna_sequence = "ATGATGTAACGTAGCTAG"
sequence_para = f"seq1:{dna_sequence}.strand=single,topology=linear"

result = await client.client.call_tool(
    "DNAMolecularWeightCalculator",
    arguments={"sequence_para": sequence_para}
)
result_data = client.parse_result(result)
print(f"DNA Sequence: {dna_sequence}")
print(f"Result:\n{result_data}\n")

## Step 2: Calculate oligonucleotide (RNA) properties
print("Step 2: Oligonucleotide (RNA) Properties")
rna_sequence = "AUGAUGUAACGUAGCUAG"

result = await client.client.call_tool(
    "CalculatorOligonucleotide",
    arguments={"sq": rna_sequence}
)
result_data = client.parse_result(result)
print(f"RNA Sequence: {rna_sequence}")
print(f"Result:\n{result_data}\n")

## Step 3: Generate reverse complement
print("Step 3: Reverse Complement")
test_sequence = "ATCGATCG"

result = await client.client.call_tool(
    "GetReverseComplement",
    arguments={"sequence": test_sequence}
)
result_data = client.parse_result(result)
print(f"Original Sequence: {test_sequence}")
print(f"Reverse Complement:\n{result_data}\n")

## Step 4: Calculate annealing temperature for primers
print("Step 4: PCR Primer Annealing Temperature")
primer_sequence = "GCTAGCTAGCTA"

result = await client.client.call_tool(
    "ComputeAnnealingTemperature",
    arguments={"sequence": primer_sequence}
)
result_data = client.parse_result(result)
print(f"Primer Sequence: {primer_sequence}")
print(f"Result:\n{result_data}\n")

await client.disconnect()
```

### Tool Descriptions

**SciToolAgent-Bio Server:**
- `DNAMolecularWeightCalculator`: Calculate DNA molecular weight
  - Args: `sequence_para` (str) - Formatted sequence with parameters
  - Format: `"seqName:SEQUENCE.strand=single/double,topology=linear/circular"`
  - Returns: Molecular weight in Daltons

- `CalculatorOligonucleotide`: Calculate oligonucleotide (RNA) properties
  - Args: `sq` (str) - RNA sequence
  - Returns: GC content (%), Tm (°C), molecular weight, extinction coefficient

- `GetReverseComplement`: Generate reverse complement sequence
  - Args: `sequence` (str) - DNA sequence
  - Returns: Reverse complement sequence

- `ComputeAnnealingTemperature`: Calculate primer annealing temperature
  - Args: `sequence` (str) - Primer sequence
  - Returns: Annealing temperature for PCR

### Input/Output

**Input:**
- DNA sequences: Use A, T, G, C nucleotides
- RNA sequences: Use A, U, G, C nucleotides
- Sequence parameters for DNA: strand type (single/double) and topology (linear/circular)

**Output:**
- **DNA Molecular Weight**: Mass in Daltons for DNA sequences
- **GC Content**: Percentage of G and C nucleotides
- **Tm (Melting Temperature)**: Temperature at which 50% of DNA is denatured
- **Extinction Coefficient**: For nucleic acid quantification (M⁻¹cm⁻¹)
- **Reverse Complement**: Complementary antiparallel sequence

### Use Cases

- Design PCR primers with appropriate annealing temperatures
- Calculate oligonucleotide concentrations spectrophotometrically
- Generate reverse complement for sequencing analysis
- Analyze GC content for primer design
- Plan molecular cloning experiments
- Estimate DNA/RNA molecular weights
- Design and analyze synthetic oligonucleotides

### Sequence Format for DNA Molecular Weight

Format: `"seqName:SEQUENCE.strand=X,topology=Y"`

Parameters:
- `seqName`: Identifier for the sequence
- `SEQUENCE`: DNA nucleotide sequence (A, T, G, C)
- `strand`: Either "single" or "double"
- `topology`: Either "linear" or "circular"

Example: `"plasmid1:ATGCATGC.strand=double,topology=circular"`

### GC Content and Tm

- **High GC content (>60%)**: Higher melting temperature, more stable
- **Low GC content (<40%)**: Lower melting temperature, less stable
- **Tm**: Used to determine PCR annealing temperature (typically Tm - 5°C)

### Additional DNA/RNA Tools Available

- `ORFFind`: Find open reading frames
- `TranslateDNAtoAminoAcidSequence`: Translate DNA to protein
- `RepeatDNASequenceSearch`: Find repetitive sequences
- `CpGIslandPrediction`: Predict CpG islands
- `PCRPrimerProperties`: Analyze primer properties
- `RandomDNAGeneration`: Generate random DNA sequences
- `CircularDNAAlignment`: Align circular DNA sequences

Related Skills

uniprot_deep_analysis

157
from InternScience/DrClaw

UniProt Deep Protein Analysis - Deep UniProt analysis: entry data, UniRef clusters, UniParc cross-references, and gene-centric view. Use this skill for protein science tasks involving get uniprotkb entry by accession get uniref cluster by id get uniparc entry by upi get gene centric by accession. Combines 4 tools from 1 SCP server(s).

proteome_analysis

157
from InternScience/DrClaw

Proteome-Level Analysis - Analyze at proteome level: get proteome from UniProt, gene-centric view, functional annotation from STRING. Use this skill for proteomics tasks involving get proteome by id get gene centric by proteome get functional annotation. Combines 3 tools from 2 SCP server(s).

protein_structure_analysis

157
from InternScience/DrClaw

Protein Structure Comprehensive Analysis - Comprehensive structure analysis: download PDB, extract chains, calculate geometry, quality metrics, and composition. Use this skill for structural biology tasks involving retrieve protein data by pdbcode extract pdb chains calculate pdb structural geometry calculate pdb quality metrics calculate pdb composition info. Combines 5 tools from 1 SCP server(s).

protein_complex_analysis

157
from InternScience/DrClaw

Protein Complex Visualization & Analysis - Analyze protein complex: download structure, visualize complex, extract chains, and calculate quality metrics. Use this skill for structural biology tasks involving retrieve protein data by pdbcode visualize complex extract pdb chains calculate pdb basic info. Combines 4 tools from 1 SCP server(s).

protein_classification_analysis

157
from InternScience/DrClaw

Protein Classification Analysis - Classify protein: ChEMBL protein classification, UniProt entry, InterPro domains, and Ensembl biotypes. Use this skill for protein science tasks involving search protein classification get uniprotkb entry by accession query interpro get info biotypes. Combines 4 tools from 4 SCP server(s).

mutation_impact_analysis

157
from InternScience/DrClaw

Mutation Impact Analysis - Analyze mutation impact: predict structure, predict mutations from sequence and structure, and check variant effects with Ensembl VEP. Use this skill for molecular biology tasks involving pred protein structure esmfold zero shot sequence prediction predict zero shot structure get vep hgvs. Combines 4 tools from 3 SCP server(s).

full_protein_analysis

157
from InternScience/DrClaw

Full Protein Characterization - Complete protein characterization: validate sequence, compute all properties, predict structure, and analyze pockets. Use this skill for protein biochemistry tasks involving is valid protein sequence analyze protein ComputeProtPara pred protein structure esmfold run fpocket. Combines 5 tools from 4 SCP server(s).

code_execution_analysis

157
from InternScience/DrClaw

Computational Analysis via Code Execution - Execute custom computational analysis code, analyze software, and search for reference implementations. Use this skill for computational science tasks involving exec code software analysis search dataset search literature. Combines 4 tools from 2 SCP server(s).

blast_protein_analysis

157
from InternScience/DrClaw

BLAST & Protein Analysis Pipeline - BLAST search followed by comprehensive protein analysis: BLAST, then structure prediction, properties, and function. Use this skill for sequence bioinformatics tasks involving blast search pred protein structure esmfold calculate protein sequence properties predict protein function. Combines 4 tools from 4 SCP server(s).

antibody_target_analysis

157
from InternScience/DrClaw

Antibody-Target Analysis - Analyze an antibody target: UniProt protein info, InterPro domains, protein properties, and biotherapeutic data from ChEMBL. Use this skill for immunology tasks involving get uniprotkb entry by accession query interpro ComputeProtPara get biotherapeutic by name. Combines 4 tools from 4 SCP server(s).

thermal_analysis

157
from InternScience/DrClaw

Thermal & Heat Transfer Analysis - Analyze thermal system: calculate heat released, convert energy units, compute potential energy, and dynamic viscosity. Use this skill for thermal engineering tasks involving calculate heat released convert energy MeV to J calculate potential energy calculate dynamic viscosity. Combines 4 tools from 1 SCP server(s).

statistical_error_analysis

157
from InternScience/DrClaw

Statistical Error Analysis - Analyze measurement errors: absolute error, scientific notation, max value, mean square, and formatting. Use this skill for statistics tasks involving calculate absolute error convert to scientific notation calculate max value calculate mean square format scientific notation. Combines 5 tools from 1 SCP server(s).