limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / perl / etc / WoodyMiaoLin / PbeBefore2015 / 1.make_input.pl
blob3cfff8c8141efdeb71aaf553d36ffce5a299dc78
1 #!/usr/bin/perl
2 use strict;
3 use warnings;
5 open I, "-|", "gzip -dc ../4.G-PhoCS/input.gz";
6 open O, "|-", "gzip -9c >GPhoCS_PbePvi_input.gz";
8 while (<I>) {
9 if (/^chr/) {
10 my @a = split /\t/;
11 print O "$a[0]\t2\t$a[2]";
12 } elsif (/^FCA|PVI/) {
13 next;
14 } else {
15 print O $_;
18 close I;
19 close O;