
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
variant-linker
Advanced tools
A powerful CLI tool and JavaScript library for genetic variant annotation using Ensembl APIs.
git clone https://github.com/berntpopp/variant-linker.git
cd variant-linker
npm install
npm link # Optional: for global CLI access
If the variant-linker command isn't recognized on Windows PowerShell:
Option 1: Use npx (recommended)
npx variant-linker --help
Option 2: Reinstall globally
npm uninstall -g variant-linker
npm install -g variant-linker
# Analyze a single variant
variant-linker --variant "rs6025" --output JSON
# Analyze a copy number variant (CNV)
variant-linker --variant "7:117559600-117559609:DEL" --output JSON
# Process VCF file with inheritance analysis
variant-linker --vcf-input sample.vcf --ped family.ped --calculate-inheritance --output VCF
# Liftover hg19 coordinates to hg38 for annotation
variant-linker --assembly hg19tohg38 --variant "chr17-7578406-C-A" --output JSON
# Batch processing with custom scoring
variant-linker --variants-file variants.txt --scoring_config_path scoring/nephro_variant_score/ --output CSV
# Use HTTP proxy for API requests
variant-linker --variant "rs6025" --proxy http://proxy.company.com:8080 --output JSON
# Use authenticated proxy
variant-linker --variant "rs6025" --proxy http://user:pass@proxy.company.com:8080 --output JSON
Use Variant-Linker as a library in your Node.js projects:
const { analyzeVariant, variantRecoderPost, vepRegionsAnnotation } = require('variant-linker');
// Analyze a single variant
const result = await analyzeVariant({
variant: 'rs6025',
output: 'JSON'
});
// Analyze a copy number variant (CNV)
const cnvResult = await analyzeVariant({
variant: '7:117559600-117559609:DEL',
vepOptions: { Phenotypes: '1', numbers: '1' },
output: 'JSON'
});
// Batch processing with mixed variant types
const batchResult = await analyzeVariant({
variants: ['rs123', 'ENST00000366667:c.803C>T', '1:1000-5000:DUP'],
recoderOptions: { vcf_string: '1' },
vepOptions: { CADD: '1', hgvs: '1' },
output: 'JSON'
});
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git clone https://github.com/berntpopp/variant-linker.git
cd variant-linker
npm install
npm test
npm run lint
See our Contributing Guide for detailed information.
This project is licensed under the MIT License.
This tool utilizes the Ensembl Variant Recoder and Variant Effect Predictor APIs, provided by the Ensembl project.
FAQs
CLI for Ensembl VEP and Variant Recoder
The npm package variant-linker receives a total of 37 weekly downloads. As such, variant-linker popularity was classified as not popular.
We found that variant-linker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.