Guest User

Untitled

a guest
Jul 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. =head2 get_organism_by_species, set_organism_by_species
  2.  
  3. Usage: my $species = $sample->get_organism_by_species();
  4. $sample->set_organism_by_species($species);
  5.  
  6. Desc: get or set a organism_id in a sample object using species
  7.  
  8. Ret: get=> $species, a scalar.
  9. set=> none
  10.  
  11. Args: get=> none
  12. set=> $species, a scalar
  13.  
  14. Side_Effects: die if the argument supplied is not into the db
  15.  
  16. Example: my $species = $sample->get_organism_by_species();
  17. $sample->set_organism_by_species('Solanum lycopersicum');
  18.  
  19. =cut
  20.  
  21.  
  22. Concise version:
  23. ------------------------------------
  24.  
  25. =head2 (get/set)_organism_by_species
  26.  
  27. my $species = $sample->get_organism_by_species();
  28. $sample->set_organism_by_species('Solanum lycopersicum');
  29.  
  30. Gets/sets a string organism name. Dies if the given organism is not in the db.
  31.  
  32. =cut
Add Comment
Please, Sign In to add comment