bio-rocker 0.1.01 → 0.1.02
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ROCker +2 -2
- data/lib/rocker.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820871c854cb75ab6a7f98140ea50952dd145fd1
|
4
|
+
data.tar.gz: 83df9b12b3509f02ec4c9dcf1bed4185de817b43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0be6f74849a011d4a39450759a52c86e3bbf47e90174077872860c1334f4179114af4d295aecbfa712d847a5eafe92884645fb193d7beb4143740982ade9f75a
|
7
|
+
data.tar.gz: 01e7ee056e0a9dbf66dcaf4b31af34d1ef0daaae76593101b8dad9d27732776b521f7aef6a2f7beb9007dcf72346ae81cfb8fa7523cf06952e6eb83b7a5578b9
|
data/bin/ROCker
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# @author Luis M. Rodriguez-R <lmrodriguezr at gmail dot com>
|
4
4
|
# @author Luis (Coto) Orellana
|
5
5
|
# @license artistic license 2.0
|
6
|
-
# @update
|
6
|
+
# @update Feb-09-2015
|
7
7
|
#
|
8
8
|
|
9
9
|
require 'rocker'
|
@@ -24,7 +24,7 @@ ARGV << '-h' if ARGV.size==0
|
|
24
24
|
o = {}
|
25
25
|
opts = OptionParser.new do |opt|
|
26
26
|
if $t.keys.include? task
|
27
|
-
opt.banner = "Usage: ROCker
|
27
|
+
opt.banner = "Usage: ROCker #{task} [options]"
|
28
28
|
opt.separator ""
|
29
29
|
opt.separator $t[task]
|
30
30
|
opt.separator ""
|
data/lib/rocker.rb
CHANGED
@@ -400,7 +400,7 @@ class ROCker
|
|
400
400
|
blast2table(@o[:blast], @o[:table], data.aln, @o[:minscore])
|
401
401
|
end
|
402
402
|
|
403
|
-
puts "Plotting
|
403
|
+
puts "Plotting matches." unless @o[:q]
|
404
404
|
extra = @o[:gformat]=='pdf' ? "" : ", units='in', res=300"
|
405
405
|
@o[:gout] ||= "#{@o[:rocker]}.#{@o[:gformat]}"
|
406
406
|
data.rrun "#{@o[:gformat]}('#{@o[:gout]}', #{@o[:width]}, #{@o[:height]}#{extra});"
|
@@ -417,7 +417,7 @@ class ROCker
|
|
417
417
|
data.rrun "arrows(x0=w$V1, x1=w$V2, y0=w$V5, lwd=2, length=0)"
|
418
418
|
data.rrun "arrows(x0=w$V2[-nrow(w)], x1=w$V1[-1], y0=w$V5[-nrow(w)], y1=w$V5[-1], lwd=2, length=0)"
|
419
419
|
end
|
420
|
-
data.rrun "legend('bottomright',legend=c('
|
420
|
+
data.rrun "legend('bottomright',legend=c('Match span','Match mid-point','Reference','Non-reference')," +
|
421
421
|
"lwd=c(1,NA,1,1),pch=c(NA,19,19,19),col=c('black','black','darkblue','darkred'),ncol=4,bty='n')"
|
422
422
|
|
423
423
|
puts "Plotting alignment." unless @o[:q]
|