MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / getListFromFile

Method getListFromFile

src/rnabloom/util/SeqBitsUtils.java:408–417  ·  view source on GitHub ↗
(String inFasta)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

hasNextMethod · 0.95
nextMethod · 0.95
closeMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected