@@ -5,24 +5,24 @@ The default mode. Places reads from one sample onto the pangenome tree, aligns t
55## Basic usage
66
77``` bash
8- # Place reads (default -- stops after placement )
8+ # Run full pipeline (default -- through consensus )
99panmap ref.panman reads_R1.fq reads_R2.fq -t 8 -o sample
1010
11- # Run through genotyping
12- panmap ref.panman reads_R1.fq reads_R2.fq --stop consensus -t 8 -o sample
11+ # Stop at an earlier stage
12+ panmap ref.panman reads_R1.fq reads_R2.fq --stop genotype -t 8 -o sample
1313```
1414
1515## Pipeline stages
1616
17- By default, panmap stops after ** placement ** . Use ` --stop ` to control how far the pipeline runs .
17+ By default, panmap runs through ** consensus ** . Use ` --stop ` to stop at an earlier stage .
1818
1919| Stage | ` --stop ` value | Output | Description |
2020| -------| ---------------| --------| -------------|
2121| Index | ` index ` | ` <prefix>.idx ` | Builds seed index from the PanMAN |
22- | Place | ` place ` (default) | ` <prefix>.placement.tsv ` | Places reads onto the pangenome tree |
22+ | Place | ` place ` | ` <prefix>.placement.tsv ` | Places reads onto the pangenome tree |
2323| Align | ` align ` | ` <prefix>.bam ` | Aligns reads to closest reference |
2424| Genotype | ` genotype ` | ` <prefix>.vcf ` | Calls variants from alignments |
25- | Consensus | ` consensus ` | ` <prefix>.consensus.fa ` | Generates consensus FASTA from variants |
25+ | Consensus | ` consensus ` (default) | ` <prefix>.consensus.fa ` | Generates consensus FASTA from variants |
2626
2727!!! note
2828 When ` --stop genotype ` is used, ` --force-leaf ` is enabled automatically.
@@ -74,7 +74,7 @@ panmap examples/data/sars_20000_twilight_dipper.panman \
7474| ` -o, --output ` | Output file prefix | derived from reads filename |
7575| ` -t, --threads ` | Number of threads | ` 1 ` |
7676| ` -a, --aligner ` | ` minimap2 ` or ` bwa ` | ` minimap2 ` |
77- | ` --stop ` | Stop after: ` index ` , ` place ` , ` align ` , ` genotype ` | ` place ` |
77+ | ` --stop ` | Stop after: ` index ` , ` place ` , ` align ` , ` genotype ` , ` consensus ` | ` consensus ` |
7878| ` --force-leaf ` | Restrict placement to leaf nodes | off (auto-enabled with ` --stop genotype ` ) |
7979| ` --refine ` | Alignment-based refinement of top candidates | off |
8080
0 commit comments