
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
A tool to extract amplified regions from reference sequences using primer pairs
A tool for extracting amplified regions from reference sequences using primer pairs.
pip install rereferencer
The tool can be used to extract amplified regions from reference sequences using primer pairs. It supports:
Usage: rereferencer [OPTIONS]
Options:
--primer-file PATH CSV file containing primer pairs (name, forward, reverse) [required]
--reference PATH Reference sequence file in FASTA format [required]
--output PATH Output file for amplified regions in FASTA format [required]
--remove-primers Remove primer sequences from the output
--forward-tail TEXT 5' tail sequence (5'-3' direction) to remove from forward primers
--reverse-tail TEXT 5' tail sequence (5'-3' direction) to remove from reverse primers
--gff PATH GFF/GTF file for gene annotations
--ref-gene TEXT Reference gene name for re-referencing sequences
--window-size INTEGER Window size for re-referencing (default: 1000)
--help Show this message and exit.
# Basic usage with progress bar
rereferencer \
--primer-file example_primers.csv \
--reference references/Mycobacterium_tuberculosis_H37Rv_genome_v4.fasta \
--output mtb_amplicons.fasta
# Using GFF annotations and re-referencing to a specific gene
rereferencer \
--primer-file example_primers.csv \
--reference references/Mycobacterium_tuberculosis_H37Rv_genome_v4.fasta \
--gff references/Mycobacterium_tuberculosis_H37Rv_gff_v4.gff \
--ref-gene rpoB \
--window-size 1000 \
--output mtb_amplicons_rpoB.fasta
# Remove primer sequences and tails from output
rereferencer \
--primer-file example_primers.csv \
--reference references/Mycobacterium_tuberculosis_H37Rv_genome_v4.fasta \
--remove-primers \
--forward-tail ACGTACGT \
--reverse-tail TGCATGCA \
--output mtb_amplicons_no_primers.fasta
Primer File (CSV)
name
, forward
, reverse
name,forward,reverse
rpoB_RRDR,GGGAGCGGATGACCACCC,GCGGTACGGCGTTTCGATGAAC
katG_315,GCTGATCCACCGCGGCATC,GCCGAGTCGTTCATCGTGCT
Reference Sequence (FASTA)
GFF/GTF File (Optional)
The tool generates:
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A tool to extract amplified regions from reference sequences using primer pairs
We found that rereferencer 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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.