Interface SequenceFileRemoteRepository

    • Method Detail

      • downloadRemoteSequenceFile

        java.nio.file.Path downloadRemoteSequenceFile​(java.lang.String uri,
                                                      RemoteAPI api)
        Get a local copy of a SequenceFile with a default MediaType of application/fastq
        Parameters:
        uri - The URI to get sequence data for
        api - The RemoteAPI this file resides on
        Returns:
        A temporary Path to the sequence file data
      • downloadRemoteSequenceFile

        java.nio.file.Path downloadRemoteSequenceFile​(java.lang.String uri,
                                                      RemoteAPI api,
                                                      org.springframework.http.MediaType... mediaTypes)
        Get a local copy of a SequenceFile
        Parameters:
        uri - the URI of the file to download
        api - The RemoteAPI this file resides on
        mediaTypes - The media types to request from the remote API
        Returns:
        A temporary Path to the sequence file data