TnSeq_ONT
Anchor-based flank extraction and clustering for ONT amplicon/TnSeq-style analysis.
Pipeline Flow
Read Scan→
Anchor Match→
Flank Extraction→
Clustering→
Summary Output
Run
python TnSeq_ONT/Go_search_tnseq_flank.py --helpReal Example
python TnSeq_ONT/Go_search_tnseq_flank.py \
--input TnSeq_ONT/20261101_TNSEQ_HKP/reads.fastq.gz \
--anchor Tn_anchor.fa \
--outdir TnSeq_ONT/20261101_TNSEQ_HKP_outPurpose
Use this workflow to extract transposon flanks from ONT reads and cluster insertion-related signals.
Options
| Flag | Description |
|---|---|
--input | Input read file |
--anchor | Anchor sequence file |
--outdir | Output directory |
Expected Input
TnSeq_ONT/
|-- 20251101_TNSEQ_HKP/
|-- 20251101_TNSEQ_HKP_out/
|-- 20261101_TNSEQ_HKP/
| `-- reads.fastq.gz
`-- 20261101_TNSEQ_HKP_out/
TnSeq_ref/
`-- Tn_anchor.faMain Outputs
TnSeq_ONT/
|-- 20251101_TNSEQ_HKP/
|-- 20251101_TNSEQ_HKP_out/
|-- 20261101_TNSEQ_HKP/
`-- 20261101_TNSEQ_HKP_out/
|-- extracted_flanks/
|-- clustered_flanks/
`-- flank_summary.tsv