bio-pipengine 0.9.4 → 0.9.5

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/pipengine +0 -8
  4. data/lib/bio/pipengine.rb +0 -47
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa7bc3b6bb8a47fe8a210589319e47a6aec53c2d
4
- data.tar.gz: e516a1204f81dd37258b08afa88005bde4e4f2ed
3
+ metadata.gz: af8b7ab427969d23d8159ed48e839010d315dd48
4
+ data.tar.gz: 9e76389b3af2b879ed94961edbf412f533ae3ec4
5
5
  SHA512:
6
- metadata.gz: bf5549e208b344164287c3e30b7a9daedf3588c462af5614f95143a09a5059c40b79e2a94e6cb17fd63ad17ab1eb99ae2d133110f019c3f9ca456b0dee400c9d
7
- data.tar.gz: 1139a43b09f25463963e6b482d9af7c4d6214fb750d2ac6682a5d65cffca37e8e8c134a4cedd9c323c3fd36d26edc222098220170cbf9871737acde593083cef
6
+ metadata.gz: 0ea2625d5c2202ae5d429fca335855df4bac6f72a75aa9cb58d6f0362ae265723393fb7db240307336812dc0522685ddd04b0968bb215f5891c230e6d5aa7f7d
7
+ data.tar.gz: 3909e58ad508dda156bda8bb021950db31c06b9228a9fb70b5ac9f44ed365ee5557c891355f17bd674734f1a9ed0ebcf802b23d0ea1a44b367a7e2f8fe3df272
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.4
1
+ 0.9.5
data/bin/pipengine CHANGED
@@ -36,14 +36,6 @@ when "run"
36
36
  opt :log_adapter, "(stdin|syslog|fluentd) In case of fluentd use http://destination.hostname:port/yourtag", :type => :string
37
37
  opt :tag, "Overwrite tags present in samples.yml and pipeline.yml files (e.g. tag1=value1 tag2=value2)", :type => :strings
38
38
  end
39
- #when "jobs"
40
- # ARGV.shift
41
- # options[:jobs] = true
42
- # Trollop::options do
43
- # opt :job_id, "Search submitted jobs by Job ID", :type => :strings, :short => "i"
44
- # opt :job_name, "Search submitted jobs by Job Name", :type => :strings, :short => "n"
45
- # opt :delete, "Delete submitted jobs ('all' to erase everything or type one or more job IDs)", :short => "d", :type => :strings
46
- # end
47
39
  when "-h"
48
40
  puts banner_text
49
41
  puts "List of available commands:\n\trun\tSubmit pipelines to the job scheduler\n"
data/lib/bio/pipengine.rb CHANGED
@@ -203,53 +203,6 @@ module Bio
203
203
  end
204
204
  end
205
205
 
206
- # # show running jobs information
207
- # def self.show_stats(job_ids)
208
- # stats = TORQUE::Qstat.new
209
- # if job_ids.first == "all"
210
- # stats.display
211
- # else
212
- # stats.display(:job_ids => job_ids)
213
- # end
214
- # end
215
- #
216
- # # delete running jobs from the scheduler
217
- # def self.delete_jobs(job_ids)
218
- # include TORQUE
219
- # if job_ids == ["all"]
220
- # Qdel.rm_all
221
- # else
222
- # job_ids.each {|job_id| Qdel.rm job_id}
223
- # end
224
- # end #delete_jobs
225
-
226
- # check if required configuration exists
227
- # def self.check_config
228
- # unless File.exists?("#{Dir.home}/.torque_rm.yaml")
229
- # ARGV.clear
230
- # current_user = Etc.getlogin
231
- # puts "\nIt seems you are running PipEngine for the first time. Please fill in the following information:"
232
- # print "\nHostname or IP address of authorized server from where jobs will be submitted: ".light_blue
233
- # server = gets.chomp
234
- # print "\n"
235
- # print "Specify the username you will be using to connect and submit jobs [#{current_user}]: ".light_blue
236
- # username = gets.chomp
237
- # username = (username == "") ? current_user : username
238
- # puts "Attempting connection to the server...".green
239
- # path = `ssh #{username}@#{server} -t "which qsub"`.split("/qsub").first
240
- # unless path=~/\/\S+\/\S+/
241
- # warn "Connection problems detected! Please check that you are able to connect to '#{server}' as '#{username}' via ssh.".red
242
- # else
243
- # file = File.open("#{Dir.home}/.torque_rm.yaml","w")
244
- # file.write({:hostname => server, :path => path, :user => username}.to_yaml)
245
- # file.close
246
- # puts "First time configuration completed!".green
247
- # puts "It is strongly recommended to setup a password-less SSH connection to use PipEngine.".green
248
- # exit
249
- # end
250
- # end
251
- # end #check_config
252
-
253
206
  def self.add_job(job, pipeline, step_name, sample)
254
207
  step = Bio::Pipengine::Step.new(step_name,pipeline["steps"][step_name]) # parsing step instructions
255
208
  self.add_job(job, pipeline, step.pre, sample) if step.has_prerequisite?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-pipengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Strozzi