Class: Bio::Pipengine::Sample

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/pipengine/sample.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, path_string) ⇒ Sample

Returns a new instance of Sample.



6
7
8
9
# File 'lib/bio/pipengine/sample.rb', line 6

def initialize(name,path_string)
  @path = path_string.split(",")
  @name = name 
end

Instance Attribute Details

#nameObject

Sample holds all the information on a sample and its original input path (or multiple paths)



5
6
7
# File 'lib/bio/pipengine/sample.rb', line 5

def name
  @name
end

#pathObject

Sample holds all the information on a sample and its original input path (or multiple paths)



5
6
7
# File 'lib/bio/pipengine/sample.rb', line 5

def path
  @path
end