File: example.perl

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

$ENV{'PATH'} = "../bin:$ENV{'PATH'}";

$command = "smartpca";
$command .= " -p par.example >example.log";
print("$command\n");
system("$command");

$command = "ploteig";
$command .= " -i example.evec ";
$command .= " -c 1:2 ";
$command .= " -p Case:Control ";
$command .= " -x ";
$command .= " -o example.plot.xtxt "; # must end in .xtxt
print("$command\n");
system("$command");

$command = "evec2pca.perl 2 example.evec example.ind example.pca";
print("$command\n");
system("$command");