bioSkills provides AI coding agents with expert knowledge for bioinformatics workflows. It includes code patterns, best practices, and examples to guide agents through common bioinformatics tasks. Benefits bioinformatics teams by automating repetitive coding tasks and ensuring best practices are followed.
git clone https://github.com/GPTomics/bioSkills.gitbioSkills is a collection of skills designed to guide AI coding agents through common bioinformatics tasks. It provides code patterns, best practices, and examples covering the full spectrum from basic sequence manipulation to advanced analyses including variant calling, single-cell RNA-seq, and population genetics. The skills are organized into categories like sequence I/O, alignment, variant calling, and differential expression, each containing expert knowledge to help agents generate correct, idiomatic code. Target users range from undergrads learning computational biology to PhD researchers processing large-scale genomic data. bioSkills supports integration with Claude Code, OpenAI Codex, Google Gemini, OpenCode, and OpenClaw, with flexible installation options for selective skill categories.
["1. Identify the specific bioinformatics task you want to automate. Be as detailed as possible about the input data format and desired output.","2. Choose the appropriate tools or libraries for the task. Common bioinformatics libraries include Biopython, PySAM, and scikit-bio.","3. Provide the AI with clear instructions, including any specific algorithms or methods you want to use, and any quality control steps that should be included.","4. Review the generated code for accuracy and completeness. Test it with a small subset of your data before running it on the entire dataset.","5. Iterate and refine the code as needed. Bioinformatics workflows often require multiple rounds of testing and optimization."]
Automating FASTA/FASTQ file processing and format conversion
Generating variant calling pipelines with GATK, bcftools, and DeepVariant
Performing single-cell RNA-seq analysis with Seurat and differential expression with DESeq2
Running sequence alignment and MSA with MAFFT, MUSCLE5, and structural tools
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/GPTomics/bioSkillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to automate a bioinformatics workflow for [SPECIFIC TASK]. Provide a Python script using [TOOL/LIBRARY] that follows best practices. Include error handling and documentation. The input data will be in [FILE FORMAT] and the output should be in [DESIRED FORMAT].
Here's a Python script for automating a DNA sequence alignment workflow using Biopython. This script reads FASTA files, performs pairwise alignments using the Needleman-Wunsch algorithm, and outputs the results in a CSV file with alignment scores and statistics.
```python
import os
from Bio import Align
from Bio import SeqIO
import csv
def align_sequences(input_dir, output_file):
aligner = Align.PairwiseAligner()
aligner.mode = 'global'
aligner.open_gap_score = -10
aligner.extend_gap_score = -0.5
with open(output_file, 'w', newline='') as csvfile:
fieldnames = ['Sequence1', 'Sequence2', 'Alignment Score', 'Identity', 'Similarity']
writer = csv.DictWriter(csvfile, fieldnames=fieldnames)
writer.writeheader()
for seq1_file in os.listdir(input_dir):
for seq2_file in os.listdir(input_dir):
if seq1_file != seq2_file:
seq1 = SeqIO.read(os.path.join(input_dir, seq1_file), 'fasta')
seq2 = SeqIO.read(os.path.join(input_dir, seq2_file), 'fasta')
alignments = aligner.align(seq1.seq, seq2.seq)
best_alignment = alignments[0]
writer.writerow({
'Sequence1': seq1_file,
'Sequence2': seq2_file,
'Alignment Score': best_alignment.score,
'Identity': best_alignment.identities / len(seq1.seq) * 100,
'Similarity': best_alignment.score / len(seq1.seq) * 100
})
if __name__ == '__main__':
input_directory = 'path/to/input/fasta/files'
output_csv = 'alignment_results.csv'
align_sequences(input_directory, output_csv)
```
This script includes proper error handling, documentation, and follows bioinformatics best practices for sequence alignment. The output CSV file can be easily imported into analysis tools for further processing.AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate security compliance and monitor real-time security posture seamlessly.
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan