Giter Club home page Giter Club logo

aspera-client-docker's Introduction

Download IDR data using a containerized aspera client.

Usage

Download.

docker run -ti --rm \
-v $(pwd):/home/aspera \
aspera-client-docker \
DATASET DATASET_FILE_PATH .

Edit out DATASET and DATASET_FILEPATH (more on that below). FYI it will download to your current directory.

Setup

Build.

docker build -t aspera-client-docker .

Usage Example

Below demonstrates how to do a partial download of the idr0040 dataset.

Find your dataset.

https://idr.openmicroscopy.org/webclient

Get the file path.

On the General tab on right pane, select the file path icon with the tooltip "Show file path on server". You'll have to select the dir or file for the pane to show up, as of the current state of the website. The path it gives is uod/idr/filesets/idr0040-aymoz-singlecell/20180215/3105/Pos0/.

In this case, dataset is idr0040 and the filepath is 20180215/3105/Pos0/

Download

docker run -ti --rm \
-v $(pwd):/home/aspera \
aspera-client-docker \
idr0040 20180215/3105/Pos0/ .

According to the website (https://github.com/IDR/idr-metadata), you can get the filepaths from the tsv files. However, for idr0010, the filepaths aren't shown in the tsv. Therefore, try the above workflow

Another example

Here we do a partial download of idr0010, the 1-23 series. Use the above example as a guide and see how the command applies below.

docker run -ti --rm \
-v $(pwd):/home/aspera \
aspera-client-docker \
idr0010 20150501-original/Restored\ GW\ screen/1-23 .

Changes to fork

https://github.com/IDR/aspera-client-docker

Dockerfile works of /home/aspera instead of /tmp. Otherwise, you can't mount /tmp to your host dir.

aspera-client-docker's People

Contributors

7db9a avatar gwaybio avatar joshmoore avatar manics avatar sbesson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.