File: example_bt.sh

package info (click to toggle)
probabel 0.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,552 kB
  • ctags: 1,269
  • sloc: cpp: 6,571; ansic: 2,270; sh: 1,826; makefile: 449; perl: 351
file content (54 lines) | stat: -rwxr-xr-x 1,424 bytes parent folder | download | duplicates (5)
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
#!/bin/bash
# This script shows some examples on how to run ProbABEL's palogist
# module for binary 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="../src/"


# Using text-based dosage genotype files as input
${padir}palogist \
    -p logist_data.txt \
    -d ${gtdatadir}/test.mldose \
    -i ${gtdatadir}/test.mlinfo \
    -m ${gtdatadir}/test.map \
    -c 19 \
    -o logist


# Using filevector (DatABEL) files as dosage genotype input
${padir}palogist \
    -p logist_data.txt \
    -d ${gtdatadir}/test.dose.fvi \
    -i ${gtdatadir}/test.mlinfo \
    -m ${gtdatadir}/test.map \
    -c 19 \
    -o logist_fv


# Using text-based probability files as genotype input
${padir}palogist \
    -p logist_data.txt \
    -d ${gtdatadir}/test.mlprob \
    -i ${gtdatadir}/test.mlinfo \
    -m ${gtdatadir}/test.map \
    --ngpreds=2 \
    -c 19 \
    -o logist_prob


# Using filevector (DatABEL) probability files as genotype input
${padir}palogist \
    -p logist_data.txt \
    -d ${gtdatadir}/test.prob.fvi \
    -i ${gtdatadir}/test.mlinfo \
    -m ${gtdatadir}/test.map \
    --ngpreds=2 \
    -c 19 \
    -o logist_prob_fv