Interface GenomeAssemblyRemoteRepository

    • Method Detail

      • downloadRemoteAssembly

        java.nio.file.Path downloadRemoteAssembly​(java.lang.String uri,
                                                  RemoteAPI remoteAPI,
                                                  org.springframework.http.MediaType... mediaTypes)
        Download a GenomeAssembly fom the given RemoteAPI
        Parameters:
        uri - URI of the assembly to download
        remoteAPI - the RemoteAPI for the request
        mediaTypes - the MediaType to use for the request
        Returns:
        a Path to the downloaded file
      • downloadRemoteAssembly

        java.nio.file.Path downloadRemoteAssembly​(java.lang.String uri,
                                                  RemoteAPI remoteAPI)
        Download a GenomeAssembly fom the given RemoteAPI with a default MediaType
        Parameters:
        uri - URI of the assembly to download
        remoteAPI - the RemoteAPI for the request
        Returns:
        a Path to the downloaded file