How innessim/rad-phy2vcf works
rad-phy2vcf is a command-line converter that produces a synthetic, continuous-coordinate, single-chromosome VCF from a PHYLIP alignment, retaining invariant sites. The README identifies the main user workflow; the sampled VCF implementation shows VCF writing, while the PHYLIP and population-map parsers and command-line options are separate modules. The main script was not excerpted, so its wiring to those modules is not shown; the population map is imported by the VCF module but its use is not evident in the excerpt.
Main entry points: rad-phy2vcf Converter entry point · vcf.py VCF writer
Components 8
User workflow
- Converter entry point
rad-phy2vcf
Input handling
- CLI options
comline.py - PHYLIP parser
phylip.py - Population map parser
popmap.py
VCF conversion
- VCF writer
vcf.py - VCF file
Other components
- User
- Downstream tools
Connections 4
- User → Converter entry point: runs
README.md - Converter entry point → VCF writer: converts alignment
- VCF writer → VCF file: writes
vcf.py - VCF file → Downstream tools: feeds downstream
README.md