Mercurial > repos > elixir-it > covacs_varscan2
annotate filter.varscan.pl @ 1:44e9fd8fd25a draft default tip
Uploaded
author | elixir-it |
---|---|
date | Thu, 15 Nov 2018 15:58:21 -0500 |
parents | eaac11a49bd2 |
children |
rev | line source |
---|---|
0 | 1 #!/usr/bin/perl -w |
2 $f=shift; | |
3 $outfile=shift; | |
4 open(OUT,">$outfile"); | |
5 open(IN,$f); | |
6 $head=<IN>; | |
7 print OUT $head; | |
8 while(<IN>) | |
9 { | |
10 if ($_=~/^\#/) | |
11 { | |
12 print OUT; | |
13 next; | |
14 } | |
15 $v=(split())[-1]; | |
16 @vl=(split(/\:/,$v)); | |
17 $vt=$vl[2]; | |
18 if ($vt>=10) | |
19 { | |
20 print OUT; | |
21 } | |
22 } |