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

Method checkInputFileFormat

src/rnabloom/RNABloom.java:346–350  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

344 }
345
346 public static void checkInputFileFormat(String path) throws FileFormatException {
347 if (!FastaReader.isCorrectFormat(path) && !FastqReader.isCorrectFormat(path)) {
348 throw new FileFormatException("Unsupported file format detected in input file `" + path + "`. Only FASTA and FASTQ formats are supported.");
349 }
350 }
351
352 public static void checkInputFileFormat(Iterable<String> paths) throws FileFormatException {
353 for (String p : paths) {

Callers 1

mainMethod · 0.95

Calls 2

isCorrectFormatMethod · 0.95
isCorrectFormatMethod · 0.95

Tested by

no test coverage detected