This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# original text is from http://www.bacterio.net/-classifphyla.html | |
# load hard-coded filename LPSN.txt into a string | |
# create a File object from LPSN.txt | |
file = open("LPSN.txt") or die "LPSN.txt not found." | |
lineArray = Array.new | |
file.each_line {|line| | |
lineArray.push line | |
} | |
file.close() | |
# todo: parse lines your own way if it helps separate genuses. |