rbbt-util 5.25.47 → 5.25.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07dd5ab637d8ab626487a17775efe56830ba49d3
4
- data.tar.gz: 83b9ca45962531d0a320c31fe6624b2dceb939fe
3
+ metadata.gz: 46222cc21bab86e8e9d9783431a1607aeb2b3a8d
4
+ data.tar.gz: c9912dfa07e5bef78b599ef53cf765033d5fa098
5
5
  SHA512:
6
- metadata.gz: e92de8699285124584a83188e1475dd957e5bf6e20b568aebb2c7c06104e763ec2063275e09c8273778e2d5f111c8793f0fc242a0a64ff14797714a0b106a23e
7
- data.tar.gz: c0dd02ec8593f146a2b06a9bfd66360e2e30769e45f5dd8445865fc981672d97243699076b74abbece10197a1eaf2923a1c3a741392945278a81d0a9f4be5141
6
+ metadata.gz: fe49673ea95fc2d2715459070c1c8e77af47b0281560b4663251980daf074b642c3077ff8c8b35609eeadbff35f78299abcb149b556c53e5fcf3c1ef6963090c
7
+ data.tar.gz: 10fc19079bd5de99f8b21e5ef2b23435a9a2452c99f82c95c98c6c6810947853795fd0250ae6172a0de0bda04d9fe9daefe708dc9f2d1b6974141b23c33f7f8f
@@ -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
- -i--inputs* List of inputs to print
25
- -if--info_fields* List of info fields to print
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=2000)
145
+ rbbt.png_plot('#{plot}', 'timeline', width=#{width}, height=#{height})
142
146
  EOF
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.25.47
4
+ version: 5.25.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez