Skip to content

Converts FSTAT to synchronized pileup file format (pool-seq data)

License

Notifications You must be signed in to change notification settings

cjdjpj/fstat2sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fstat2sync

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:

  1. Only supports 4 alleles (simulating sequence reads A/T/G/C)
  2. No reference allele (marked NA)
  3. No chromosomal/genetic structure, loci are consecutively (marked NA)

Usage

cd fstat2sync
cargo build --release
./target/release/fstat2sync -f <input.fstat> -o <output.sync>

About

Converts FSTAT to synchronized pileup file format (pool-seq data)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages