rbbt-util 5.25.47 → 5.25.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/util/misc/omics.rb +0 -1
- data/share/rbbt_commands/workflow/trace +10 -6
- 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: 46222cc21bab86e8e9d9783431a1607aeb2b3a8d
|
4
|
+
data.tar.gz: c9912dfa07e5bef78b599ef53cf765033d5fa098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe49673ea95fc2d2715459070c1c8e77af47b0281560b4663251980daf074b642c3077ff8c8b35609eeadbff35f78299abcb149b556c53e5fcf3c1ef6963090c
|
7
|
+
data.tar.gz: 10fc19079bd5de99f8b21e5ef2b23435a9a2452c99f82c95c98c6c6810947853795fd0250ae6172a0de0bda04d9fe9daefe708dc9f2d1b6974141b23c33f7f8f
|
data/lib/rbbt/util/misc/omics.rb
CHANGED
@@ -372,7 +372,6 @@ module Misc
|
|
372
372
|
def self.genomic_location_cmp_contigs(gpos1, gpos2, contigs, sep = ":")
|
373
373
|
chr1, _sep, pos1 = gpos1.partition(sep)
|
374
374
|
chr2, _sep, pos2 = gpos2.partition(sep)
|
375
|
-
iii [gpos1, gpos2, chr1, chr2]
|
376
375
|
cmp = chr_cmp_contigs(chr1, chr2, contigs)
|
377
376
|
case cmp
|
378
377
|
when 0
|
@@ -21,18 +21,22 @@ Examine the provenance of a job result
|
|
21
21
|
$ rbbt workflow trace <job-result> <file.png>
|
22
22
|
|
23
23
|
-h--help Help
|
24
|
-
-
|
25
|
-
-
|
24
|
+
-w--width* Image Width
|
25
|
+
-h--height* Image Height
|
26
|
+
-s--size* Image Size (Height and Width)
|
26
27
|
EOF
|
27
28
|
|
28
29
|
SOPT.usage if options[:help]
|
29
30
|
|
30
|
-
$inputs = (options[:inputs] || "").split(",")
|
31
|
-
$info_fields = (options[:info_fields] || "").split(",")
|
32
|
-
|
33
31
|
file = ARGV.shift || "/home/mvazque2/.rbbt/var/jobs/Sample/haplotype/NA12878"
|
34
32
|
plot = ARGV.shift || "/tmp/plot.png"
|
35
33
|
|
34
|
+
width, height, size = options.values_at :width, :height, :size
|
35
|
+
|
36
|
+
size = 800 if size.nil?
|
37
|
+
width = size if width.nil?
|
38
|
+
height = size if height.nil?
|
39
|
+
|
36
40
|
$seen = []
|
37
41
|
def get_step(file)
|
38
42
|
file = File.expand_path(file)
|
@@ -138,5 +142,5 @@ data.R <<-EOF, [:svg]
|
|
138
142
|
labs(x=NULL, y=NULL) +
|
139
143
|
theme_gantt() + theme(axis.text.x=element_text(angle=45, hjust=1))
|
140
144
|
|
141
|
-
rbbt.png_plot('#{plot}', 'timeline', width
|
145
|
+
rbbt.png_plot('#{plot}', 'timeline', width=#{width}, height=#{height})
|
142
146
|
EOF
|