comparison miranda2asko.pl @ 0:3f6cdc878f35 draft

planemo upload for repository https://github.com/genouest/galaxy-tools/tree/master/tools/miranda2asko commit bd6737d0fba64ed6e7d3be5267868942674696ea
author genouest
date Thu, 12 Apr 2018 10:53:04 -0400
parents
children 605bb64c2668
comparison
equal deleted inserted replaced
-1:000000000000 0:3f6cdc878f35
1 use strict;
2 use warnings;
3
4 my $miranda=shift;
5 open MIRANDA, $miranda or die "failed to open $miranda\n";
6
7 print "mirna\ttargets\@mRNA\tscore\tenergy\talignment length\tglobal coverage\tseed coverage\n";
8
9 while (<MIRANDA>) {
10 chomp;
11 my ($mirna, $target, $score, $energy,$pos1, $pos2,$alnlength, $glcov, $seedcov)=split "\t";
12 $mirna=~ s/^>//;
13 $target=~s/_UTR3$//;
14 $glcov=~ s/\%$//;
15 $seedcov=~ s/\%$//;
16 print join ("\t", $mirna, $target, $score, $energy,$alnlength, $glcov, $seedcov), "\n";
17 }