Skip to content

Commit ed9b0fc

Browse files
committed
.
1 parent e2a39a8 commit ed9b0fc

6 files changed

Lines changed: 37506 additions & 34 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ recmpox -i fasta/ -o output -ref Ia,Ib -include-indels
121121

122122
- **recmpox_results.tsv**: Per-genome counts (n_ref1, n_ref2, n_other), percentages (pct_ref1, pct_ref2, pct_other), and recombinant call (no recombinant / potential recombinant).
123123
- **recmpox_results.html**: Interactive report (summary, sortable table, stacked bar chart, diagnostic SNP positions, diagnostic sites per sample, recombination tracts and breakpoints per sample). Split into multiple files + index when >100 genomes.
124-
- **all_sequences.fasta**: Ref1, ref2, and all query sequences (aligned).
125124
- **potential_recombinants_diagnostic_sites.tsv**: Diagnostic site classification per potential recombinant (when any exist).
125+
- **diagnostic_snps.txt**: List of diagnostic SNP positions (ref1 vs ref2 alleles).
126126
- **.recmpox.log**: Log file (in output directory).
127-
128-
Intermediate files (e.g. diagnostic_snps.txt, Squirrel outputs) are written under `work/`.
127+
- With **-extract-tracts**: **extracted_tracts/** — per-sample FASTA with only Ia tract positions (rest N) and only Ib tract positions (rest N).
128+
- With **-phylogeny**: **phylogeny/** folder containing all IQ-TREE outputs (e.g. alignment.treefile, alignment.log, alignment.iqtree), **phylogeny_tree.treefile** (midpoint-rooted so FigTree opens it rooted), and **phylogeny_tree.pdf** (tips as circles: dark red-pink = extracted tracts, grey = references). Intermediate files under `work/` are removed after the run.
129129

130130
## Interpretation
131131

environment-recmpox.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ dependencies:
77
- minimap2
88
- samtools
99
- squirrel
10+
- iqtree=2.4.0
11+
- ete3
1012
variables:
1113
PYTHONNOUSERSITE: "1"

recmpox/diagnostic_snp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def get_runs_and_breakpoints(
515515
last_clade_pos = next_pos
516516
n_snps += 1
517517
i += 1
518-
elif next_a == "other" and ignore_other:
518+
elif next_a in ("other", "ambiguous") and ignore_other:
519519
# Transparent: skip without updating last_clade_pos or n_snps
520520
i += 1
521521
else:

0 commit comments

Comments
 (0)