(String inFasta)
| 406 | } |
| 407 | |
| 408 | public static ArrayList<BitSequence> getListFromFile(String inFasta) throws IOException { |
| 409 | ArrayList<BitSequence> bitSeqs = new ArrayList<>(); |
| 410 | FastaReader reader = new FastaReader(inFasta); |
| 411 | while (reader.hasNext()) { |
| 412 | bitSeqs.add(new BitSequence(reader.next())); |
| 413 | } |
| 414 | reader.close(); |
| 415 | |
| 416 | return bitSeqs; |
| 417 | } |
| 418 | |
| 419 | public static void main(String[] args) { |
| 420 | //debug |