File: example.QTL.perl

package info (click to toggle)
eigensoft 7.2.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,696 kB
  • sloc: ansic: 32,354; perl: 470; makefile: 107; sh: 10
file content (36 lines) | stat: -rwxr-xr-x 971 bytes parent folder | download | duplicates (6)
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
#!/usr/bin/perl

$ENV{'PATH'} = "../bin:$ENV{'PATH'}"; 
# MUST put smartpca bin directory in path for smartpca.perl to work

$command = "smartpca.perl";
$command .= " -i example.geno ";
$command .= " -a example.snp ";
$command .= " -b example.QTL.ind " ;
$command .= " -k 2 ";
$command .= " -o example.pca ";
$command .= " -p example.plot ";
$command .= " -e example.eval ";
$command .= " -l example.log ";
$command .= " -m 5 ";
$command .= " -t 2 ";
$command .= " -s 6.0 ";
$command .= " -q YES ";
print("$command\n");
system("$command");

$command = "smarteigenstrat.perl "; 
$command .= " -i example.geno ";
$command .= " -a example.snp ";
$command .= " -b example.QTL.ind ";
$command .= " -p example.pca ";
$command .= " -k 1 ";
$command .= " -o example.QTL.chisq ";
$command .= " -l example.log ";
$command .= " -q YES ";
print("$command\n");
system("$command");

$command = "gc.perl example.QTL.chisq example.QTL.chisq.GC";
print("$command\n");
system("$command");