Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/epacts-pca-plot
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ if ( $writePed ) {
}
close EVECS;

open(OUT,">out.ped") || die "Cannot open $out.ped for writing\n";
open(OUT,">$out.ped") || die "Cannot open $out.ped for writing\n";
while(<IN>) {
if ( /^#/ ) {
chomp;
Expand All @@ -138,7 +138,7 @@ if ( $writePed ) {

print OUT $_;
print OUT "\t";
print OUT join("\t",$hevecs{$id});
print OUT join("\t",@{$hevecs{$id}});
print OUT "\n";
}
}
Expand Down