lib/bio/pipengine/job.rb
# this sub method handle different multi-samples definitions (like comma separated list, space separated etc.)
this sub method handle different multi-samples definitions (like comma separated list, space separated etc.)
this sub method handle different multi - samples definitions ( like comma separated list space separated etc . )
def generate_multi_cmd(multi_def,multi_samples)
				multi_cmd = []	
				multi_samples.each do |sample_name|
					if sample_name.include? ","
						multi_cmd << split_and_sub(",",multi_def,sample_name)
					elsif sample_name.include? ";"
						multi_cmd << split_and_sub(";",multi_def,sample_name)
					else
						multi_cmd << sub_placeholders(multi_def,self.samples_obj[sample_name])
					end
				end
				return multi_cmd.join("\s")
			end
def generate_multi_cmd ( multi_def , multi_samples ) multi_cmd = [ ] multi_samples . each do | sample_name | if sample_name . include? "," multi_cmd << split_and_sub ( "," , multi_def , sample_name ) elsif sample_name . include? ";" multi_cmd << split_and_sub ( ";" , multi_def , sample_name ) else multi_cmd << sub_placeholders ( multi_def , self . samples_obj [ sample_name ] ) end end return multi_cmd . join ( "\s" ) end
this sub method handle different multi-samples definitions (like comma separated list, space separated etc.)
this sub method handle different multi - samples definitions ( like comma separated list space separated etc . )
multi_def
<not_specific>
multi_samples
<not_specific>