comparison maf2bed.pl @ 61:e7a6f7a7148d draft

planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit 6dde5ad41d63730085116ab2c9a9d3e500a760e4-dirty
author fubar
date Tue, 26 Mar 2024 00:52:34 +0000
parents 2de9f585505b
children
comparison
equal deleted inserted replaced
60:81d535970196 61:e7a6f7a7148d
25 $start = $line[2]; 25 $start = $line[2];
26 $end = $line[2] + $line[3]; 26 $end = $line[2] + $line[3];
27 s/^s //; 27 s/^s //;
28 s/ +/:/g; 28 s/ +/:/g;
29 my $temp = $_; 29 my $temp = $_;
30 $buffer = $buffer eq '' ? $temp : "$buffer,$temp"; 30 $buffer = $buffer eq '' ? $temp : "$buffer;$temp";
31 } 31 }
32 elsif (/^a/) { 32 elsif (/^a/) {
33 $score = +(s/^a score=//); 33 $score = +(s/^a score=//);
34 if($id > 0) { 34 if($id > 0) {
35 print $chrom, $start, $end, "$ARGV[0]_$id", $score, $buffer; 35 print $chrom, $start, $end, "$ARGV[0]_$id", $score, $buffer;