Sha256: 799037d81518c23c47853a4a4b1b52ea2343ba8ac1ee5d436e2e40037b0c8960

Contents?: true

Size: 508 Bytes

Versions: 11

Compression:

Stored size: 508 Bytes

Contents

module Bio
	module Pipengine
		class Sample
			# Sample holds all the information on a sample and its original input path (or multiple paths)	
			attr_accessor :path
				def initialize(name,path_string,group)
					@path = path_string.split(",")
					@name = name
					@group = group
				end

				def name=(name)
					@name
				end

				def group=(group)
					@group
				end

				def group
					@group
				end

				def x_name
					"#{@group}/#{@name}"
				end

				def name
					@name
				end
		end
	end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bio-pipengine-0.9.7 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.6 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.5 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.4 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.3 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.2 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.1 lib/bio/pipengine/sample.rb
bio-pipengine-0.9.0 lib/bio/pipengine/sample.rb
bio-pipengine-0.8.2 lib/bio/pipengine/sample.rb
bio-pipengine-0.8.1 lib/bio/pipengine/sample.rb
bio-pipengine-0.8.0 lib/bio/pipengine/sample.rb