-
Notifications
You must be signed in to change notification settings - Fork 10
/
PSIsigma-ir-v.1.2.pl
12 lines (10 loc) · 9.47 KB
/
PSIsigma-ir-v.1.2.pl
1
2
3
4
5
6
7
8
9
10
11
12
=begin
PSI-Sigma: A splicing-detection method for short-read and long-read RNA-seq data
© Kuan-Ting Lin, 2018-2024
PSI-Sigma is free for non-commercial purposes by individuals at an academic or non-profit institution.
For commercial purposes, please contact tech transfer office of CSHL via narayan@cshl.edu
=end
=cut
#!/usr/bin/perl -w
eval unpack u=>q{_=7-E('-T<FEC=#L*(R`)=7-E(%-T871I<W1I8W,Z.D)A<VEC('%W*#IA;&PI.PH)"B`@("!M>2`H)&1B+"1B_86TL)'1Y<&4I(#T@0$%21U8["B`@("`*("`@("1B86T]?G,O*"XJ*5PO+R\["B`@("`*("`@(&UY("5T;7`[_"B`@("!M>2`E=6YI<75E.PH@("`@;7D@*"1G8VAR+"1S=&%R="PD96YD*2`]("@B+2(L,"PP*3L*("`@(&UY_("1E>&]N<SL*("`@(&UY("1M87@@/2`P.PH@("`@;7D@)6)E9#L*("`@(`H@("`@;7D@)'-T87)T=&EM92`]_('1I;64["@H@("`@;7D@)6)I;CL*("`@(&UY("1B:6YS:7IE(#T@,3`P.PH@("`@;7D@0&-H<F]M;W-O;65S_.PH@("`@;7D@)')E861F;W)M870@/2`B<VEN9VQE+65N9"(["B`@("`*("`@('!R:6YT(")0<F]C97-S:6YG_("1B86TN+BY<;B(["B`@("!O<&5N*$E.4%54+"`B+7PB+")S86UT;V]L<R!I9'AS=&%T<R`B("X@)&)A;2D@_;W(@9&EE("0A.PH)=VAI;&4@*&UY("1I;G!U="`](#Q)3E!55#XI('L*"0EC:&]M<"`D:6YP=70["@D);7D@_*"1C:'(L)&QE;F=T:"PD;G5M+"1Z97)O*2`]('-P;&ET*"]<="\L)&EN<'5T*3L*"0EN97AT(&EF*"1C:'(]_?B];7"I<+ETO*3L*"0EP=7-H*$!C:')O;6]S;VUE<RPD8VAR*3L*"7T*"6-L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_/#T^("1B?2!`7SL*("`@(&UY("1L96X@/2!`=F%L<SL*("`@(&EF*"1L96XE,BD@(V]D9#\*("`@('L*("`@_("`@("!R971U<FX@)'9A;'-;:6YT*"1L96XO,BE=.PH@("`@?0H@("`@96QS92`C979E;@H@("`@>PH@("`@_("`@(')E='5R;B`H)'9A;'-;:6YT*"1L96XO,BDM,5T@*R`D=F%L<UMI;G0H)&QE;B\R*5TI+S(["B`@("!]_"GT*"G-U8B!A=F5R86=E"GL*("`@("`@("!M>2`H0'9A;'5E<RD@/2!`7SL*"B`@("`@("`@;7D@)&-O=6YT_(#T@<V-A;&%R($!V86QU97,["B`@("`@("`@;7D@)'1O=&%L(#T@,#L@"B`@("`@("`@)'1O=&%L("L]("1?_(&9O<B!`=F%L=65S.R`*"B`@("`@("`@<F5T=7)N("1C;W5N="`_("1T;W1A;"`O("1C;W5N="`Z(#`["GT*_"G-U8B!S=&1E=@I["B`@("`@("`@;7D@*"1A=F5R86=E+"!`=F%L=65S*2`]($!?.PH*("`@("`@("!M>2`D_8V]U;G0@/2!S8V%L87(@0'9A;'5E<SL*("`@("`@("!M>2`D<W1D7V1E=E]S=6T@/2`P.PH@("`@("`@("1S_=&1?9&5V7W-U;2`K/2`H)%\@+2`D879E<F%G92D@*BH@,B!F;W(@0'9A;'5E<SL*"B`@("`@("`@<F5T=7)NL("1C;W5N="`_('-Q<G0H)'-T9%]D979?<W5M("\@)&-O=6YT*2`Z(#`["GT};
print $@;