Skip to content

Commit

Permalink
Update extractgeno.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdb authored May 20, 2022
1 parent 9944d71 commit ad58cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/adj/extractgeno.pl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/perl
# extractrgeno.pl file
my @IDX;
open(IDXLIST, $ARGV[0]) || die "Couldn't open $ARGV[0]\n";
open(IDXLIST, $ARGV[0]) || die "Error: Cannot open $ARGV[0]\n";
while(<IDXLIST>) {
chomp;
push(@IDX,$_);
}
close(IDXLIST);

$linescount=1;
open(MAP, $ARGV[1]) || die "Couldn't open $ARGV[1]\n";
open(MAP, $ARGV[1]) || die "Error: Cannot open $ARGV[1]\n";
while(<MAP>) {

while ($linescount eq $IDX[0]) {
Expand Down

0 comments on commit ad58cad

Please sign in to comment.