-
Notifications
You must be signed in to change notification settings - Fork 12
Inbreeding Coefficients
Tyler Kent edited this page Sep 9, 2015
·
5 revisions
Method for calculating inbreeding coefficients using ngsF. See the paper for full details on the method.
To run this method you should run:
bash ./scripts/F.sh ./scripts/F_TAXON.conf
with the proper taxon name filled in.
Script filename: F.sh
example configuration file: F_TAXON.conf
-
data/TAXON_samples.txtbam list
-
results/TAXON.approx_indFresults from approximate EM calculation--used as a prior for full EM -
results/TAXON.approx_indF.parsbinary file -
results/TAXON.indFinbreeding coefficient results -
results/TAXON.indF.parsbinary file
Final results are in the *.indF file. Files labeled *.approx.indF are rough estimate files to speed up analysis in the full EM step of the calculation.
-
TAXONname of taxon used -
TAXON_LISTfilename of bam list -
ANC_SEQfilename of ancestral sequence used this should already be in your common variables file -
REF_SEQfilename of reference sequence used this should already be in your common variables file
-
MIN_BASEQUALminimum base quality (default=20) -
GT_LIKELIHOODestimate genotype likelihoods (default=1) -
DO_GLFtype of GL output filetype (default=3) -
MIN_MAPQminimum base mapping quality (default=30) -
N_CORESnumber of cores to use (default=32) make sure to adjust this according to what your computer or cluster allows. This may need to be adjusted depending on the memory requirements of your data -
DO_MAJORMINORestimate major/minor alleles (default=1) -
DO_MAFcalculate per site frequencies (default=1) -
SNP_PVAL=1e-6p-value limit for calling SNPs (default=1e-6) removing invariant sites with a light SNP call greatly decreases computational time and numerical instability -
OVERRIDEif true, will recalculate files that already exist (default=false) -
SEED=12345set for approx. EM--do not change -
MIN_EPSILON=1e-9epsilon value for EM converging. A smaller number will greatly increase computational time. 1e-7 or smaller recommended for proper converging, but adjust if computational time too intensive (default=1e-9)