1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
|
#!/bin/bash
# This script shows some examples on how to run ProbABEL's palinear
# module for quantitative traits.
# Set the name of the directory with the genotype data files
gtdatadir="gtdata"
# Set the path to the executables (palinear/palogist/pacoxph). If you
# installed ProbABEL according to the instructions in the doc/INSTALL
# file, or installed it via your Linux distribution's package manager,
# you can leave this variable empty.
padir="${padir}"
# Using text-based dosage genotype files as input
echo "basic analysis"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.mldose \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 \
-o height_base
# Using filevector (DatABEL) files as dosage genotype input
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.dose.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 \
-o height_base_fv
echo "Option --allcov"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.dose.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --allcov \
-o height_allcov_fv
echo "Option --interaction=1"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.dose.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --interaction=1 \
-o height_int1_fv
echo "Option --robust"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.dose.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --robust \
-o height_robust_fv
echo "Option --robust --interaction=1"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.dose.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --robust --interaction=1 \
-o height_robust_int1_fv
# Using text-based probability files as genotype input
echo "Option --ngp=2, mlprob file"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.mlprob \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --ngp=2 \
-o height_ngp2
# Using filevector (DatABEL) probability files as genotype input
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.prob.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --ngp=2 \
-o height_ngp2_fv
echo "Option --ngp=2 --allcov"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.prob.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --ngp=2 --allcov \
-o height_ngp2_allcov_fv
echo "Option --ngp=2 --interaction=1"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.prob.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --ngp=2 --interaction=1 \
-o height_ngp2_int1_fv
echo "Option --ngp=2 --robust"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.prob.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --ngp=2 --robust \
-o height_ngp2_robust_fv
echo "Option --ngp=2 --robust --interaction=1"
${padir}palinear \
-p height.txt \
-d ${gtdatadir}/test.prob.fvi \
-i ${gtdatadir}/test.mlinfo \
-m ${gtdatadir}/test.map \
-c 19 --ngp=2 --robust --interaction=1 \
-o height_ngp2_robust_int1_fv
|