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 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.
["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."]
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.We create engaging workshops for companies and private events centred around plants, flowers and all things botanical.
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan