Simple utility to convert FSTAT files to sync (synchronized pileup files).
Both file formats are tab/whitespace separated formats. The synchronized pileup format is used to represent pool-seq data. This conversion is useful if we want to treat FSTAT as pseudo-poolseq data, for example when outputted by the forward simulation program quantiNemo2.
Subsequently:
- Only supports 4 alleles (simulating sequence reads A/T/G/C)
- No reference allele (marked NA)
- No chromosomal/genetic structure, loci are consecutively (marked NA)
cd fstat2sync
cargo build --release
./target/release/fstat2sync -f <input.fstat> -o <output.sync>