Class TabixFeatureReader<T extends Feature,​SOURCE>

    • Constructor Detail

      • TabixFeatureReader

        public TabixFeatureReader​(String featureFile,
                                  AsciiFeatureCodec codec)
                           throws IOException
        Parameters:
        featureFile - - path to a feature file. Can be a local file, http url, or ftp url
        codec -
        Throws:
        IOException
      • TabixFeatureReader

        public TabixFeatureReader​(String featureFile,
                                  String indexFile,
                                  AsciiFeatureCodec codec)
                           throws IOException
        Parameters:
        featureFile - - path to a feature file. Can be a local file, http url, or ftp url
        indexFile - - path to the index file.
        codec -
        Throws:
        IOException
      • TabixFeatureReader

        public TabixFeatureReader​(String featureFile,
                                  String indexFile,
                                  AsciiFeatureCodec codec,
                                  Function<SeekableByteChannel,​SeekableByteChannel> wrapper,
                                  Function<SeekableByteChannel,​SeekableByteChannel> indexWrapper)
                           throws IOException
        Parameters:
        featureFile - path to a feature file. Can be a local file, http url, or ftp url
        indexFile - path to the index file.
        wrapper - a wrapper to apply to the byte stream from the featureResource allowing injecting features like caching and prefetching of the stream, may be null, will only be applied if featureFile is a uri representing a Path
        indexWrapper - a wrapper to apply to the byte stream from the indexResource, may be null, will only be applied if indexFile is a uri representing a Path
        Throws:
        IOException