Overview Version History Q & A Rating & Review
GenLang - Biological Sequence Analysis Programming Language
https://genlang.vercel.app/
GenLang is a Visual Studio Code extension designed to work with biological sequences and perform a variety of operations such as annotation, gene extraction, and sequence analysis inside files with a .bio
extension. Combining simplicity and functionality, GenLang enables quick processing of biological data, arithmetic expressions, and text-based programming logic in a single environment.
Features
Syntax Highlighting : GenLang provides syntax highlighting for:
Comments - Lines that start with #
.
Biological Keywords - Commands like annotate
, extract
, load
, and others.
Biological Sequence Analysis :
Load DNA/RNA sequences from files.
Annotate sequences with custom labels and positions.
Extract specific genes or exon regions from sequences.
Transcribe and translate sequences .
Reverse and complement DNA sequences .
Find sequence patterns using regular expressions.
Generate random sequences of specified lengths.
Calculate GC content and nucleotide composition .
Introduce mutations at specific positions.
Custom File Icon : Easily recognize .bio
files with a custom GenLang file icon in the VS Code file explorer.
Getting Started
Requirements
GenLang does not require any additional dependencies.
Installation
Open Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X
).
Search for "GenLang" and click Install .
Open a new file with the .bio
extension or open any existing .bio
file to see syntax highlighting and try out GenLang commands.
Supported Commands
Below is a list of possible commands you can use in GenLang:
load sequence from "filename"
: Load a sequence from a file.
annotate with "label" position
: Annotate a specific position with a label.
extract gene "GENE_NAME"
: Extract a specific gene.
extract exon regions from "GENE_NAME"
: Extract all exons for a given gene.
reverse sequence
: Reverse the loaded sequence.
complement DNA
: Generate the complement of the DNA sequence.
filter sequence with pattern "PATTERN"
: Find specific patterns in the sequence.
generate random sequence of length N
: Generate a random DNA sequence of length N
.
transcribe DNA to RNA
: Convert DNA to RNA.
translate RNA to protein
: Translate RNA into a protein sequence.
calculate GC content
: Calculate the GC content of the sequence.
show composition
: Display nucleotide composition.
Enjoy!