Interface SequenceFileUtilities
-
- All Known Implementing Classes:
BioJavaSequenceFileUtilitiesImpl
public interface SequenceFileUtilities
Utility class for executing common functions on sequence files
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Long
countSequenceFileLengthInBases(java.nio.file.Path file)
Calculate the length of a sequence file in bases
-
-
-
Method Detail
-
countSequenceFileLengthInBases
java.lang.Long countSequenceFileLengthInBases(java.nio.file.Path file) throws UnsupportedReferenceFileContentError
Calculate the length of a sequence file in bases- Parameters:
file
- The reference file object to calculate- Returns:
- The number of bases in the file
- Throws:
UnsupportedReferenceFileContentError
- When the file content is *not* DNA (ambiguous IUPAC bases, protein, etc.)
-
-