easySFS_fsc2: Run easySFS even easier to generate input MSFS and population...

View source: R/run_delimitR.R

easySFS_fsc2R Documentation

Run easySFS even easier to generate input MSFS and population files for fastsimcoal2

Description

Given VCF and traits files usually needed by easySFS, generate the fsc2 MSFS and the pops file needed for fastsimcoal2 Chooses the projection that yields the greatest number of segregating sites, without trying to balance for the number of individuals.

Usage

easySFS_fsc2(easySFS.path, vcf, traits, output.dir)

Arguments

easySFS.path

Character string with path to the easySFS executable

vcf

Character string with path to the VCF file

traits

Character string with path to the traits file

output.dir

Character string with path to directory where the two output files should be saved.

Details

IMPORTANT: You must include the next two lines in the sh file for any job that uses this function. For now this function will only work for me. module load anaconda/4.7 conda activate easySFS

requires gtools package


JeffWeinell/misc.wrappers documentation built on Sept. 20, 2023, 12:42 p.m.